If x = 3 and y = 5, choose all the statements that evaluate to True.
AP Computer Science A Post Unit 2 Check

Quiz
•
Computers
•
10th Grade - University
•
Medium
Richard Groeneveld
Used 60+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
x < y
y > -x**2
2 * x == y
y % x == 3
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A Boolean expression...
Fixes any errors in the line of code
Sets everything in it equal to each other
Checks if something is true or false
Loops the program to continue infinitely
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How many values does a Boolean variable have?
4
3
2
1
Infinite
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = 5
b = 6
Determine the truth value of the following statement:
((a <= b) or (a == b)) and (b > a)
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Java type can be used to store a true or false value?
boolean
bool
Boolean
Bool
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
14 >= 14
15 > 15
16 != 16
18 >= 19
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True/False: The body of an "if" statement will only be executed if the condition is true.
True
False
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
AP Computer Science A Final Review

Quiz
•
10th Grade
15 questions
Progamming - Java Syntax

Quiz
•
11th - 12th Grade
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
17 questions
"switch" Java Statement - 1

Quiz
•
9th - 10th Grade
15 questions
Java Strings and Math Quiz

Quiz
•
12th Grade
22 questions
Basic Boolean Logic Practice

Quiz
•
9th - 12th Grade
15 questions
Python Data Types

Quiz
•
9th - 10th Grade
19 questions
Java Method

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University