CS Python Fundamentals Test 9 PRACTICE

CS Python Fundamentals Test 9 PRACTICE

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Excel

Excel

10th - 12th Grade

15 Qs

computer 10 Quiz 1

computer 10 Quiz 1

10th Grade

20 Qs

Formatting Tables Quiz

Formatting Tables Quiz

5th - 12th Grade

15 Qs

MS Excel

MS Excel

9th Grade

18 Qs

Excel Basics

Excel Basics

6th - 10th Grade

24 Qs

Microsoft Excel 2013 Survey (Basic)

Microsoft Excel 2013 Survey (Basic)

9th Grade - University

20 Qs

Excel Module 7

Excel Module 7

9th - 12th Grade

17 Qs

Python 2D Lists Quiz

Python 2D Lists Quiz

10th Grade

18 Qs

CS Python Fundamentals Test 9 PRACTICE

CS Python Fundamentals Test 9 PRACTICE

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Scott Chamberlain

Used 5+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When referring to two-dimensional lists, the phrase row-major means

more rows than columns

row first, then column

many rows, only one column

the rows are sorted, the columns are not

2.

HOTSPOT QUESTION

45 sec • 1 pt

Click on the location [1][3] within the 2-D array shown here.

3.

HOTSPOT QUESTION

45 sec • 1 pt

Click on the location [2][2] within the 2-D array shown here.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Based on your understanding of a row-major list in Python, how would a language process a column-major list?

The list would be limited to one row

The first index would be the column; the second index the row

The element at [0][0] would refer to the last value in the list

The row indexes decrease as the column indexes increase

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statements about lists is false?

An element is the data stored in a specific location

An index is a pointer to a specific location

List row and column numbers begin with 0

The first index in a 2-D list gives the column number

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which line of code correctly declares and initializes a 2-D list in Python?

prime = [2,3], [5,7]

prime = [2,3] + [5,7]

prime = [2,3][5,7]

prime = [[2,3], [5,7]]

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Given the code shown here, what are the dimensions of the list? (rows by columns)

4x3

3x2

2x3

3x4

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?