
CS1 Unit 9 Review
Authored by Sarah Chapa
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In row-major two-dimensional lists, when accessing an element, the __________ is always listed first.
dimension
row
length
column
2.
FILL IN THE BLANKS QUESTION
30 sec • 1 pt
What is the element at [2][3]?
(a)
3.
FILL IN THE BLANKS QUESTION
30 sec • 1 pt
What is the element at [2][2]?
(a)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about lists?
Elements refer to the locations of a piece of data in the list
Lists can only be one-dimensional
Indexes refer to the locations of a piece of data in the list
The first number when accessing a two-dimensional list gives the column number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following lines of code correctly create a two-dimensional list?
stuff = [3, 4, 5], [6, 3, 1]
stuff = [3, 4, 5] + [6, 3, 1]
stuff = [3, 4, 5][6, 3, 1]
stuff = [[3, 4, 5],[6, 3, 1]]
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Consider the following code:
What are the dimensions of the grid (row x column)?
2 x 3
3 x 2
2 x 1
1 x 3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code:
What is output by the code?
47
33
42
12
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?