ECAT Pre Computer Science MCQ Test For Computer Chapter 11 With Answer

MCQ's Test For ECAT Computer Science Chapter 11 Loops

Try The MCQ's Test For ECAT Computer Science Chapter 11 Loops

  • Total Questions15

  • Time Allowed15

ECAT Computer Science Chapter 11 Loops

00:00
Question # 1

What is the final value of x after executing the following code:
for (int x=0; x<10;x++)

Question # 2

A special value that is marks the end of a list of loop body?

Question # 3

A loop within a loop is called?

Question # 4

Which of the following loop is called counter loop?

Question # 5

While loop is also called:

Question # 6

When is for loop more appropriate than while loop?

Question # 7

Which loop,structure always executes at least once?

Question # 8

Which of the following loop is available in C language?

Question # 9

The body of while loop with multiple statements ends with:

Question # 10

Where should be the loop control variable initialized?

Question # 11

Semicolon is placed at the end of condition in:

Question # 12

Which statement causes a loop to terminate early?

Question # 13

Which of the following loop is available In C language?

Question # 14

Which loop structure always executes at least once?

Question # 15

This loop Is a good choice when you know how mane times you want the loop to Iterate in advance of entering the loop?

Prepare Complete Set Wise ECAT Computer Science Chapter 11 Loops MCQs Online With Answers


Topic Test

00:00

Top Scorers Of ECAT Computer Science Chapter 11 Loops MCQ`s Test

  • A
    Abdullah Tahir 31 - Jan - 2019 01 Min 46 Sec 60/60
  • K
    kanwal shahzadi 12 - Feb - 2019 02 Min 01 Sec 60/60
  • L
    Laraib Sadaqat 29 - May - 2024 02 Min 11 Sec 60/60
  • L
    laiba tariq 03 - Feb - 2019 03 Min 05 Sec 60/60
  • S
    suzi 06 - Feb - 2026 01 Min 03 Sec 56/60
  • S
    Saiman Gill 11 - Mar - 2024 01 Min 14 Sec 55/60
  • I
    Iftikhar Ahmad 02 - Nov - 2018 02 Min 45 Sec 55/60
  • M
    Muhammad Usman 29 - Nov - 2018 03 Min 14 Sec 55/60
  • S
    Suleman Zeeshan 06 - Jul - 2021 03 Min 18 Sec 55/60
  • A
    Alishba Farooq 10 - Mar - 2024 09 Min 20 Sec 55/60
  • S
    sana hashmi 06 - Aug - 2018 01 Min 25 Sec 50/60
  • A
    Almas 04 - Aug - 2018 01 Min 59 Sec 50/60
  • F
    Fatima 05 - Feb - 2019 02 Min 17 Sec 50/60
  • M
    maryam 25 - Oct - 2018 02 Min 23 Sec 50/60
  • S
    soha 09 - Aug - 2018 02 Min 28 Sec 50/60

ECAT Computer Sciences Chapter 11 Important MCQ's

Sr.# Question Answer
1 The body of while loop with multiple statements ends with:
A. Right bracket 1
B. Right brace }
C. Comma ,
D. Semi-colon ;
2 When does the code block following while (x<100) execute?
A. When x is less than one hundred
B. When x is greater than hundred
C. When x is equal to hundred
D. None
3 Which statement causes a loop to terminate early?
A. Break
B. Terminate
C. Exit
D. A and b
4 This statement maybe used to stop a loop's current iteration and begin next one:
A. Continue
B. Break
C. Terminate
D. Next
5 How many types of loop structure are available In C?
A. 4
B. 3
C. 2
D. 6
6 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
7 Which statement is used to move the control to the start of loop body?
A. Go to
B. Switch
C. Continue
D. Break
8 A for statement contains three expressions: Initialization, test and:
A. Assignment
B. Validation
C. Increment, decrement
D. Recalling
9 A counter can be defined as
A. The final value of a loop
B. A variable that counts loop iterations
C. The initial value of a loop
D. The step value of a loop
10 When is for loop more appropriate than while loop?
A. The termination condition is known in advance
B. The number of iteration is not known in advance
C. The loop should be executed only once
D. The loop should be executed at least once

Test Questions

Is this page helpful?

Share your comments & questions here

Guest
  • No comments yet. Be the first to comment!