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
What is the primitive type that can store true and false values?
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 Wayground
15 questions
Cambridge Technicals L3 U2 Information Types

Quiz
•
12th Grade
20 questions
AP CS A Unit 3 Review

Quiz
•
11th - 12th Grade
20 questions
A Level CS - 06 Boolean Algebra & Logic Gates

Quiz
•
11th - 12th Grade
15 questions
GCSE Computing: Computational Logic 2.4

Quiz
•
11th - 12th Grade
14 questions
Python Syntax

Quiz
•
6th - 12th Grade
11 questions
Python Boolean

Quiz
•
11th - 12th Grade
18 questions
Unit 4 Variables, Conditionals & Functions CS20-21

Quiz
•
9th - 12th Grade
18 questions
AP Computer Science A Post Unit 2 Check

Quiz
•
10th Grade - University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade