Quiz 6

Quiz 6

12 Qs

quiz-placeholder

Similar activities

Thank You Ma'am 6.3 Skills Test

Thank You Ma'am 6.3 Skills Test

KG - University

10 Qs

ITE 384 - Computer Forensics Quiz

ITE 384 - Computer Forensics Quiz

University

17 Qs

U.S. Gov - Unit 4 Quiz - Legislative Branch

U.S. Gov - Unit 4 Quiz - Legislative Branch

12th Grade

15 Qs

We Beat the Street

We Beat the Street

7th Grade

10 Qs

Attitude and attitude change

Attitude and attitude change

KG - University

10 Qs

Quiz - Intelligenza artificiale_2°

Quiz - Intelligenza artificiale_2°

KG - University

10 Qs

Polymorphism - Objective Exercises

Polymorphism - Objective Exercises

University

11 Qs

Quiz on the Plantations Labour Act, 1951

Quiz on the Plantations Labour Act, 1951

KG - University

10 Qs

Quiz 6

Quiz 6

Assessment

Quiz

others

Practice Problem

Hard

Created by

Diya Diya

FREE Resource

AI

Enhance your content in a minute

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

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. A SWITCH case statement in Java is a ___ control statement.

A) Iteration
B) Loop
C) Selection
D) Jump

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. Which is the alternative to SWITCH in Java language?

A) break, continue
B) for, while
C) if, else
D) goto, exit

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. What are the keywords used to implement a SWITCH case in Java language?

A) switch, case
B) default
C) break
D) All

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. What are the parts of a SWITCH in java?

A) switch input condition
B) case constants
C) case statements
D) All

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. Choose the correct syntax of SWITCH statement in Java below.

A) Switch(input){ case constant1: //statements; break; case constant2: //statements; break; default: //statements; };
B) switch(input){ case constant1: //statements; break; case constant2: //statements; break; default: //statements;}
C) switch(input){ case constant1: //statements; break; case constant2: //statements; break; default case: //statements;};
D) switch(input){ case constant1: //statements; break; case constant2: //statements; break; default case: //statements;}

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?