
Looping Statement
Authored by NURHANI (PBU)
Computers
University
Used 2+ 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
1. Identify which is NOT the type of looping control structure.
For
If..else
While
Do...while
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the numbers of ‘do..while’ loop which are guaranted to loop.
3
2
1
0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the number of repetitions that will occur for the following looping control structure below.
for ( int count=0; count <=20; count ++)
18
19
20
21
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the control structures that have the same concept with the sample code in Figure 2.
For
Do..While
Nested if
Switch Case
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the statement show the characteristic of the ‘continue’ command.
I. It immediately terminate a loop
II. It is use in ‘switch’ control statement.
III. It skip over a loop.
IV. It is use in looping control.
I & II
II & III
III & IV
II, III & IV
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following looping command is INCORRECT ?
for (int x=0 ; x<3 ; ++x)
{ cout<<”ABC”; }
for (int x=0 ; x<3 ; --x)
{ cout<<”ABC”; }
for (x=0; x<3 ; --x)
{ cout<<”ABC”; }
for (int x=0; x<3 ; --x) ;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the suitable statement for X so that the following looping control statement will loop itself three (3) times.
int X=1;
while ( X )
{ cout<< X;
++X; }
X < 3
X > 3
X < 4
X < = 4
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
10 questions
CS100||MsWord
Quiz
•
University
15 questions
GDSC Intro Quiz
Quiz
•
University
14 questions
Microsoft Excel Advanced Features
Quiz
•
1st Grade - University
10 questions
Creating tables in HTML
Quiz
•
University
15 questions
Javascript Array dan Object
Quiz
•
University
11 questions
Final Keamanan Komputer / Sistem Keamanan Jaringan
Quiz
•
University
15 questions
Pra UAS Algoritma dan Pemrograman Lanjut
Quiz
•
University
10 questions
System Analysis & Design
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