Online Test In PHP

5 Questions | Total Attempts: 195

SettingsSettingsSettings
Please wait...
PHP Quizzes & Trivia

This quiz contains 5 marks. . . . Each correct answer carry one mark


Questions and Answers
  • 1. 
    What does PHP stand for?
    • A. 

      Private Home Page

    • B. 

      Personal Home Page

    • C. 

      PHP: Hypertext Preprocessor

    • D. 

      Personal Hypertext Processor

  • 2. 
    How do you write "Hello World" in PHP
    • A. 

      Echo "Hello World";

    • B. 

      Document.Write("Hello World");

    • C. 

      "Hello World";

    • D. 

  • 3. 
    All variables in PHP start with which symbol?
    • A. 

      #

    • B. 

      @

    • C. 

      $

    • D. 

      %

  • 4. 
    The PHP syntax is most similar to:
    • A. 

      VB Script

    • B. 

      Java Script

    • C. 

      Perl and c

    • D. 

      Asp.net

  • 5. 
    What is the correct way to add 1 to the $count variable?
    • A. 

      Count++;

    • B. 

      $count++;

    • C. 

      $count =+1

    • D. 

      ++count