Font size
WorksheetsDomain 1 Multiple Choice Extra Practice
Total questions: 25
Worksheet time: 14mins
Containment is important when one needs to know if an answer is in an acceptable (a) of answers.
list
tuple
set
dictionary
Python and other languages use a double (a) sign as a comparison.
equal
plus
minus
and
A(n) (a) is a value attached to a variable, usually with an equal sign.
assignment
plus
minus
and
Rather than count the ending point, one can add the number needed to the (a) number in the slice.
first
last
middle
next
The (a) operator determines whether a value is in a list. A. containment B. logical C. arithmetic D. comparison
containment
logical
arithmetic
comparison
The start and end characters in a slice are separated with a(n) (a) .
colon
comma
semicolon
dash
The percent symbol is the (a) operator, showing the remainder after division.
modulus
division
floor
integer
A common mnemonic to remember the (a) of operations is Please Excuse My Dear Aunt Sally.
Division
Data structures are lists stored inside of (a) .
functions
modules
Q13. Anything placed inside (a) in a calculation is calculated first.
parentheses
quotes
brackets
commas
Python returns (a) when dividing an integer and a float.
float
decimal
int
string
A(n) (a) is a container that stores values like strings or numbers.
variable
list
method
function
A(n) (a) is a set of multiple values assigned to one variable.
list
tuple
set
string
The (a) method adds an item to the end of a list.
append
add
insert
push
The identity operator 'is' checks if two variables occupy the same (a) space.
memory
logical
variable
comparison
The (a) operator checks if two variables share the same memory location. A. identity B. comparison
identity
comparison
Operators help perform calculations and check conditions within blocks of (a) .
code
data
logic
loops
A(n) (a) is a function tied to an object that can access or modify it.
method
loop
class
operator
The (a) function converts a value to a string.
str
stringify
convert
to_string
The (a) operator compares two values. A. comparison B. assignment C. logic
comparison
assignment
logic
Logical operators include and, (a) , and not.
or
if
then
also
Match the vocabulary with the BEST example!
[1, 2, 3, 4, 5]
List
(1, 2, 3, 4, 5)
Tuple
{1, 2, 3, 4, 5}
Set
{'1':'2', '3':'4'}
Dictionary
'[1, 2, 3, 4, 5]'
String
What data type is this?
quiz = {"Do you help out at home? ":"yes",
"Do you beleive in Santa? ":"yes"}
list
string
dictionart
dictionary
Which data structure does this describe?
Ordered, changeable, duplicates allowed [ ]
List
Tuple
Set
Dictionary
Which data structure does this describe?
Ordered, unchangeable, duplicates allowed ( )
List
Tuple
Set
Dictionary
