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
10 questions
Variables and Data Types

Quiz
•
10th - 12th Grade
15 questions
Code.org Unit 5 Lesson 15 Assessment

Quiz
•
9th - 12th Grade
10 questions
Code.org Unit 5 Vocab Quiz 1

Quiz
•
9th - 12th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
16 questions
Code.org CSP Unit 4 Review

Quiz
•
9th - 12th Grade
10 questions
Wrong Answers Only CSP

Quiz
•
9th - 12th Grade
12 questions
Code.org Unit 4 Vocabulary

Quiz
•
9th - 12th Grade
12 questions
Python - Abstractions, Comments, Data Types, Variables

Quiz
•
9th - 12th 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