AP CSP Lists & Loops

AP CSP Lists & Loops

10th Grade

47 Qs

quiz-placeholder

Similar activities

IGCSE Chapter 1 Revision

IGCSE Chapter 1 Revision

9th Grade - University

48 Qs

Mid-Chapter 6 Probability

Mid-Chapter 6 Probability

10th - 12th Grade

50 Qs

Math Studies Ch. 4 Probability Review

Math Studies Ch. 4 Probability Review

9th - 11th Grade

43 Qs

Q2 4th grade math

Q2 4th grade math

4th Grade - University

52 Qs

Translating Words to Expressions or Equations

Translating Words to Expressions or Equations

9th - 12th Grade

50 Qs

Basic Probability and Events Concepts

Basic Probability and Events Concepts

9th Grade - University

43 Qs

Stem and Leaf Plot, Bar Graphs

Stem and Leaf Plot, Bar Graphs

10th Grade

46 Qs

Numbers (ABM IGCSE)

Numbers (ABM IGCSE)

10th Grade

50 Qs

AP CSP Lists & Loops

AP CSP Lists & Loops

Assessment

Quiz

Mathematics

10th Grade

Medium

CCSS
4.NBT.B.6

Standards-aligned

Created by

Gabrielle Martin

Used 1+ times

FREE Resource

47 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary benefit of using a list instead of individual variables?

Lists make the program slower.

Lists increase the number of variables.

Lists simplify the storage and management of multiple values.

Lists are harder to read.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In AP Pseudocode, what index does the first element in a list start at?

0

1

2

-1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of LENGTH(["Hi", 2, true])?

1

2

3

0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the APPEND(list, item) command do?

Adds item to the beginning

Replaces last item

Adds item to the end

Deletes the first item

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given: list ← [3, 6, 9], what is list[2]?

3

6

9

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when you use REMOVE(list, 1)?

Adds to the list

Removes the first element

Replaces an item

Does nothing

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the list names ← ["Ava", "Ben", "Zoe"], what is at index 3?

Ava

Ben

Zoe

Error

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?