
AP CSP 3.8 (Iteration)
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Herman Galioulline
Used 73+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
EMPTECH L4 Q2
Quiz
•
12th Grade
10 questions
Fundamentals of Algorithms
Quiz
•
10th Grade
10 questions
Drawing Tools in AutoCAD
Quiz
•
11th Grade
10 questions
Câu lệnh rẽ nhánh tin 10
Quiz
•
10th Grade
10 questions
Vertex AI Pipelines V1
Quiz
•
12th Grade
10 questions
SQL-3TRI-IA-C
Quiz
•
10th Grade
11 questions
2C_Fisica_A_21_Barra Gráfica
Quiz
•
11th Grade
10 questions
informatika dan keterampilan generik 2
Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
18 questions
Artificial Intelligence and Machine Learning Quiz
Quiz
•
9th Grade
35 questions
Computer Terminology Exercise #1 ( Multiple Choice)
Quiz
•
9th Grade
20 questions
Computer Components Exercise #4 - CTEA
Quiz
•
9th - 12th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade