Quiz 6

Quiz 6

12 Qs

quiz-placeholder

Similar activities

Intro to Law Chapters 1 - 3 Quiz Review

Intro to Law Chapters 1 - 3 Quiz Review

12th Grade - University

11 Qs

Vocab List 13: Port

Vocab List 13: Port

6th Grade

10 Qs

Unit 2 Summative 2024-25

Unit 2 Summative 2024-25

KG - University

12 Qs

Mastering Commas

Mastering Commas

8th Grade

11 Qs

Topic Sentence Review

Topic Sentence Review

KG - University

8 Qs

4.4 Volcanoes

4.4 Volcanoes

KG - University

16 Qs

The Government (Functions and Types)

The Government (Functions and Types)

7th Grade

10 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?