New ! Computer Applications MCQ Practise Tests



Introduction to Hypertext Pre-Processor Model Question Paper

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 02:00:00 Hrs
Total Marks : 50
    10 x 1 = 10
  1. What does PHP files have a default file extension?

    (a)

    .html

    (b)

    .xml

    (c)

    .php

    (d)

    .ph

  2. A PHP script should start with __________ and end with _________:

    (a)

    < php >

    (b)

    < ? php ? >

    (c)

    < ? ? >

    (d)

    < ?php ? >

  3. Which of the following PHP statements will store 41 in variable num?
    (i) num = 41
    (ii) num = 41
    (iii) echcho num
    (iv) echo 41

    (a)

    Both (i) and (ii)

    (b)

    All of the mentioned

    (c)

    Only (iii)

    (d)

    Only (i)

  4. Which of the following PHP statements will output Hello World on the screen?

    (a)

    echo (“Hello World”);

    (b)

    print (“Hello World”);

    (c)

    printf (“Hello World”);

    (d)

    sprintf (“Hello World”);

  5. Which of the below symbols is a newline character?

    (a)

    \r

    (b)

    \n

    (c)

    /n

    (d)

    /r

  6. The assignment activity implemented using __________ operator.

    (a)

    +

    (b)

    -

    (c)

    *

    (d)

    =

  7. PHP was invented by __________

    (a)

    RasmusLerdorf

    (b)

    Dennis Ritchie

    (c)

    Bjarne Strousrup

    (d)

    James Goasling

  8. PHP also creates ___________ Webpages in thereal time Webdevelopment projects.

    (a)

    Dynamic

    (b)

    interactive

    (c)

    both a and b

    (d)

    None of these

  9. __________ is a collection of characters within the double or single quotes

    (a)

    String

    (b)

    Boolean

    (c)

    Integer

    (d)

    Float

  10. __________ is a data type which contains information about data and function inside the class

    (a)

    Integer numbers

    (b)

    Array

    (c)

    True or False state

    (d)

    Array

  11. 4 x 1 = 4
  12. String

  13. (1)

    Data and functions

  14. Boolean

  15. (2)

    True/False

  16. Object

  17. (3)

    Remainder

  18. Modulus

  19. (4)

    Collection of characters

    6 x 2 = 12
  20. What are the common usages of PHP?

  21. What is Webserver?

  22. Difference between Client and Server?

  23. What is URL?

  24. How to declare variables in PHP?

  25. Define Webserver.

  26. 3 x 3 = 9
  27. Write the features of server side scripting language

  28. Differentiate Server side and Client Side Scripting language.

  29. Write short notes on PHP operator.

  30. 3 x 5 = 15
  31. Explain client side and server side scripting language.

  32. Explain the process of Webserver installation.

  33. Explain operators in PHP with example.

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

Reviews & Comments about 12th Standard Computer Applications - Introduction to Hypertext Pre-Processor Model Question Paper

Write your Comment