
AP CS A unit 1
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Ержан Ауезов
Used 4+ times
FREE Resource
Enhance your content in a minute
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
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
40 questions
Strategi Algoritma dan Pemrograman
Quiz
•
11th Grade
32 questions
OCR J275 Databases
Quiz
•
9th - 11th Grade
37 questions
AQA Computer Science GCSE - 3.3 Data representation
Quiz
•
10th - 12th Grade
35 questions
EmTech Q1 Reviewer
Quiz
•
11th Grade
33 questions
Web Design Final Exam Review-HTML
Quiz
•
9th - 12th Grade
33 questions
Storyboard Certification Study 😀
Quiz
•
9th - 12th Grade
34 questions
OCR J277 2.5 Programming Languages and IDEs
Quiz
•
11th Grade
31 questions
Microsoft Excel Review
Quiz
•
9th - 12th 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
