CS1 Unit 9 Review

CS1 Unit 9 Review

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Databases

Databases

7th - 10th Grade

14 Qs

Java 2 Quiz 9

Java 2 Quiz 9

10th - 12th Grade

20 Qs

Python Lists

Python Lists

11th Grade

20 Qs

10.4 Python Lists

10.4 Python Lists

7th - 10th Grade

14 Qs

CS Python Fundamentals Test 9 PRACTICE

CS Python Fundamentals Test 9 PRACTICE

9th - 12th Grade

20 Qs

Grade 9 Checkpoint 1 Revision

Grade 9 Checkpoint 1 Revision

9th Grade

15 Qs

CP M9 Assessment Review

CP M9 Assessment Review

9th - 12th Grade

12 Qs

For Loops (Java)

For Loops (Java)

9th - 12th Grade

14 Qs

CS1 Unit 9 Review

CS1 Unit 9 Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Sarah Chapa

Used 3+ times

FREE Resource

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 BLANK QUESTION

30 sec • 1 pt

Media Image

What is the element at [2][3]?

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

What is the element at [2][2]?

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

Media Image

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

Media Image

Consider the following code:

What is output by the code?

47

33

42

12

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?