PHP Assessment One

10 Questions | Attempts: 940
Share

SettingsSettingsSettings
Computer Programming Quizzes & Trivia

It’s time to put your web development skills to the test and tell us everything you know about PHP – the world-renowned server-side scripting language. Do you have all the functions down? We’ll be the judges of that!


Questions and Answers
  • 1. 

    What does PHP stand for?

    • A.

      Pre Hypertext Processor

    • B.

      Post Hypertext Processor

    • C.

      PHP Hypertext Processor

    • D.

      Paranoid Hypnotic Peers

    Correct Answer
    C. PHP Hypertext Processor
  • 2. 

    Which of the following tags do NOT start comments in PHP?

    • A.

      //

    • B.

      /*

    • C.

      /!

    Correct Answer
    C. /!
  • 3. 

    True or False: PHP is not a good choice for large scale websites?

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 4. 

    Is this a legal statement in PHP? $_a=500

    • A.

      Yes.

    • B.

      No. You cannot start a variable with _a

    • C.

      No. It is missing a character

    • D.

      No. You cannot initialize a variable and give it a value in one statement.

    Correct Answer
    C. No. It is missing a character
  • 5. 

    Which of the following variable declarations is illegal?

    • A.

      $1a;

    • B.

      $a1;

    • C.

      $_1;

    • D.

      $_a;

    Correct Answer
    A. $1a;
  • 6. 

    Which of the following comparison operators is not valid?

    • A.

      ==

    • B.

      !!

    • C.

      !=

    • D.

      >=

    Correct Answer
    B. !!
  • 7. 

    All of the following are valid loops except...

    • A.

      If...not

    • B.

      If

    • C.

      If...else

    • D.

      While

    • E.

      Do...while

    Correct Answer
    A. If...not
  • 8. 

    True or False: PHP is expensive

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 9. 

    Which of the following is not a valid reason for using PHP?

    • A.

      PHP is free

    • B.

      There are libraries and functions that can be added saving time and effort

    • C.

      The language is based on the Open Source License

    • D.

      PHP only runs on the Windows Server Platform

    Correct Answer
    D. PHP only runs on the Windows Server Platform
  • 10. 

    True or False: Logic Operators can join Comparison Operators?

    • A.

      True

    • B.

      False

    Correct Answer
    A. True

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Apr 02, 2018
    Quiz Edited by
    ProProfs Editorial Team
  • Jul 09, 2009
    Quiz Created by
    Jaraber
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.