What is the primitive type that can store true and false values?
Halloween Java

Quiz
•
Computers
•
12th Grade
•
Easy
Angel Ligon
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int
boolean
double
char
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a relational/comparison operator?
+
*
/
==
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the value of the boolean expression 'grade > 89' if grade is 85?
true
false
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the value of the boolean expression 'key == "q"' if key is 'Q'?
true
false
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to compare reference types?
==
!=
>
<
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the value of the boolean expression 'rect1 == rect2' if rect1 and rect2 refer to different rectangle objects with the same information?
true
false
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method can be used to compare string literals?
equals()
==
!=
compareTo()
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Python Basics (CodeHS)

Quiz
•
7th - 12th Grade
20 questions
Data Type

Quiz
•
7th - 12th Grade
15 questions
AP Computer Science Principles Unit 4 Review

Quiz
•
9th Grade - University
15 questions
Computer Science - Python

Quiz
•
9th - 12th Grade
12 questions
BJC Unit 2 Concepts Review

Quiz
•
10th Grade - University
15 questions
Progamming - Java Syntax

Quiz
•
11th - 12th Grade
15 questions
Boolean expressions

Quiz
•
5th - 12th Grade
15 questions
Visual C# Quiz - Chapter 5: Loops, Files, and Random Numbers

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