No student devices needed. Know more
21 questions
_________________ is a collection of elements used to store the same type of data.
Array
Switch
Case
Loop
What is a variable?
A memory location (box) where you store one value at a time.
A series of memory locations that store multiple values at once
Data type
A type of memory
What type of array is the code above?
1 dimensional
2 dimensional
3 dimensional
4 dimensional
What type of array is the code above?
1 dimensional
2 dimensional
3 dimensional
4 dimensional
What would the program print if the code below was used?
print (edwardScores[1])
What value is at index position 0 in this array?
What value would be printed to the screen if this code was used...
print (mats[1][1])
What value would be printed to the screen if this code was used...
print (mats[1][0])
701
Brick
Wood
754
What code would display the value "Metal"?
print (mats[1][0])
print (Mats[1][0])
print (mats[2][0])
print (mat[2][0])
What code would display the value "Wood"?
Don't leave any spaces in your code!
What is the name of this array?
Wood
Brick
Metal
mats
What data type is "Wood"?
Integer
String
Boolean
Float
What will this code display?
print (mats[0][2])
error
Metal
Wood
Brick
What would the program print if the code below was used?
print (edwardScores[0])
edwardScores
EdwardScores
34
64
What would the program print if the code below was used?
print (scores[1])
Edward,34,63
Bella,45,53
Edward, Bella, Jacob
34,45,56
What would the program print if the code below was used?
print (scores[1][2])
What would the program print if the code below was used?
print (scores[1][0])
34
Bella
Edward
45
What would the program print if the code below was used?
print (scores[1][2])
56
64
Jacob
53
What code is used to print 'Bella, 45, 53'?
print (scores[1][2])
print (scores[1])
print (scores[0])
print (scores[0][1][2])
Explore all questions with a free account