nerdexam
Python_Institute

PCAP-31-03 · Question #50

PCAP-31-03 Question #50: Real Exam Question with Answer & Explanation

Sign in or unlock PCAP-31-03 to reveal the answer and full explanation for question #50. The question stem and answer options stay visible for context.

Question

Which of the following statement are true? (Select two answers)

Options

  • Aclosing an open file is performed by the closefile ( ) function
  • Bthe second open ( ) argument describes the open mode and defaults to `w'
  • Cif open ( ) s second argument is r' the file must exist or open will fail
  • Dif open ( )'s second argument is `w' and the invocation succeeds, the previous file's content is lost

Unlock PCAP-31-03 to see the answer

You've previewed enough free PCAP-31-03 questions. Unlock PCAP-31-03 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full PCAP-31-03 Practice