PHP Assessment One

10 Questions | Attempts: 940
Share
SettingsSettings
Please wait...
  • 1/10 Questions

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

    • //
    • /*
    • /!
Please wait...
About This Quiz

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!

PHP Quizzes & Trivia

Quiz Preview

  • 2. 

    True or False: pHP is expensive

    • True

    • False

    Correct Answer
    A. False
  • 3. 

    Which of the following comparison operators is not valid?

    • ==

    • !!

    • !=

    • >=

    Correct Answer
    A. !!
  • 4. 

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

    • True

    • False

    Correct Answer
    A. False
  • 5. 

    All of the following are valid loops except...

    • If...not

    • If

    • If...else

    • While

    • Do...while

    Correct Answer
    A. If...not
  • 6. 

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

    • PHP is free

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

    • The language is based on the Open Source License

    • PHP only runs on the Windows Server Platform

    Correct Answer
    A. PHP only runs on the Windows Server Platform
  • 7. 

    True or False: Logic Operators can join Comparison Operators?

    • True

    • False

    Correct Answer
    A. True
  • 8. 

    What does pHP stand for?

    • Pre Hypertext Processor

    • Post Hypertext Processor

    • PHP Hypertext Processor

    • Paranoid Hypnotic Peers

    Correct Answer
    A. PHP Hypertext Processor
  • 9. 

    Which of the following variable declarations is illegal?

    • $1a;

    • $a1;

    • $_1;

    • $_a;

    Correct Answer
    A. $1a;
  • 10. 

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

    • Yes.

    • No. You cannot start a variable with _a

    • No. It is missing a character

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

    Correct Answer
    A. No. It is missing a character

Quiz Review Timeline (Updated): Apr 2, 2018 +

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.