Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Intro to Python
Quiz 9: Files and Exceptions
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
Multiple Choice
When a Python program begins execution, it creates three xe "file object:standard"xe "standard file objects"standard file objects:
∙
\bullet
∙
sys.stdin-the standard input file object,
∙
\bullet
∙
sys.stdout-the standard output file object, and
∙
\bullet
∙
sys.stderr-the standard error file object. You must import the sys module if you need to refer to these objects explicitly in your code, but this is rare. Which of the following statements is false?
Question 2
Multiple Choice
Which of the following statements are false?
Question 3
Multiple Choice
Which of the following statements is false?
Question 4
Multiple Choice
The json module's ________ function reads the entire JSON contents of its file object argument and converts the JSON into a Python object. This is known as ________ the data.
Question 5
Multiple Choice
Which of the following statements a) , b) or c) is false?
Question 6
Multiple Choice
Which of the following statements a) , b) or c) is false?
Question 7
Multiple Choice
Which of the following statements a) , b) or c) is false?
Question 8
Multiple Choice
Which of the following statements a) , b) or c) is false?
Question 9
Multiple Choice
The json module enables you to convert objects to xe "JSON (JavaScript Object Notation) "JSON (JavaScript Object Notation) text format. This is known as ________ the data.
Question 10
Multiple Choice
Which of the following statements are false?
Question 11
Multiple Choice
Which of the following statements is false?
Question 12
Multiple Choice
Which of the following statements is false?
Question 13
Multiple Choice
Which of the following statements a) , b) or c) is false?
Question 14
Multiple Choice
Which of the following statements a) , b) or c) is false?
Question 15
Multiple Choice
Which of the following statements are false?
Question 16
Multiple Choice
If the contents of a file should not be modified, open the file for ________-another example of the xe "principle of least privilege"principle of least privilege. This prevents the program from accidentally modifying the file.