Unit 9 2D Lists Practice

Unit 9 2D Lists Practice

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

ULANGAN HARIAN Semester 2

ULANGAN HARIAN Semester 2

10th Grade

12 Qs

Operating System

Operating System

12th Grade

17 Qs

1.8 Open Source & Closed Source TRUE or FALSE

1.8 Open Source & Closed Source TRUE or FALSE

10th Grade

10 Qs

Ulangan harian 1 Algoritma dan Pemrograman

Ulangan harian 1 Algoritma dan Pemrograman

12th Grade - University

13 Qs

QBASIC Programming

QBASIC Programming

5th - 10th Grade

10 Qs

EMPTECH L4 Q3

EMPTECH L4 Q3

12th Grade

10 Qs

9G4 CS Python Programming Sequence and Vocabs

9G4 CS Python Programming Sequence and Vocabs

9th Grade

13 Qs

INTRO TO CSS QUIZ

INTRO TO CSS QUIZ

9th Grade

15 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?