New ! Computer Applications MCQ Practise Tests



Looping Structure 3 Mark Creative Question Paper With Answer Key

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 00:45:00 Hrs
Total Marks : 33

    3 Marks

    11 x 3 = 33
  1. Write a php program to display 1 to 10 numbers using while loop

  2. Write a php program to display the string "Hello World" 5 times using "for loop".

  3. Write a PHP program to display color names "using foreach" loop

  4. Write a PHP program to display the following

  5. Write short note on all the loops

  6. What will be the output of the following pHp code?
    For (\(\$\)1=0; \(\$\)x<=10; print ++\(\$\)x)
    {
    print ++\(\$\)x;
    }
    ?>

  7. Write the PHP code which shows the difference between while and do while loop.

  8. Define for each loop.

  9. Write the short note on parameters used in 'for loop'.

  10. Why do we need to use loops?

  11. Why do-while loop is an exit-condition loop? Give the reason.

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

Reviews & Comments about 12th Standard Computer Applications English Medium - Looping Structure 3 Mark Creative Question Paper and Answer Key 2022 - 2023

Write your Comment