
JAVA SWITCH CASE

Quiz
•
Computers
•
10th Grade - University
•
Medium

Rakhi M
Used 66+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
SWITCH is more suitable compare to NESTED IF when there are more than 3 or 4 condition
TRUE
FALSE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step to making a switch statement
Break;
Case();
Cheeseburger
Name the statement
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The data type of the variable in the switch and value of a case must not be of the same type.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the start of a different instance in a switch
BReaK;
Case()
START
I'm tired
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We can have any number of case statements within a switch
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When the variable being switched on is equal to a case, the statements following that case will execute until a _____ statement is reached.
goto
stop
break
default
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Should you declare a data type for a Switch Loop?
Yes
No
Maybe So
.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Basics in Java

Quiz
•
9th - 12th Grade
20 questions
class xi science and management sec d

Quiz
•
12th Grade
15 questions
Control Statements - Java

Quiz
•
University
20 questions
PF_Q1_IT1104

Quiz
•
University
16 questions
Understanding C# Conditional Statements

Quiz
•
11th Grade
16 questions
Mastering JavaScript Basics

Quiz
•
University
20 questions
Programming Concepts in C

Quiz
•
University
20 questions
C#For,Switch,If

Quiz
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade