What's the output?
AP CSA Unit 4 Review

Quiz
•
Computers
•
11th Grade
•
Easy
Lauren Wheelwright
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
012345
0123456
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
(Infinite loop)
12345
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the output?
1
12
01
12345
3.
OPEN ENDED QUESTION
2 mins • 1 pt
Re-write this for-loop as a while loop
Evaluate responses using AI:
OFF
Answer explanation
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these nested loops will print out the following output?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What prints when we run the main method?
AP
CSA
CSA
AP
AP
CSA
CSA
CSA
AP
AP
AP
CSA
CSA
CSA
CSA
APAPCSACSACSA
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Complete the code so that it prints every third character in String s, starting at the 1st character.
Ex: If s="ABCDEF", print "AD"
Evaluate responses using AI:
OFF
Answer explanation
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Complete this code so that it prints a triangle as follows:
0
01
012
0123
Evaluate responses using AI:
OFF
Answer explanation
The length of each line is determined by the variable i.
The length of each line should increase from 0 to 3.
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Global and local variables

Quiz
•
10th - 12th Grade
15 questions
Intro to Java Loops

Quiz
•
9th - 12th Grade
6 questions
AP CSA 4.4 (Nested Loops)

Quiz
•
10th - 12th Grade
10 questions
For Loop in Python

Quiz
•
11th Grade
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
10 questions
Year 9 Programming Constructs

Quiz
•
1st - 12th Grade
10 questions
CSS Selectors

Quiz
•
11th Grade
10 questions
Hello World - C# Quiz Sheet

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade