More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
ICS Part 2 Computer Science Chapter 12 Online Test MCQs With Answers
Question # 1
Which of the following is a loop statement?
Choose an answer
If
If-else
Switch
None
Previous
Skip
Next
Question # 2
The loop which never ends is called:
Choose an answer
Infinite loop
Running loop
Continuous loop
Nested loop
Previous
Skip
Next
Question # 3
Which of the following statement can be used in C
Choose an answer
While
For
Do while
All
Previous
Skip
Next
Question # 4
In which loop the condition comes before the body of the loop?
Choose an answer
While loop
Do-while loop
For loop
B and C
Previous
Skip
Next
Question # 5
A ________ is used to perform the same sequence of steps or automating tasks repeatedly
Choose an answer
Macro
Module
Forms
Reports
Previous
Skip
Next
Question # 6
A counter can be defined as:
Choose an answer
The final value of a loop
A variable that counts loop iterations
The initial value of a loop
The step value of a loop
Previous
Skip
Next
Question # 7
A loop with in a loop is called:
Choose an answer
Nested loop
Complex loop
Infinite loop
Dual loop
Previous
Skip
Next
Question # 8
The body of while loop with multiple statements ends with:
Choose an answer
Right bracket ]
Right brace }
Comma ,
Semi colon ;
Previous
Skip
Next
Question # 9
This loop is a good choice when you know how many times you want the loop to iterate in advance of entering the loop?
Choose an answer
While
Do-while
For
Nested
Previous
Skip
Next
Question # 10
If we want a user to enter exactly 20 values, which loop would be the best to use?
Choose an answer
While
Do-while
For
Infinite
Previous
Skip
Next
Question # 11
The loop structure in which condition comes after the body of the loop is
Choose an answer
While
Do-while
For
All
Previous
Skip
Next
Question # 12
______ are used to move around the window if its contents do not fit on screen
Choose an answer
menu bar
Tool bar
Scroll bar
Status bar
Previous
Skip
Next
Question # 13
The body of for loop with single statement ends with:
Choose an answer
Right bracket ]
Right brace }
Comma ,
Semi colon ;
Previous
Skip
Next
Question # 14
A loop within another loop is called
Choose an answer
Inner loop
Nested loop
Counter loop
None
Previous
Skip
Next
Question # 15
Which statement is used to move the control to the start of loop body?
Choose an answer
Continue
Break
Switch
Goto
Previous
Skip
Next
Question # 16
When does the code block following while (x<100) execute?
Choose an answer
When x is less then one hundred
When x is greater then one hundred
When x is equal to one hundred
None
Previous
Skip
Next
Question # 17
In which loop the condition comes after the body of the loop?
Choose an answer
While loop
Do-while loop
For loop
B and C
Previous
Skip
Next
Question # 18
While loop is also called:
Choose an answer
Conditional loop
Wend loop
Counter loop
Continuous loop
Previous
Skip
Next
Question # 19
A _____ contains an object that stores VBA code
Choose an answer
Macro
Module
Forms
Reports
Previous
Skip
Next
Question # 20
Each record consists of a
Choose an answer
Rows
Columns
Both a and b
None of these
Previous
Skip
Next
Back