
Lab5_Quiz_section2
Authored by bme programming
Computers
University

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 CHOICE QUESTION
30 sec • 1 pt
What does an if statement check?
If a variable is declared
If a condition is true
If a loop is working
If a function is called
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used for multiple conditions in if-else blocks?
elif
switch
else if
elseif
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will if (true||false) return?
Error
True
False
Null
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does nested if mean?
One if inside another
An infinite loop
A standalone if block
A function inside a loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can an if statement exist without an else?
Yes
No
Only in loop
Only in functions
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a switch case?
For looping through arrays
For choosing between multiple options
For defining variables
For declaring functions
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you add a default block in a switch statement?
case default:
default:
else:
default case:
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
13 questions
Processing Quiz
Quiz
•
University
10 questions
Quis 1 APSI
Quiz
•
University
10 questions
Amazon Aptitude Quiz-SK-1
Quiz
•
University
10 questions
Understanding Email, Contacts and Calendaring
Quiz
•
University
12 questions
Python Quiz 1.4
Quiz
•
University
10 questions
ML Course Activity-II
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
10 questions
CodeMonkey for B.Ed IT
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade