Java Programming I 3

Quiz
•
Computers
•
University
•
Hard
Sherif Abdelhamid
Used 19+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
Bootcamp Day 3 - Java Array

Quiz
•
University
12 questions
Quiz 9: Pointer

Quiz
•
University
13 questions
Array of Structure

Quiz
•
University
20 questions
CCE-III Programming in C Language

Quiz
•
University
20 questions
C - Strings

Quiz
•
University
15 questions
Soal Java

Quiz
•
11th Grade - University
18 questions
Java Como Programar - Deitel - Cap 1 e 2

Quiz
•
University
13 questions
C programming-1

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