Statistics for PHP Quiz for dummies #2

Click here to take the quiz!

General Stats

  • This quiz has been taken 6 times
  • The average score is 11 of 15

Answer Stats

QuestionAnswer% Correct
What is the right way to end a PHP statment?;
100%
Which one of these operators is used to check if two values are equal and if their data type is the same?===
100%
Which of the following functions is used to return the sum of the values in an array?array_sum();
100%
What is the correct way to add 1 to the $count variable in PHP?$count++;
100%
How do you output "Hello World" in PHPecho "Hello World';
100%
How do you get information from a post form in PHP?$_POST[];
100%
Which one of these variables has an illegal name?$variable-name
100%
How do you access a file uploaded via POST method in PHP?$_FILES
80%
How do you create a cookie in PHP?setcookie();
80%
Is PHP case sensitive?True
80%
Which of the following answers is correct about NULL?Both of the above
40%
How do you define a constant in PHP?define
40%
Which of the following is used to redirect thru PHP pages?header();
40%
Which of the below method is used to generate the unique id in PHP?uniqid();
40%
Which of the following magic constant returns the class name in PHP?_CLASS_
20%

Score Distribution

Percentile by Number Answered

Percent of People with Each Score

Your Score History

You have not taken this quiz