
AP CS A unit 1

Quiz
•
Computers
•
11th Grade
•
Medium
Ержан Ауезов
Used 3+ times
FREE Resource
36 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment.
System.out.println("W");
System.out.println("X");
System.out.print("Y");
System.out.print("Z");
What is printed as a result of executing the code segment?
WXYZ
W
XYZ
WX
YZ
W
X
YZ
W
X
Y
Z
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment.
String str = "AP";
str += "CS " + 1 + 2;
System.out.println(str);
What is printed as a result of executing the code segment?
CS AP12
AP CS3
CSAP 12
APCS 12
APCS 3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the expected output?
-1
0
1
17
18
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of these are escape characters? Choose all that apply!
\n
\t
\
"
/
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is the following identifier legal or illegal?
MyFirstProgram
legal
illegal
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If x = 4, x++ =?
16
8
5
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if int a = 10, what does b = if b= 15/4
1
5
0
3
Create a free account and access millions of resources
Similar Resources on Wayground
32 questions
Javascript Quiz by Brandon and Amali

Quiz
•
11th Grade
35 questions
Higher Software Design & Development

Quiz
•
10th - 12th Grade
35 questions
BAB 2 : Ujian Strategi Algoritmik dan Pemrograman

Quiz
•
11th Grade
35 questions
end of year Quiz

Quiz
•
12th Grade - University
40 questions
Review: CC_L01-L03

Quiz
•
9th - 12th Grade
40 questions
C Programming Midterm Review

Quiz
•
11th - 12th Grade
35 questions
IT-OOPRGO21 PRELIM

Quiz
•
University
40 questions
Elements of a C# program

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade