Chapter 02 - Operators

Chapter 02 - Operators

Professional Development

28 Qs

quiz-placeholder

Similar activities

Mid Test React JS

Mid Test React JS

Professional Development

25 Qs

Think, Flow, Code: One-Day Raptor Tool Workshop

Think, Flow, Code: One-Day Raptor Tool Workshop

Professional Development

30 Qs

Python: Quiz 2.03 - Basic Data Types

Python: Quiz 2.03 - Basic Data Types

Professional Development

25 Qs

IT support Level-1 (MS Excel)

IT support Level-1 (MS Excel)

Professional Development

25 Qs

Animation

Animation

5th Grade - Professional Development

31 Qs

Security Plus Chapt.1 Pt.1

Security Plus Chapt.1 Pt.1

Professional Development

26 Qs

SKB Microsoft Office dan Struktur Data

SKB Microsoft Office dan Struktur Data

1st Grade - Professional Development

30 Qs

Quiz 3.4

Quiz 3.4

Professional Development

30 Qs

Chapter 02 - Operators

Chapter 02 - Operators

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Luis Montano

Used 3+ times

FREE Resource

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

true-true-false

true-false-true

true-false-false

true-true-true

false-true-true

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operators take three operands or values? (Choose all that apply.)

=

&&

*=

? :

&

3.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

int

long

boolean

double

short

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

ticketsSold is 8

ticketsSold is 6

ticketsTaken is 6

ticketsTaken is 7

ticketsTaken is 4

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following Java operators can be used with boolean variables? (Choose all that apply.)

==

+

--

!

Cast with (boolean)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

true-false-false

false-true-false

true-true-true

true-true-false

None of the above

7.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

No change; it compiles as is

Cast ear on line 4 to int

Change the data type of ear on line 3 to short

Cast 2 * ear on line 4 to int

Change the data type of hearing on line 4 to long

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?