12th Class ICS Computer Science Chapter 12 Online MCQ Test for (Loop Constructs)

ICS Part 2 Computer Science Online
Chapter 12 Test

Start Chapter 12 Test

MCQ's Test For Chapter 0 "ICS Part 2 Computer Science Chapter 12 Online Test"

Try The MCQ's Test For Chapter 0 "ICS Part 2 Computer Science Chapter 12 Online Test"

  • Total Questions15

  • Time Allowed20

ICS Part 2 Computer Science Chapter 12 Online Test

00:00
Question # 1

Redundancy means

Question # 2

This is a control structure that causes a statement or group of statement to repeat:

Question # 3

This means to increase a value by one:

Question # 4

What is the value of "a" after execution the following code segment:
int a=2;
int b=0;
while(b<5)
{ a=a*2;
b=b+1;
}
a=a+1;

Question # 5

A counter can be defined as:

Question # 6

How many types of loop structure are available in C language?

Question # 7

______ are used to enter data into databases

Question # 8

The keyword used to transfer control from the body of loop to the start of loop is

Question # 9

Which loop structure always executes at least once?

Question # 10

Which of the following is a loop statement?

Question # 11

A for statement contains three expressions: Initialization, test and:

Question # 12

A ________ is used to perform the same sequence of steps or automating tasks repeatedly

Question # 13

A _____ contains an object that stores VBA code

Question # 14

Which of the following loop is available in C language?

Question # 15

The keyword 'break' cannot be used within:

Prepare Complete Set Wise Chapter 0 "ICS Part 2 Computer Science Chapter 12 Online Test" MCQs Online With Answers


Topic Test

00:00
12th Chapter

ICS Part 2 Computer Science Chapter 12 Online Test MCQ's

Top Scorers Of Chapter 0 "ICS Part 2 Computer Science Chapter 12 Online Test" MCQ`s Test

  • R
    Rajab Ali Ali 04 - Jul - 2024 00 Min 24 Sec 15/15
  • N
    Noreenjaved Javed 16 - Jan - 2025 02 Min 16 Sec 15/15
  • A
    Ayesha Javed 26 - Oct - 2024 02 Min 30 Sec 15/15
  • M
    Memona Zaka 20 - Dec - 2024 02 Min 31 Sec 15/15
  • S
    Shanza- Shabbir. 14 - Nov - 2024 03 Min 00 Sec 15/15
  • T
    Tariq Rahi 15 - Dec - 2024 02 Min 30 Sec 14/15
  • W
    Waheed Asghar 08 - Dec - 2024 02 Min 32 Sec 14/15
  • A
    Amber Ilyas 24 - Oct - 2024 02 Min 47 Sec 14/15
  • U
    uswa arshad 18 - Nov - 2024 03 Min 57 Sec 14/15
  • Z
    zahra noor 07 - Dec - 2025 03 Min 18 Sec 13/15
  • M
    Manahil Rafique 17 - Sep - 2024 03 Min 26 Sec 13/15
  • A
    Areeha Waheed 07 - Jul - 2024 04 Min 04 Sec 13/15
  • K
    khadija jafar 29 - Dec - 2024 08 Min 48 Sec 13/15
  • M
    mueez farhan 18 - Sep - 2024 02 Min 17 Sec 12/15
  • I
    Iman 15 - Dec - 2024 02 Min 27 Sec 12/15

ICS Part II Computer Science Chapter 0 Important MCQ's

Sr.# Question Answer
1 When does the code block following while (x<100) execute?
A. When x is less then one hundred
B. When x is greater then one hundred
C. When x is equal to one hundred
D. None
2 The loop structure that executes at least ones is
A. While
B. Do-while
C. For
D. All
3 What is the value of "a" after execution the following code segment:
int a=2;
int b=0;
while(b<5)
{ a=a*2;
b=b+1;
}
a=a+1;
A. 64
B. 65
C. 66
D. 67
4 ________ contains icon button that are shortcuts to the commands in the menu
A. Menu bar
B. Tool bars
C. Scroll bar
D. Status bar
5 In which loop the condition comes before the body of the loop?
A. While loop
B. Do-while loop
C. For loop
D. B and C
6 A for statement contains three expressions: Initialization, test and:
A. Assignment
B. Validation
C. Increment / decrement
D. All
7 Which of the following statement can be used in C
A. While
B. For
C. Do while
D. All
8 Semicolon is placed at the end of condition in:
A. While loop
B. Do-while loop
C. For loop
D. All
9 This statement may be used to stop a loop's current iteration and begin once:
A. Continue
B. Break
C. Terminate
D. Next
10 Repetition structure is used to execute a statement or set of statement
A. Once
B. More than one time
C. Skip statement
D. All

Test Questions

Is this page helpful?