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
What's the output?
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 Wayground
15 questions
Java Beginners

Quiz
•
11th Grade
15 questions
Basic elements of computer programming

Quiz
•
9th - 12th Grade
10 questions
Global and local variables

Quiz
•
10th - 12th Grade
10 questions
APCSA Unit 4

Quiz
•
9th - 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
TEST - Trace table exercise 1

Quiz
•
11th Grade
10 questions
Class XI Computer Science Viva

Quiz
•
11th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade