Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Python Institute Exam PCAP-31-03 Topic 4 Question 62 Discussion

Actual exam question for Python Institute's PCAP-31-03 exam
Question #: 62
Topic #: 4
[All PCAP-31-03 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Alex
3 days ago
I thought the open() function had more than two arguments? This question seems a bit too simple.
upvoted 0 times
...
My
10 days ago
B and D are correct. Closing a file is done with the close() function, not closefile().
upvoted 0 times
...
Eleonora
16 days ago
I'm not sure about C, though. It seems like if the file doesn't exist, open ( ) with 'r' mode should still work.
upvoted 0 times
...
Jennifer
18 days ago
I agree with you, Tricia. A and D make sense because closefile ( ) function is used to close an open file and when opening a file with 'w' mode, the previous content is lost.
upvoted 0 times
...
Tricia
22 days ago
I think A and D are true.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77