Halloween Java

Halloween Java

12th Grade

15 Qs

quiz-placeholder

Similar activities

Java Code Questions

Java Code Questions

9th Grade - University

11 Qs

Unit 4 Variables, Conditionals & Functions CS20-21

Unit 4 Variables, Conditionals & Functions CS20-21

9th - 12th Grade

18 Qs

Data Type

Data Type

7th - 12th Grade

20 Qs

AP Computer Science Principles Unit 4 Review

AP Computer Science Principles Unit 4 Review

9th Grade - University

15 Qs

[AP CSP] Truth Tables and Boolean Expressions

[AP CSP] Truth Tables and Boolean Expressions

9th - 12th Grade

13 Qs

[AP CSP] Sem 1 Review

[AP CSP] Sem 1 Review

9th - 12th Grade

20 Qs

Boolean Algebra 2 (Karnaugh Maps)

Boolean Algebra 2 (Karnaugh Maps)

12th Grade

20 Qs

Progamming - Java Syntax

Progamming - Java Syntax

11th - 12th Grade

15 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?