
Nested conditions
Authored by Learn CSharp with Sharpi
Education
8th - 9th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Choose which conditional statements you can nest:
if and if
switch and switch
for and if/switch
if and switch
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Is true that you can nest how many times you want?
True
False
3.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Why is not good to overdo the nesting?
Is good to nest how many time you want.
Because the code becomes too long.
Because the code starts losing its readability.
Because it can become confusing.
Because is better to have separated conditional statements.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which is better, to nest if in switch or if in if and switch in switch?
if in switch
if in if and switch in switch
It doesn't matter
To don't nest
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In case the expression of the nested if statement is true, but the that of the other "if" is false, will be the code of the nested "if" executed?
Yes
No
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Is it preferred the usage of the nested conditional statements to the single usage of the if and switch case?
Yes, it's better to use nested conditional statements.
No, you use that what you need.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is that a correct part of the nested conditional statements syntax?
switch if ()
Yes
No
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
HIPAA QUIZ
Quiz
•
9th - 12th Grade
15 questions
Q3ST1
Quiz
•
9th Grade
15 questions
Giving Compliments and Complaints
Quiz
•
9th - 12th Grade
15 questions
Rollercoasters (Energy)
Quiz
•
8th Grade
10 questions
ENGINEER'S DAY
Quiz
•
5th Grade - Professio...
14 questions
Signs of Healthy/Unhealthy Friendships
Quiz
•
9th Grade
14 questions
Water, Sanitation and Hygiene in School
Quiz
•
7th - 12th Grade
12 questions
Biscuit basics
Quiz
•
7th - 9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade