APCSA - Unit 3

Quiz
•
Computers
•
9th - 12th Grade
•
Medium

Justin Loomis
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Python lesson 3 quiz

Quiz
•
9th Grade
12 questions
HTML Javascript

Quiz
•
9th Grade
9 questions
12th comp app lesson 4

Quiz
•
12th Grade
9 questions
Computer Science Foundations - Module 4 Review

Quiz
•
9th - 11th Grade
9 questions
9. Урок 12+ Принципи тривимірної навігації

Quiz
•
9th Grade
14 questions
تقييم درس الجملة الشرطية الكاملة

Quiz
•
10th Grade
15 questions
Functions in Python

Quiz
•
9th - 12th Grade
15 questions
# REVIEW 1 DATA TYPES

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade