Search Header Logo

APP R1

Authored by Girirajan S

Engineering

University

Used 1+ times

APP R1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Find the output for the given java code snippet

11

12

14

15

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Find the Output for the above code

10 20

50 60

50 20

10 60

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Find the Output

Mike

John

Compile Time Error

Run Time Error

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

10

10.5

Compile-time error: incompatible types

Runtime error: ClassCastException

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Find the Output

55

50

60

45

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Prints: X is greater than 5

No output

Compile-time error: Misplaced semicolon

Runtime error: NullPointerException

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is the output of a switch statement when no break is used between cases?

The output will be Tuesday only.

 

The output will be Monday, Tuesday, and Wednesday.

The output will be Tuesday and Wednesday.

The code will fail to compile.

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?