MCQGeeks
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Practice
Cist 5031 Chapter 5 Quiz
Solution
MCQ Questions
Q.1.
Repetition
0%
Which structure causes a statement or set of statements to execute repeatedly?
0%
The ________ represents a special value that marks the end of a list of values.
0%
How many times will the following loop iterate?Set k = 1While k > 5 Display kEnd While
0%
Which loop repeats a statement or set of statements as long as the Boolean expression is false?
Q.2.
While and Do-While
0%
Which of these are posttest loops?
0%
Which pair of loops causes a statement or set of statements to repeat as long as a condition is true?
0%
Which loop repeats a statement or set of statements as long as the Boolean expression is false?
0%
What type of loop uses a Boolean expression to control the number of times that it repeats a statement or set of statements?
Q.3.
One
0%
How many times will the following loop iterate?Set k = 1While k < = 5 Display kEnd While
0%
How many times will the following loop iterate?Set k = 1Do Display k Set k = k + 1Until k > 1
0%
How many times will the following loop iterate?For j = 1 To 5 Step 2 Display jEnd For
0%
How many times will the following loop iterate?Set k = 1While k > 5 Display kEnd While
Q.4.
Running total
0%
A loop that accumulates a total as it reads each number from a series is often said to keep a what?
0%
How many times will the following loop iterate?Set k = 1While k < = 5 Display kEnd While
0%
Which loop repeats a statement or set of statements as long as the Boolean expression is false?
0%
The statements that appear between the While and the End While clauses are called the ________.
Q.5.
Do-Until
0%
The ________ represents a special value that marks the end of a list of values.
0%
Which structure causes a statement or set of statements to execute repeatedly?
0%
Which loop statement does not contain an increment statement but automatically increments the counter at the end of each iteration?
0%
Which loop repeats a statement or set of statements as long as the Boolean expression is false?
Q.6.
For
0%
Which loop repeats a statement or set of statements as long as the Boolean expression is false?
0%
How many times will the following loop iterate?Set k = 1Do Display k Set k = k + 1Until k > 1
0%
Which loop statement does not contain an increment statement but automatically increments the counter at the end of each iteration?
0%
Which pair of loops causes a statement or set of statements to repeat as long as a condition is true?
Q.7.
Sentinel
0%
Which loop repeats a statement or set of statements as long as the Boolean expression is false?
0%
To ________ a variable means to decrease its value.
0%
The ________ represents a special value that marks the end of a list of values.
0%
Which structure causes a statement or set of statements to execute repeatedly?
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page