CS1 Unit 9 Review

CS1 Unit 9 Review

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

TIN 11 BÀI 11 KIỂU MẢNG

TIN 11 BÀI 11 KIỂU MẢNG

11th Grade

18 Qs

Начала программирования на языке Паскаль

Начала программирования на языке Паскаль

8th - 11th Grade

15 Qs

ASPEK LEGAL TIK XII

ASPEK LEGAL TIK XII

12th Grade

20 Qs

Nhập môn HTML

Nhập môn HTML

6th - 9th Grade

13 Qs

Server Administration- Quiz 1

Server Administration- Quiz 1

12th Grade - University

10 Qs

HTML - podstawy

HTML - podstawy

9th Grade

18 Qs

Recording Software Button Identification Quiz

Recording Software Button Identification Quiz

8th Grade - University

10 Qs

Berpikir komputasional

Berpikir komputasional

10th Grade

10 Qs

CS1 Unit 9 Review

CS1 Unit 9 Review

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Sarah Chapa

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In row-major two-dimensional lists, when accessing an element, the __________ is always listed first.

dimension

row

length

column

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

What is the element at [2][3]?

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

What is the element at [2][2]?

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about lists?

Elements refer to the locations of a piece of data in the list

Lists can only be one-dimensional

Indexes refer to the locations of a piece of data in the list

The first number when accessing a two-dimensional list gives the column number

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following lines of code correctly create a two-dimensional list?

stuff = [3, 4, 5], [6, 3, 1]

stuff = [3, 4, 5] + [6, 3, 1]

stuff = [3, 4, 5][6, 3, 1]

stuff = [[3, 4, 5],[6, 3, 1]]

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Consider the following code:

What are the dimensions of the grid (row x column)?

2 x 3

3 x 2

2 x 1

1 x 3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following code:

What is output by the code?

47

33

42

12

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

Already have an account?