
Topic 3: Program Control Structure
Education
University
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 CHOICE QUESTION
30 sec • 1 pt
Choose the suitable description of the uses for break statement.
i. forcing termination
ii. immediately terminated
iii. resumes to any code in between
iv. resumes to the next statement
i and ii
ii and iii
i, ii and iii
i, ii and iv
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The continue statement
resumes the program if it is hanged
resumes the program if break was applied
skips the rest of the loop in current iteration
all of the choice
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Determine the value of y after the following program fragment is executed.
15
14
1
0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which looping process checks the test condition at the beginning of the loop?
for
if...else
do...while
while
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times is a do…while loop guaranteed to loop?
0
1
2
Infinitely
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the CORRECT syntax of for statement?
for (initialization , incrementation , expression) {
statement block;
}
for (initialization ; incrementation ; expression) {
statement block;
}
for (initialization ; expression ; incrementation) {
statement block;
}
for (initialization) , (expression) , ( incrementation); {
statement block;
}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Looping in a program means
Repeat the specified lines of code
Jumping to the specified branch of program
Both of above
None of above
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
15 questions
Singapore
Quiz
•
12th Grade - Professi...
10 questions
What is water
Quiz
•
KG - Professional Dev...
10 questions
Justifications for Conducting Research Quiz
Quiz
•
11th Grade - University
15 questions
Test # 1_EDUC175 Principles of Teaching
Quiz
•
University
15 questions
BSD Online Quiz
Quiz
•
University
15 questions
Intubation
Quiz
•
University
10 questions
Teacher Roles
Quiz
•
University - Professi...
8 questions
Factfulness
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