APCSA - Unit 3
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Justin Loomis
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String name1 = new String("Norman");
String name2 = new String("Norman");
System.out.println(name1 == name2);
TRUE
FALSE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
MyObject obj1 = new MyObject();
MyObject obj2 = new MyObject();
MyObject obj3 = obj1;
Which variables are aliases?
obj1 and obj2
obj1 and obj3
obj2 and obj3
obj1, obj2, and obj3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which boolean expression is TRUE for all values of a and b?
a && (b || c)
!a || !b
a || (!a || b)
(a && b) || !b
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x >= 3 || y < 7
Which of these is equivalent to the expression above?
!(x < 3 && y >= 7)
!(x > 3 || y <= 7)
x < 3 && y >= 7
x <= 7 || y > 3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a || (a || !b)
Which of these is equivalent to the expression above?
a || b
a && b
a || !b
!a || b
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if (x < 0) { value = true; }
else if (x > 5) { value = true; }
else { value = false; }
Which of these code segments is equivalent to the code segment above?
value = x < 0 && x > 5;
value = x < 0 || x > 5;
value = true;
value = false;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int x = 2;
if (x < 5) { System.out.print("A"); }
else if (x < 10) { System.out.print("B"); }
else { System.out.print("C"); }
What is printed?
A
AB
ABC
BC
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
12 questions
Excel 2 частина 6 клас підсумкова
Quiz
•
12th Grade
10 questions
BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU
Quiz
•
1st - 12th Grade
10 questions
Validación de Datos
Quiz
•
10th Grade
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
12 questions
Examen final algoritmo
Quiz
•
11th Grade
10 questions
Tin học 9 Bài 7: Phần mềm trình chiếu
Quiz
•
9th Grade
10 questions
Les variables sous Python
Quiz
•
10th - 12th Grade
10 questions
Parcial-Dibujo
Quiz
•
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
