Python Institute Certified Associate in Python Programming PCAP-31-03 Question # 12 Topic 2 Discussion

Python Institute Certified Associate in Python Programming PCAP-31-03 Question # 12 Topic 2 Discussion

PCAP-31-03 Exam Topic 2 Question 12 Discussion:
Question #: 12
Topic #: 2

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


A.

closing an open file is performed by the closefile ( ) function


B.

the second open ( ) argument describes the open mode and defaults to ‘w’


C.

if open ( ) ‘s second argument is ‘r’ the file must exist or open will fail


D.

if open ( )’s second argument is ‘w’ and the invocation succeeds, the previous file’s content is lost


Get Premium PCAP-31-03 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.