Halloween Java

Halloween Java

12th Grade

15 Qs

quiz-placeholder

Similar activities

Unit 4 Vocabulary

Unit 4 Vocabulary

11th - 12th Grade

10 Qs

Data type

Data type

10th Grade - University

17 Qs

Code.org CSD Unit 3 Lessons 1-12

Code.org CSD Unit 3 Lessons 1-12

3rd - 12th Grade

20 Qs

A Level CS - 06 Boolean Algebra & Logic Gates

A Level CS - 06 Boolean Algebra & Logic Gates

11th - 12th Grade

20 Qs

Boolean Algebra 2 (Karnaugh Maps)

Boolean Algebra 2 (Karnaugh Maps)

12th Grade

20 Qs

GCSE Computing: Computational Logic 2.4

GCSE Computing: Computational Logic 2.4

11th - 12th Grade

15 Qs

Java Bell Ringer Terms Test 5

Java Bell Ringer Terms Test 5

9th - 12th Grade

20 Qs

Unit 3 If statements Quiz

Unit 3 If statements Quiz

9th - 12th Grade

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