Quiz 6

Quiz 6

12 Qs

quiz-placeholder

Similar activities

Multiple-Choice Quiz: Network Devices

Multiple-Choice Quiz: Network Devices

11th Grade

10 Qs

Segundo Lección T3

Segundo Lección T3

11th Grade

10 Qs

Upravljanje DC motorom programom uz Bluetooth

Upravljanje DC motorom programom uz Bluetooth

KG - University

10 Qs

3.13: Affirmative Action

3.13: Affirmative Action

12th Grade

16 Qs

Topic Sentence Review

Topic Sentence Review

KG - University

8 Qs

Prueba de Conocimientos 3

Prueba de Conocimientos 3

12th Grade

10 Qs

Java Refresher

Java Refresher

KG - University

11 Qs

Quiz 6

Quiz 6

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. 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;}

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?