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

Which of the following loop is called counter loop?

Question # 2

The keyword 'break' cannot be used within:

Question # 3

This statement may be used to stop a loop's current iteration and begin once:

Question # 4

A _____ contains an object that stores VBA code

Question # 5

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

Question # 6

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 # 7

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

Question # 8

This statement causes a loop to terminate early?

Question # 9

Which of the following loop is available in C language?

Question # 10

Each record consists of a

Question # 11

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

Question # 12

In a for statement, this expression is executed only once:

Question # 13

The body of while loop with multiple statements ends with:

Question # 14

This means to increase a value by one:

Question # 15

A loop with in a loop is called:

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

  • 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
  • H
    hamna malik 01 - May - 2026 02 Min 05 Sec 13/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
  • K
    khadija jafar 29 - Dec - 2024 08 Min 48 Sec 13/15
  • T
    Tech Design 26 - Feb - 2026 01 Min 30 Sec 12/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 The keyword 'break' cannot be used within:
A. Do-while
B. If-else
C. For
D. While
2 One execution of a loop is known as a(n):
A. Cycle
B. Duration
C. Iteration
D. Test
3 Which statement is used to move the control to the start of loop body?
A. Continue
B. Break
C. Switch
D. Goto
4 In a for statement, this expression is executed only once:
A. Test
B. Validation
C. Initialization
D. All
5 Where should be the loop control variable initialized?
A. Before the loop starts
B. In the first statement of the loop body
C. In the last statement of the loop body
D. Anywhere in the loop body
6 The body of for loop with single statement ends with:
A. Right bracket ]
B. Right brace }
C. Comma ,
D. Semi colon ;
7 The keyword used to transfer control from the body of loop to the start of loop is
A. Exit
B. Continue
C. Break
D. End
8 Redundancy means
A. Duplication
B. No-duplication
C. Standards
D. Microsoft office integration
9 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
10 If n=3, what will be the value of n after executing the following code?
do
n*=2
while (n<48);
A. 24
B. 32
C. 48
D. 96

Test Questions

Is this page helpful?

Share your comments & questions here

Guest
  • ahmad

    ahmad

    06 May 2018

    where is mine result

    Like
    Reply
  • Ch Zaroon

    Ch Zaroon

    05 Apr 2017

    How to I give test

    Like
    Reply
  • subhan malik

    subhan malik

    07 Feb 2016

    good

    Like
    Reply