
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
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
10 questions
TPG Basics of web3 and programming
Quiz
•
University
10 questions
FST Class 2023- Quiz 2
Quiz
•
University
10 questions
TOPIC 1 COMPUTER NETWORK
Quiz
•
University
10 questions
Client/Server Network Model
Quiz
•
University
15 questions
PYTHON UNIT I MCQS
Quiz
•
University
11 questions
Access
Quiz
•
10th Grade - University
10 questions
Emerging technologies
Quiz
•
6th Grade - 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