
Topic 3: Program Control Structure

Quiz
•
Education
•
University
•
Medium
Used 9+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
IAS 1: PRESENTATION OF FINANCIAL STATEMENTS

Quiz
•
University
8 questions
C1 DPB20042_Part 2

Quiz
•
University
10 questions
แบบทดสอบ Application Canva

Quiz
•
University
15 questions
Introduction of Accounting

Quiz
•
University
10 questions
Chapter 1-4 MICROECONOMICS

Quiz
•
University
15 questions
PERDEV-W1

Quiz
•
11th Grade - University
15 questions
What do you know about research methodologies

Quiz
•
University
14 questions
Chapter 12 Assessing "noncognitive" Dispositions and Skills

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University