CS Python Fundamentals Quiz 9 PRACTICE

CS Python Fundamentals Quiz 9 PRACTICE

7th Grade

9 Qs

quiz-placeholder

Similar activities

Lý thuyết về Python

Lý thuyết về Python

3rd Grade - University

10 Qs

Computer hardware-internal, and external

Computer hardware-internal, and external

7th Grade

6 Qs

Machine Learning Quiz

Machine Learning Quiz

1st - 12th Grade

6 Qs

Python Masyvai Quiz

Python Masyvai Quiz

7th Grade

10 Qs

Quiz 5: Internet safety, cyber security and encryption

Quiz 5: Internet safety, cyber security and encryption

7th - 8th Grade

11 Qs

Kotlin

Kotlin

1st - 12th Grade

11 Qs

HTML Quiz 1 Review

HTML Quiz 1 Review

7th - 12th Grade

11 Qs

QUIZZ AUTOCAD RENOTREE PART 2

QUIZZ AUTOCAD RENOTREE PART 2

1st Grade - University

10 Qs

CS Python Fundamentals Quiz 9 PRACTICE

CS Python Fundamentals Quiz 9 PRACTICE

Assessment

Quiz

Computers

7th Grade

Medium

Created by

Scott Chamberlain

Used 4+ times

FREE Resource

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]

family

randumb[2][3]

hair

randumb[1][1]

worker

randumb[0][3]

chord

randumb[1][2]

mask

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

8.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Given the code shown here, how many columns does the array have?

3

4

5

6

9.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Given the code shown here, what is the output?

catfish

bass

bluegill

carp