Java Programming I 3
Quiz
•
Computers
•
University
•
Hard
Sherif Abdelhamid
Used 20+ times
FREE Resource
Enhance your content
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Select the correct option :
The _____ in switch statement is used to terminate the execution of the rest of the code in the switch block.
default
case
break
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
State True or False :
It is not necessary to break the last case in a switch block.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Select the correct option:
_______________ is a situation that occurs when we miss out break statement with switch cases.
Fall through
Default
Desired output
No output
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Is that correct?
switch (number < 10) ...
Yes
No
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Can you use if case instead of switch case?
Yes
No
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Can I make a switch case without inserting code to be executed in the default case?
No
Yes
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the keyword that we use, when we want to have different cases based on the expression's value?
switch
Switch
if
default
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
17 questions
Archivos
Quiz
•
University
20 questions
ISD and Network
Quiz
•
University
15 questions
Quiz NO. 1
Quiz
•
University
20 questions
Algoritma Pemrograman
Quiz
•
University
18 questions
LỚP 12 - CHỦ ĐỀ B - BÀI 1 + 2 MẠNG MT VÀ GIAO THỨC
Quiz
•
10th Grade - University
15 questions
The OSI Model and Network Protocols Quiz
Quiz
•
University
20 questions
DBMS Quiz
Quiz
•
University
20 questions
Ôn Tập Buổi TH2 - CSLT
Quiz
•
University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
39 questions
Unit 7 Key Terms
Quiz
•
11th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
18 questions
Plotting Points on the Coordinate Plane
Quiz
•
KG - University
5 questions
Declaration of Independence
Interactive video
•
4th Grade - University
