A) The file was opened using a mode string other than 'a'.
B) The file is truncated by default with the write() method.
C) The file is erased when the script uses the close() method.
D) The file must be opened using a mode string of 'rw'.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) 1
B) 2
C) 8
D) 16
Correct Answer
verified
Multiple Choice
A) getline
B) readline
C) fetch
D) read
Correct Answer
verified
Multiple Choice
A) os.stat
B) io.file
C) os.path
D) file.ops
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) Alpha cipher
B) Caesar cipher
C) Jumble cipher
D) Alternate cipher
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) A mathematical structure known as an invertible matrix.
B) A random noise sampling from the computer's hardware.
C) A pseudorandom number generator defined by the encrypting language.
D) A hardware encryption chip designed to perform obfuscation.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) The file will be opened for random access.
B) The file will be opened for read access.
C) The file will be opened for write access.
D) The file will be opened in binary mode.
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) The root directory of the file system.
B) The current working directory.
C) The same folder as the Python executable file.
D) The user's home folder.
Correct Answer
verified
Multiple Choice
A) The base-9 numbering system.
B) The base-10 numbering system.
C) The Octal numbering system.
D) The hexadecimal numbering system.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) filename[-3:]
B) filename[-3]
C) filename[:-3]
D) filename[$-3]
Correct Answer
verified
Showing 1 - 20 of 50
Related Exams