Switch case
Quiz
•
Computers, Education
•
8th - 9th Grade
•
Hard
Learn CSharp with Sharpi
Used 32+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
By the ? keyword, the other cases will not be executed and the program continues executing the code after the switch case if there is more code.
Which is the "?" keyword?
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The code inside the ? case will be executed if the expression doesn't correspond to the other cases.
Which is the "?" case?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What we can use, if we want to execute certain code in situation, that the expression doesn't corresponds to the other cases that we have?
The default case
The break case
If case
We can't execute that code
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword that we use, when we want to have different cases based on the expression's value?
switch
Switch
if
default
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can I make a switch case without inserting code to be executed in the default case?
No
Yes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can you use if case instead of switch case?
Yes
No
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is that correct?
switch (number < 10) ...
Yes
No
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
10 questions
TQ - Review Quiz Week 1
Quiz
•
9th Grade
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
13 questions
9G4 CS Python Programming Sequence and Vocabs
Quiz
•
9th Grade
10 questions
ICT: WEEK 1
Quiz
•
8th Grade
10 questions
Gerund or infinitive
Quiz
•
8th - 9th Grade
10 questions
ICT 9 Quiz 1
Quiz
•
9th Grade
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
9 questions
Microbit Features Activity
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
