COSC 1436 Test 2 Review EXAM Questions &
Answers | 100% Verified solutions | Latest!!
Save
Practice questions for this set
Learn 1 /7 Study with Learn
The variable data refers to the list [5, 3, 7]. what would be the value of the
following expression? 0 in data
Choose an answer
1 True 2 False
Don't know?
Terms in this set (92)
, If you need to know all of listdir(path)
the names of the files in a
specific directory for
which you know the path
you could use the
function?
The variable data refers to data[5:9]
the string
"myprogram.exe". Which
expression will have the
value of "gram"?
A ________ uses a plaintext block cypher
character to compute two
or more encrypted
characters and each
encrypted character is
computed using two or
more plaintext characters.
Which file method is used read
to read the entire file in a
single operation?
The binary number 1100110 146
converted to Octal is?
The binary number 1111011 7B
converted to hexadecimal
is?
Where 's' is a string the s.isalpha()
expression needed to
return a True if 's' contains
only letters or False
otherwise, would be?
Answers | 100% Verified solutions | Latest!!
Save
Practice questions for this set
Learn 1 /7 Study with Learn
The variable data refers to the list [5, 3, 7]. what would be the value of the
following expression? 0 in data
Choose an answer
1 True 2 False
Don't know?
Terms in this set (92)
, If you need to know all of listdir(path)
the names of the files in a
specific directory for
which you know the path
you could use the
function?
The variable data refers to data[5:9]
the string
"myprogram.exe". Which
expression will have the
value of "gram"?
A ________ uses a plaintext block cypher
character to compute two
or more encrypted
characters and each
encrypted character is
computed using two or
more plaintext characters.
Which file method is used read
to read the entire file in a
single operation?
The binary number 1100110 146
converted to Octal is?
The binary number 1111011 7B
converted to hexadecimal
is?
Where 's' is a string the s.isalpha()
expression needed to
return a True if 's' contains
only letters or False
otherwise, would be?