
AP CSP 3.10 (Lists)
Authored by Herman Galioulline
Computers
9th - 12th Grade
Used 193+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
About
This quiz focuses on list manipulation and iteration in computer programming, specifically targeting Advanced Placement Computer Science Principles (AP CSP) concepts. Designed for high school students in grades 11-12, the assessment evaluates students' understanding of fundamental programming constructs including list traversal, element access, conditional statements, and loop structures. Students need a solid grasp of how lists store and organize data, how to access individual elements using indices, and how different types of loops (FOR EACH, REPEAT, and conditional loops) interact with list data. The problems require students to trace through code execution step-by-step, predict output values, and select appropriate programming constructs to accomplish specific tasks. Mastery of these concepts demands understanding variable assignment, counter manipulation, conditional logic, and the ability to mentally execute algorithms to determine their results. Created by Herman Galioulline, a Computers teacher in Switzerland who teaches grades 9-12. This quiz serves as an excellent formative assessment tool for AP Computer Science Principles Unit 3.10, allowing teachers to gauge student comprehension of list operations before advancing to more complex data structure topics. The quiz works particularly well as a warm-up activity to activate prior knowledge about lists, as targeted practice following initial instruction on iteration methods, or as homework to reinforce classroom learning about algorithm analysis. Teachers can use individual question results to identify specific areas where students struggle, such as distinguishing between different loop types or predicting the behavior of nested conditional statements. The assessment aligns with College Board standards for AP Computer Science Principles, particularly those addressing algorithmic thinking, programming constructs, and data representation through lists and arrays.
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is displayed as a result of executing the code segment?
1 3 5
5 3 1
100 300 500
500 300 100
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
3
4
9
12
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
count1 = 2, count2 = 2
count1 = 2, count2 = 3
count1 = 3, count2 = 2
count1 = 5, count2 = 0
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Shoppers at a mall were asked whether they preferred wearing gloves or mittens in cold weather. Shoppers’ preferences were stored in the list voteList as strings, with the string "Gloves" representing a preference for gloves and the string "Mittens" representing a preference for mittens.
The following code segment is intended to traverse the list and display the number of shoppers who chose gloves and the number of shoppers who chose mittens.
Which of the following should replace <MISSING CODE> so that the code segment works as intended?
IF(vote ≤ LENGTH(voteList))
FOR EACH vote IN voteList
REPEAT LENGTH(voteList) TIMES
REPEAT UNTIL(vote > LENGTH(voteList))
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
APPEND(evenList, i)
i ← i + 2
i ← i + 2
APPEND(evenList, i)
APPEND(evenList, 2 * i)
i ← i + 1
i ← i + 1
APPEND(evenList, 2 * i)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
8 questions
Misinformation
Quiz
•
9th - 12th Grade
10 questions
Grade 11 - Quiz 1 Introduction to Arrays
Quiz
•
11th Grade
10 questions
การพัฒนาแอพพลิเคชัน
Quiz
•
9th Grade
10 questions
Python Generators
Quiz
•
10th Grade - University
10 questions
ASJ 12 TKJ - PERINTAH DASAR LINUX
Quiz
•
12th Grade
10 questions
Year 8 - Unit 2: Small Basic Programming Terminology
Quiz
•
9th Grade
10 questions
Implementing Mass Storage Application
Quiz
•
10th Grade - University
10 questions
XI TKJ Latihan SAS Genap
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade