IS 240 TEST 2 | QUESTIONS & ANSWERS (VERIFIED) | LATEST UPDATE | GRADED A+
IS 240 TEST 2 | QUESTIONS & ANSWERS (VERIFIED) | LATEST UPDATE | GRADED A+ Python has an object called _________ that is used to denote a lack of value. Correct Answer: none Elements of a set have no order. Correct Answer: true If a file that already exists is opened for writing, the contents of the file will be erased. Correct Answer: true A variable that can be recognized everywhere in the program is called a _________ variable. Correct Answer: global Python uses a(n) __________ as a temporary holding place for data to be written to disk. Correct Answer: buffer Page 2 of 8 When a global statement appears inside a function block, it only affects statements following it inside its function block. Correct Answer: true In a function definition, the parameters without default values must not precede the parameters without default values. Correct Answer: false In SQL, the select statement: Correct Answer: extracts data from the database To gain access to the functions and variables of a library module, use a(n) _________ statement. Correct Answer: import An attempt to open a nonexistent file for input: Correct Answer: generates a runtime error When using list comprehension, you must always use the assigned variable 'x'. Correct Answer: false Page 3 of 8 In a function definition, the parameters without default values must _________ the parameters with default values. Correct Answer: precede Dictionary comprehension can be used to extract a subset of a dictionar
Written for
- Institution
- IS 240
- Course
- IS 240
Document information
- Uploaded on
- March 11, 2024
- Number of pages
- 8
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
is 240 test 2 questions answers verified