New ! Computer Applications MCQ Practise Tests



12th Standard English Medium Computer Applications Subject Looping Structure Book Back 1 Mark Questions with Solution Part - I

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 01:00:00 Hrs
Total Marks : 5

    1 Marks

    5 x 1 = 5
  1. Loops that iterate for fixed number of times is called

    (a)

    Unbounded loops

    (b)

    Bounded loops

    (c)

    While loops

    (d)

    For loops

  2. Which loop evaluates condition expression as Boolean, if it is true, it executes statements and when it is false it will terminate?

    (a)

    For loop

    (b)

    For each loop

    (c)

    While loop

    (d)

    All of them

  3. What will be displayed in a browser when the following PHP code is executed:
    < ?php
    for (\($\)counter = 20; \($\)counter < 10;
    \($\)counter++){
    echo “Welcome to Tamilnadu “;
    }
    echo “Counter is: $counter”;
    ? >

    (a)

    Welcome to Tamilnadu

    (b)

    Counter is: 20

    (c)

    Welcome to Tamilnadu Counter is: 22

    (d)

    Welcome to Tamilnadu Welcome to Tamilnadu Counter is: 22

  4. 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

  5. PHP supports which types of looping techniques;

    (a)

    for loop

    (b)

    while loop

    (c)

    foreach loop

    (d)

    all the above

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

Reviews & Comments about 12th Standard English Medium Computer Applications Subject Looping Structure Book Back 1 Mark Questions with Solution Part - I

Write your Comment