ECAT Computer Science MCQS Page 6
A loop with in a loop is called:
Nested loop
Complex loop
Infinite loop
Dual loop
This is a control structure that causes a statement or group of statement to repeat:
Iteration
Decision statement
Duration
Test
Repetition structure is used to execute a statement or set of statement
More than one time
Once
statement
All
In a for statement, this expression is executed only once:
Initialization
Test
Validation
All
A _____ contains an object that stores VBA code
Macro
Module
Forms
Reports
The loop which never ends is called:
Infinite loop
Running loop
Continuous loop
Nested loop
What is the value of “a” after the execution of the following code?
int a 25;
for(int c=0; c<4;c++)
a=a-1;
a=1+3;
int a 25;
for(int c=0; c<4;c++)
a=a-1;
a=1+3;
24
23
25
20
This loop is a good choice when you know how many times you want the loop to iterate in advance of entering the loop?
For
While
Do-while
Nested
A loop whose execute never ends is called
Infinite loop
Nested loop
Forever loop
Counter loop
The loop structure that executes at least ones is
Do-while
While
For
All
One execution of a loop is known as a(n):
Iteration
Cycle
Duration
Test
When does the code block following while (x<100) execute?
When x is less then one hundred
When x is greater then one hundred
When x is equal to one hundred
None
Continue Reading Go to Next Page
Google Ads
Leave a Reply