Search Header Logo

CS Python Fundamentals Quiz 9 PRACTICE

Authored by Scott Chamberlain

Computers

7th Grade

Used 4+ times

CS Python Fundamentals Quiz 9 PRACTICE
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Python uses the term list to refer to a data structure that can hold multiple values of the same type. In many other programming languages, a list is known as a(an) ________.

loop

class

array

boolean

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which statement accurately describes the structure of a 2-D list?

column first, then row

row first, then column

index first, then element

element first, then index

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following best describes a 2-D array?

a string of unlimited length

a collection of primitive data types

an enhanced for loop

an array that contains arrays

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following math concepts most closely represents the way that data is stored in a 2-D list?

a coordinate plane

a system of equations

a series of transformations

a quadratic function

5.

MATCH QUESTION

1 min • 5 pts

Media Image

Here is a 2-D array called randumb.

Match the value to the correct 2-D list position.

randumb[0][0]

worker

randumb[2][3]

chord

randumb[0][3]

family

randumb[1][1]

mask

randumb[1][2]

hair

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the primary purpose for using two loops when working with 2-D lists?

To print out the contents in the form of a matrix

To search for a specific value within the list

To traverse both the rows and columns

To sum the values in a given column

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Given the code shown here, what is output?

18

11

13

20

Access all questions and much more by creating a free account

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

Already have an account?