Halloween Java

Halloween Java

12th Grade

15 Qs

quiz-placeholder

Similar activities

AP Computer Science A Post Unit 2 Check

AP Computer Science A Post Unit 2 Check

10th Grade - University

18 Qs

Python Boolean

Python Boolean

11th - 12th Grade

11 Qs

Java Programming

Java Programming

9th Grade - University

11 Qs

Karnaugh Map

Karnaugh Map

12th Grade

20 Qs

Conditionals and Logical Operators Review

Conditionals and Logical Operators Review

9th - 12th Grade

10 Qs

[AP CSP] Truth Tables and Boolean Expressions

[AP CSP] Truth Tables and Boolean Expressions

9th - 12th Grade

13 Qs

Python Syntax

Python Syntax

6th - 12th Grade

14 Qs

Primitive Data Type

Primitive Data Type

12th Grade

20 Qs

Halloween Java

Halloween Java

Assessment

Quiz

Computers

12th Grade

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?