Java Operator

Java Operator

5th Grade

10 Qs

quiz-placeholder

Similar activities

TEKHNIK INFORMATIKA DAN KOMUNIKASI

TEKHNIK INFORMATIKA DAN KOMUNIKASI

5th Grade

15 Qs

Documentos Comerciales

Documentos Comerciales

1st - 12th Grade

10 Qs

COMPU

COMPU

5th Grade

10 Qs

TMK Tahun 5~Modul 2 DPD: Unit 2 Sistem Pangkalan Data

TMK Tahun 5~Modul 2 DPD: Unit 2 Sistem Pangkalan Data

5th Grade

10 Qs

1ª SESIÓN

1ª SESIÓN

KG - University

15 Qs

Компьютер и алгоритмы.

Компьютер и алгоритмы.

1st - 5th Grade

12 Qs

Grade5Review

Grade5Review

5th Grade

10 Qs

Powerpoint K5

Powerpoint K5

5th Grade

10 Qs

Java Operator

Java Operator

Assessment

Quiz

Computers

5th Grade

Hard

Created by

dot 5th

Used 682+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would the new value of A be?

A=1;

a++;

1

2

3

4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would the new value of A be?

A=1;

A--;

0

1

2

-1

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What's the value of below?


int i=5;


System.out.println(i);

System.out.println(++i);

6

7

67

7

8

5

6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code output?

int x = 1;

System.out.println(x++);

1

2

compilation error

runtime error

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which statement(s) are equivalent to i = i + 1?

i += 1

i++

i -= 1

i--

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol represents the and operator in Java?

AND

and

&

&&

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol represents the or operator in Java?

OR

or

||

|

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?