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 statement can be used in C

Question # 2

A loop with in a loop is called:

Question # 3

This statement causes a loop to terminate early?

Question # 4

The loop which never ends is called:

Question # 5

The body of while loop with multiple statements ends with:

Question # 6

If we want a user to enter exactly 20 values, which loop would be the best to use?

Question # 7

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

Question # 8

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

Question # 9

Which statement is used to move the control to the start of loop body?

Question # 10

When is for loop more appropriate then while loop?

Question # 11

The loop structure in which condition comes after the body of the loop is

Question # 12

A counter can be defined as:

Question # 13

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;

Question # 14

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

Question # 15

This means to increase a value by one:

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 The loop structure that executes at least ones is
A. While
B. Do-while
C. For
D. All
3 ________ contains icon button that are shortcuts to the commands in the menu
A. Menu bar
B. Tool bars
C. Scroll bar
D. Status bar
4 Semicolon is placed at the end of condition in:
A. While loop
B. Do-while loop
C. For loop
D. All
5 The body of for loop with single statement ends with:
A. Right bracket ]
B. Right brace }
C. Comma ,
D. Semi colon ;
6 A ________ is used to perform the same sequence of steps or automating tasks repeatedly
A. Macro
B. Module
C. Forms
D. Reports
7 When is while loop more appropriate then for loop?
A. The terminating condition occurs unexpectedly
B. The body of loop will be executed at least once
C. The program will be executed at least once
D. The number times the loop will be executed is known before the loop executes
8 This means to increase a value by one:
A. Modulus
B. Increment
C. Decrement
D. Inc
9 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
10 A loop whose execute never ends is called
A. Nested loop
B. Forever loop
C. Infinite loop
D. Counter loop

Test Questions

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