Java Quiz 4

Java Quiz 4

12 Qs

quiz-placeholder

Similar activities

Quiz 5

Quiz 5

KG - University

12 Qs

PBO XI

PBO XI

9th - 12th Grade

14 Qs

We Beat the Street

We Beat the Street

7th Grade

10 Qs

Quiz PBO persiapan UTS

Quiz PBO persiapan UTS

KG - University

10 Qs

Polymorphism - Objective Exercises

Polymorphism - Objective Exercises

University

11 Qs

DCIT 50

DCIT 50

KG - University

15 Qs

Quiz 8

Quiz 8

KG - University

12 Qs

Java Quiz 4

Java Quiz 4

Assessment

Quiz

others

Hard

Created by

Diya Diya

FREE Resource

12 questions

Show all answers

1.

OPEN ENDED QUESTION

30 sec • Ungraded

Name

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

30 sec • Ungraded

E mail

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. An Arithmetic expression in Java involves which Operators or Operations?
A) Addition (+), Subtraction (-)
B) Multiplication (*), Division (/)
C) Modulo Division (%), Increment/Decrement (++/--), Unary Minus (-), Unary Plus (+)
D) All the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. What is the output of the below Java code snippet? int a = 2 - - 7; System.out.println(a);
A) -5
B) 10
C) 9
D) Compiler Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. What is the other name for Relational Operators in Java?
A) Comparison operators
B) Conditional operators
C) A and B
D) None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. Choose the Conditional operators of Java listed below.
A) >, >=
B) <, <=
C) ==, !=
D) All the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. Which among the following is a Logical Unary NOT operator in Java?
A) ~
B) !
C) #
D) ^

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?