
Quiz 6
Authored by Diya Diya
others

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?