MCQ Buddy
Search here...
Home MCQ Feed Add Question Programming Portal English Portal Login
  1. Home
  2. Engineering
  3. Problem Solving and Python Programming
  4. Question

M

Mr. Dubey • 53.46K Points
Coach

Q. To open a file c:\scores.txt for appending data, we use                          

(A) outfile = open(“c:\\scores.txt”, “a”)
(B) outfile = open(“c:\\scores.txt”, “rw”)
(C) outfile = open(file = “c:\\scores.txt”, “w”)
(D) outfile = open(file = “c:\\scores.txt”, “w”)
  • Correct Answer - Option(A)
  • Views: 682
  • Filed under category Problem Solving and Python Programming
Share

Explanation by: Mr. Dubey
 a is used to indicate that data is to be appended.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Loading Comments....

Related MCQs

Q. The code that changes the value of the semaphore is

Q. In which application system Distributed systems can run well?

Q. Which of the following is not a DCL statement?

Q. Which of the one is true about Heteroskedasticity?

Q. If n is an integer and x is an irrational real number, then nx is irrational.

Q. Calculate future value on the principal amount of Rs. 2000 at the interest rate of 6% for the period of 5 years using simple interest

Q. Behavioral testing is

Q. The smallest entity of memory is called

Q. Convert the decimal number 45678 to its hexadecimal equivalent number.

Q. If the two numbers include a sign bit in the highest order position, the bit conditions of interest are the sign of the result, a zero indication and


Question analytics

Share

Embed

WhatsApp

Facebook

Telegram

Share in MCQ Buddy Groups

Share
Embed
Important Links
  • Browse All Categories
  • Subjects
  • Exams
  • Mock Test
  • Advance Search
  • Quiz
  • Duo Test
  • English Topics
Explore More Portals
  • Hindi
  • State wise Portals
  • MCQ Buddy Lab
  • Engineering
  • Programming Portal
  • MB Shorts
  • NCERT Portal
  • Faculties Portal
  • Groups
  • Q & A
  • Spaces
  • Satya Sanatan
  • Keycrypt
Who we are?

We are nothing if we are alone. But we have a huge community of students who are helping you getting good study stuff free.

More Links
  • Download App
  • Advertise with us
  • Contact us
  • Youtube
  • Terms & Conditions
  • Refund Policy
  • Privacy Policy

Since 2020 - 2025 | Proudly Made with ♥ in India

Hosted on Hostinger