New ! Computer Applications MCQ Practise Tests



Looping Structure One Mark Questions

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 00:30:00 Hrs
Total Marks : 15
    6 x 1 = 6
  1. Most complicated looping structure in PHP is ________

    (a)

    While

    (b)

    Do While

    (c)

    for

    (d)

    None of them

  2. Loops that iterate for fixed number of times is called

    (a)

    Unbounded loops

    (b)

    Bounded loops

    (c)

    While loops

    (d)

    For loops

  3. The ________ construct provides an easy way to iterate over arrays

    (a)

    foreach

    (b)

    for

    (c)

    while

    (d)

    do..while

  4. Which of the following is an exit check loop?

    (a)

    foreach

    (b)

    for

    (c)

    while

    (d)

    do..while

  5. Which of the following is an entry check loop?

    (a)

    foreach

    (b)

    for

    (c)

    while

    (d)

    do..while

  6. ________ loops execute a block of code a specified number of times.

    (a)

    foreach

    (b)

    for

    (c)

    while

    (d)

    do..while

  7. 5 x 1 = 5
  8. There are __________ types of loops in PHP

    A PHP Error was encountered

    Severity: Warning

    Message: A non-numeric value encountered

    Filename: material/details.php

    Line Number: 1002

    ()

    4

  9. ________ Structures are useful for writing iteration logics.

    A PHP Error was encountered

    Severity: Warning

    Message: A non-numeric value encountered

    Filename: material/details.php

    Line Number: 1002

    ()

    Looping

  10. _______ loop works only with arrays.

    A PHP Error was encountered

    Severity: Warning

    Message: A non-numeric value encountered

    Filename: material/details.php

    Line Number: 1002

    ()

    For each

  11. _________ loop always run the statement inside of the loop block at the first time execution and then it is checking the condition whether true or false.

    A PHP Error was encountered

    Severity: Warning

    Message: A non-numeric value encountered

    Filename: material/details.php

    Line Number: 1002

    ()

    Do while

  12. The loop iteration deepens on each ________ in the Array

    A PHP Error was encountered

    Severity: Warning

    Message: A non-numeric value encountered

    Filename: material/details.php

    Line Number: 1002

    ()

    KEY Value pair

  13. 4 x 1 = 4
  14. For loop

  15. (1)

    Simple iteration logics

  16. While loop

  17. (2)

    Works only with array

  18. For Each loop

  19. (3)

    Complicated looping structure

  20. do while loop

  21. (4)

    Exit check loop

*****************************************

Reviews & Comments about 12th Standard Computer Application - Looping Structure One Mark Question and Answer

Write your Comment