New ! Computer Applications MCQ Practise Tests

Introduction to Hypertext Pre - Processor One Mark Question

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 00:30:00 Hrs
Total Marks : 15
    10 x 1 = 10
  1. What does PHP stand for?

    (a)

    Personal Home Page

    (b)

    Hypertext Preprocessor

    (c)

    Pretext Hypertext Processor

    (d)

    Pre-processor Home Page

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

    (a)

    < php >

    (b)

    < ? php ? >

    (c)

    < ? ? >

    (d)

    < ? php ? >

  3. Which of the following PHP statement/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 statement will output $x on the screen?

    (a)

    echo “\$x”;

    (b)

    echo “$$x”;

    (c)

    echo “/$x”;

    (d)

    echo “$x;

  5. In PHP, Variable namecan never start with a _________

    (a)

    alphabet

    (b)

    number

    (c)

    both a and b

    (d)

    either a or b

  6. PHP scripting language supports __________ primitive data types.

    (a)

    10

    (b)

    11

    (c)

    12

    (d)

    13

  7. PHP was invented by __________

    (a)

    RasmusLerdorf

    (b)

    Dennis Ritchie

    (c)

    Bjarne Strousrup

    (d)

    James Goasling

  8. PHP was invented in ___________

    (a)

    1992

    (b)

    1993

    (c)

    1994

    (d)

    1995

  9. PHP can embed with _______

    (a)

    HTML

    (b)

    CSS

    (c)

    Javascript

    (d)

    All of the above

  10. Which of the following isthe important server side Web and general purpose scripting language?

    (a)

    HTML

    (b)

    CSS

    (c)

    Javascript

    (d)

    PHP

  11. 5 x 1 = 5
  12. Object

  13. (1)

    Data and functions

  14. NULL

  15. (2)

    Single value

  16. Resource

  17. (3)

    Database Connection

  18. Var_dump ( )

  19. (4)

    Remainder

  20. Modulus

  21. (5)

    Structured information

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

TN 12th Standard Computer Applications free Online practice tests

Reviews & Comments about 12th Computer Application Chapter 4 Introduction to Hypertext Pre - Processor One Mark Question and Answer

Write your Comment