
Topic 3: Program Control Structure

Quiz
•
Education
•
University
•
Medium
Used 3+ 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
7 questions
Resume Quiz

Quiz
•
University
15 questions
Aptitude + Logical

Quiz
•
University
10 questions
Writing Essays p.59 Q.4

Quiz
•
University
10 questions
News Item Grade XII

Quiz
•
University
14 questions
DC Circuit Analysis

Quiz
•
University
10 questions
MOD1

Quiz
•
University
10 questions
Pop Quiz #2 Topic 2

Quiz
•
University
13 questions
TOPIC 5 STEERING

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade