Switch case

Quiz
•
Computers, Education
•
8th - 9th Grade
•
Hard
Learn CSharp with Sharpi
Used 32+ 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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Swift playground

Quiz
•
9th Grade
14 questions
JAVA QUIZ

Quiz
•
9th Grade
12 questions
Scratch interface

Quiz
•
5th - 9th Grade
13 questions
Scratch Programming

Quiz
•
1st - 12th Grade
10 questions
Controllo di Flusso in C++

Quiz
•
9th - 12th Grade
15 questions
Control statements in C++

Quiz
•
9th - 12th Grade
10 questions
Python Plus : Rock, Paper, Scissors

Quiz
•
6th - 8th Grade
10 questions
C++ Basics Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade