CS Python Fundamentals Quiz 9 PRACTICE

CS Python Fundamentals Quiz 9 PRACTICE

7th Grade

9 Qs

quiz-placeholder

Similar activities

2D Arrays in C++

2D Arrays in C++

6th - 9th Grade

10 Qs

Excel Vocabulary

Excel Vocabulary

6th - 8th Grade

14 Qs

Top Ten Table Facts

Top Ten Table Facts

7th Grade

10 Qs

Using Mail Merge

Using Mail Merge

7th Grade

10 Qs

Dojo - Type Inference

Dojo - Type Inference

1st - 12th Grade

13 Qs

Excel Basics

Excel Basics

7th Grade

10 Qs

C++ Searches and Sorts

C++ Searches and Sorts

7th - 12th Grade

9 Qs

Arrays and Lists

Arrays and Lists

6th - 12th Grade

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 3+ 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[2][3]

mask

randumb[1][1]

chord

randumb[0][0]

hair

randumb[1][2]

family

randumb[0][3]

worker

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