Looping Structure Book Back Questions

12th Standard EM

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 00:45:00 Hrs
Total Marks : 30
    5 x 1 = 5
  1. Most complicated looping structure 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. What will be displayed in a browser when the following PHP code is executed
    < ?php
    for (\($\)counter = 10; \$counter < 10;
    \$counter = \($\)counter + 5){
    echo “Hello”;
    }
    ? >

    (a)

    Hello Hello Hello Hello Hello

    (b)

    Hello Hello Hello

    (c)

    Hello

    (d)

    None of the above

  4. What will be the output of the
    following PHP code ?
    < ?php
    for (\($\)x = 1; \($\)x < 10;++\($\)x)
    {
    print “*\t”;
    }
    ? >

    (a)

    **********

    (b)

    *********

    (c)

    ***********

    (d)

    Infinite loop

  5. What will be the output of the
    following PHP code ?
    < ?php
    for (\($\)x = -1; \($\)x < 10;--\($\)x)
    {
    print \($\)x;
    }
    ? >

    (a)

    123456713910412

    (b)

    123456713910

    (c)

    1234567139104

    (d)

    Infinite loop

  6. 3 x 2 = 6
  7. Define Looping Structure in PHP

  8. Write Syntax of For loop in PHP.

  9. Write Syntax of Do while loop in PHP.

  10. 3 x 3 = 9
  11. Write the features Looping Structure.

  12. Differentiate For each and While loop.

  13. Differentiate While and Do while loops.

  14. 2 x 5 = 10
  15. Explain the process Do while loop.

  16. Explain array concepts in Looping Structure.

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

TN 12th Standard EM Computer Applications free Online practice tests

Reviews & Comments about 12th Standard Computer Applications Chapter 7 Looping Structure Book Back Questions

Write your Comment