
AP CSP 3.8 (Iteration)
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Herman Galioulline
Used 90+ times
FREE Resource
About this resource
This quiz focuses on iteration and loop structures in computer science, specifically targeting the AP Computer Science Principles curriculum at the high school level (grades 11-12). The content examines students' understanding of algorithmic thinking through step-by-step procedures that use variables, conditional statements, and repetitive structures. Students must demonstrate mastery of loop mechanics, including proper initialization of variables, correct increment operations, appropriate termination conditions, and the logical flow of conditional checks within iterative processes. The problems require students to trace through algorithms mentally, predict outcomes, and identify which variations of similar algorithms will produce the desired results. This assessment targets higher-order thinking skills as students must analyze multiple algorithmic approaches and determine their equivalence or differences in execution and output. Created by Herman Galioulline, a Computers teacher in CH who teaches grade 9-12. This quiz serves as an excellent formative assessment tool for AP Computer Science Principles students working through Unit 3.8 on iteration concepts. Teachers can deploy this as a warm-up activity to gauge student readiness before diving deeper into complex programming constructs, or use it as targeted practice to reinforce algorithmic reasoning skills. The format works particularly well for homework assignments where students can take time to carefully trace through each algorithm step-by-step, and it provides valuable review material before unit tests or AP exam preparation. This assessment aligns with AP CSP Learning Objectives AAP-2.K and AAP-2.L, which require students to determine the result of iteration statements and explain how iteration can be used to traverse or search data structures.
See more
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
2.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which of the following algorithms display all integers between 1 and 20, inclusive, that are not divisible by 3?
Select two answers.
Step 1: Set x to 0.
Step 2: Increment x by 1.
Step 3: If x is not divisible by 3, then display x.
Step 4: Repeat steps 2 and 3 until x is 20.
Step 1: Set x to 0.
Step 2: If x is divisible by 3, then display x.
Step 3: Increment x by 1.
Step 4: Repeat steps 2 and 3 until x is greater than 20.
Step 1: Set x to 1.
Step 2: If x is divisible by 3, then do nothing; otherwise display x.
Step 3: Increment x by 1.
Step 4: Repeat steps 2 and 3 until x is 20.
Step 1: Set x to 1.
Step 2: If x is divisible by 3, then do nothing; otherwise display x.
Step 3: Increment x by 1.
Step 4: Repeat steps 2 and 3 until x is greater than 20.
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The number 0 is displayed.
The number 6 is displayed.
The number 10 is displayed.
Nothing is displayed; the program results in an infinite loop.
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
I only
II only
I and II
II and III
5.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
REPEAT 1 TIMES
REPEAT 2 TIMES
REPEAT 3 TIMES
REPEAT 4 TIMES
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
10 questions
Augmented Reality
Quiz
•
12th Grade
11 questions
GCSE Computer Science Paper 2: Topic 2.1
Quiz
•
10th Grade
10 questions
Abhyudaya coding class - Grade 7
Quiz
•
6th Grade - University
10 questions
Selection Control Structure Quiz
Quiz
•
6th Grade - University
10 questions
KUIS Analisis Data
Quiz
•
11th Grade
8 questions
Overview of IT
Quiz
•
6th Grade - University
10 questions
Avaliação 1T - JavaScript
Quiz
•
9th - 12th Grade
10 questions
Innovations of Technology
Quiz
•
7th - 10th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
