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?
Switch case
Quiz
•
Computers, Education
•
8th - 9th Grade
•
Hard
Learn CSharp with Sharpi
Used 28+ times
FREE Resource
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
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
15 questions
IF & CASE Conditional Statements
Quiz
•
9th - 12th Grade
10 questions
Nested conditions
Quiz
•
8th - 9th Grade
12 questions
Scratch interface
Quiz
•
5th - 9th Grade
10 questions
Programming Quiz
Quiz
•
9th - 12th Grade
8 questions
Gr 8 Programming Terms Q1
Quiz
•
4th - 8th Grade
11 questions
Control Structures - Selection in Python
Quiz
•
8th Grade - University
10 questions
Module 9-Address Resolution Protocol
Quiz
•
9th Grade - Professio...
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
25 questions
Spanish preterite verbs (irregular/changed)
Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)
Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres
Quiz
•
8th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1
Quiz
•
9th - 12th Grade
26 questions
June 19th
Quiz
•
4th - 9th Grade