A) Always, because the comparison for equality is not compatible with classes.
B) Whenever a comparison for equality uses criterion other than object identity.
C) Only when you need to be able to make a comparison based on object identity.
D) Only if you plan to export the class as part of a module.
Correct Answer
verified
Multiple Choice
A) Programming utilizing cooperative subprograms to solve problems.
B) Programming using input and output statements, assignment statements, and control statements for selection and iteration.
C) Programming such that classes can be defined for objects and reused to define similar objects.
D) Programming using a set of cooperating functions rather than relying on assignment.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) Programming utilizing cooperative subprograms to solve problems.
B) Programming using input and output statements, assignment statements, and control statements for selection and iteration.
C) Programming such that classes can be defined for objects and reused to define similar objects.
D) Programming using a set of cooperating functions rather than relying on assignment.
Correct Answer
verified
Multiple Choice
A) state variables
B) substance variables
C) instance variables
D) self variables
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) It preserves objects by storing them in memory.
B) It preserves objects by storing them to a file.
C) It preserves objects by creating a sqlite database.
D) It preserves objects by adding them to the calling Python script file.
Correct Answer
verified
Multiple Choice
A) __start__
B) __build__
C) __main__
D) __init__
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) r
B) rb
C) w
D) wb
Correct Answer
verified
Multiple Choice
A) When its timeout value has expired.
B) When it has been terminated by the destroy method.
C) When it has passed the last statement that uses it.
D) When it can no longer be referred to by the program that created it.
Correct Answer
verified
Multiple Choice
A) dominator
B) denominator
C) numerator
D) terminator
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) IOError
B) EOFError
C) DataError
D) FileError
Correct Answer
verified
Multiple Choice
A) Programming such that classes can be defined for objects and reused to define similar objects.
B) Programming that involves the use of input and output statements, assignment statements, and control statements for selection and iteration.
C) Programming that uses cooperating subprograms to solve problems.
D) Programming that views a program as a set of cooperating functions.
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Showing 21 - 40 of 50
Related Exams