Unit 9 2D Lists Practice

Unit 9 2D Lists Practice

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Traffic Light Project Quiz

Traffic Light Project Quiz

9th Grade

17 Qs

GCSE AQA 04 Computer Systems - Languages & Translators

GCSE AQA 04 Computer Systems - Languages & Translators

10th - 11th Grade

12 Qs

Quiz Sistem Pembayaran

Quiz Sistem Pembayaran

1st Grade - University

15 Qs

Задачи

Задачи

11th Grade

10 Qs

Networking Quiz

Networking Quiz

8th - 9th Grade

15 Qs

Arduino

Arduino

7th - 9th Grade

15 Qs

HTML

HTML

8th - 12th Grade

15 Qs

4Q Week3 Review Quiz (Who missed the Quiz ONLY))

4Q Week3 Review Quiz (Who missed the Quiz ONLY))

9th Grade

10 Qs

Unit 9 2D Lists Practice

Unit 9 2D Lists Practice

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Bonnie Keating

Used 10+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Row-major order is when the row is listed first and then the column. Column-major order means the column is listed first and then the row. Which is more commonly used?

row-major order

column-major order

neither. they both sound dumb.

col-major order because column-major order is too much to type

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following 2D list called "a":

3 4 5

8 9 1

2 7 6

Which element is referenced by a[1][2]?

9

4

1

8

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to add 4 lists of [1, 2, 3] as elements to the list called "a":

for i in range(4):

a.______([1, 2, 3])

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider this code. What are the dimensions of the 2D list called "grid" (row x column)?

4 X 20

5 x 5

5 X 4

4 x 5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider this code. What is printed?

48

82

15

24

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

After running this code, how many rows are in "list"?

2

3

4

1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If I wanted to add 100 to every element of a 2D list of integers, I would use 2 nested traditional for loops

true

false

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?