12th Chapter

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

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

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

Sr. # Questions Answers Choice
1 What is the final value of x after executing the following code:<div>For (int x=0; x&lt;10; X++)</div>
  • A. 10
  • B. 9
  • C. 0
  • D. 1
2 The loop structure that executes at least ones is
  • A. While
  • B. Do-while
  • C. For
  • D. All
3 One execution of a loop is known as a(n):
  • A. Cycle
  • B. Duration
  • C. Iteration
  • D. Test
4 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
5 The loop which never ends is called:
  • A. Infinite loop
  • B. Running loop
  • C. Continuous loop
  • D. Nested loop
6 The loop structure in which condition comes after the body of the loop is
  • A. While
  • B. Do-while
  • C. For
  • D. All
7 The keyword 'break' cannot be used within:
  • A. Do-while
  • B. If-else
  • C. For
  • D. While
8 Which of the following statement can be used in C
  • A. While
  • B. For
  • C. Do while
  • D. All
9 Repetition structure is used to execute a statement or set of statement
  • A. Once
  • B. More than one time
  • C. Skip statement
  • D. All
10 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

Top Scorers of ICS Part 2 Computer Science Chapter 12 Online Test

W

Wasif Khan

Lahore02 - Mar - 2025

15/15
57 Sec
U

Unknown Gurl

Lahore17 - Feb - 2025

15/15
01 Mins 07 Sec
W

Wasif Khan

Lahore02 - Mar - 2025

15/15
01 Mins 13 Sec
M

Malaika Usman

Lahore15 - Mar - 2025

15/15
01 Mins 20 Sec
A

Ahmad Ali

Lahore19 - Feb - 2025

15/15
01 Mins 55 Sec
N

Narmeen Malik

Lahore04 - Feb - 2025

15/15
02 Mins 03 Sec
U

Unknown Person

Lahore26 - Feb - 2025

15/15
02 Mins 06 Sec
N

Noreenjaved Javed

Lahore16 - Jan - 2025

15/15
02 Mins 16 Sec
I

Imdad Ali

Lahore02 - Feb - 2025

15/15
02 Mins 18 Sec
W

Waleed Ahmad

Lahore28 - Jan - 2025

15/15
02 Mins 23 Sec
W

Wasif Khan

Lahore02 - Mar - 2025

14/15
59 Sec
N

Noreenjaved Javed

Lahore16 - Jan - 2025

14/15
01 Mins 16 Sec
A

Ahmad Ali

Lahore12 - Feb - 2025

14/15
01 Mins 44 Sec
T

Tayyaba Sagheer

Lahore15 - Feb - 2025

14/15
01 Mins 46 Sec
T

Tayyaba Sagheer

Lahore15 - Feb - 2025

14/15
02 Mins 17 Sec

Share your comments questions here
Sort By:
  • Ahmad

    06 May 2018

    where is mine result

    Like (1)
    Reply
  • C

    Chaudhary Zaroon

    05 Apr 2017

    How to I give test

    Like
    Reply
  • S

    Subhan Malik

    07 Feb 2016

    good

    Like
    Reply
X

Sign in

to continue to ilmkidunya.com

inquiry-image

Free Admission Advice

Fill the form. Our admission consultants will call you with admission options.

X

Sign in

to continue to ilmkidunya.com

X

Sign in

to continue to ilmkidunya.com

X

Forgot Password

to continue to ilmkidunya.com

X

Register Type

Please Provide following information to Register

  • Student
  • Tutor
  • Consultant
  • Employer