New ! Computer Applications MCQ Practise Tests



12th Standard Computer Applications Introduction to Hypertext Pre-Processor English Medium Free Online Test One Mark Questions 2020 - 2021

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 00:10:00 Hrs
Total Marks : 10

    Answer all the questions

    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. We can use _________ to comment a single line?
    i) /?
    ii) //
    iii) #
    iv)  /* */

    (a)

    Only (ii)

    (b)

    (i), (iii) and (iv)

    (c)

    (ii), (iii) and (iv)

    (d)

    Both (ii) and (iii)

  3. What will be the output of the following PHP code?
    < ?php
    \($\) num = 1;
    \($\) num1 = 2;
    print \($\) num . “+”. \($\) num 1 ;
    ? >

    (a)

    3

    (b)

    1 + 2

    (c)

    1.+.2

    (d)

    Error

  4. Which statement will output \($\)x on the screen?

    (a)

    echo “\ \($\)x”;

    (b)

    echo “\($\)\($\)x”;

    (c)

    echo “/\($\)x”;

    (d)

    echo “\($\)x;

  5. The variable in PHP begins with a dollar _______  symbol

    (a)

    @

    (b)

    #

    (c)

    $

    (d)

    %

  6. In PHP, Variable name can never start with a _________

    (a)

    alphabet

    (b)

    number

    (c)

    both a and b

    (d)

    either a or b

  7. PHP was invented by __________

    (a)

    RasmusLerdorf

    (b)

    Dennis Ritchie

    (c)

    Bjarne Strousrup

    (d)

    James Goasling

  8. PHP can embed with _______

    (a)

    HTML

    (b)

    CSS

    (c)

    Javascript

    (d)

    All of the above

  9. Which of the following is an non-identical operator?

    (a)

    =

    (b)

    = =

    (c)

    = = =

    (d)

    ! = =

  10. Boolean is a data type which denotes ___________

    (a)

    Integer numbers

    (b)

    Decimal point numbers

    (c)

    True or False state

    (d)

    Array

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

Reviews & Comments about 12th Standard Computer Applications Introduction to Hypertext Pre-Processor English Medium Free Online Test One Mark Questions 2020 - 2021

Write your Comment