PHP Quiz for dummies #2 - Statistics

General Stats
  • This quiz has been taken 15 times
  • The average score is 12 of 15
Answer Stats
Question Answer % 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 PHP echo "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%
Which of the following magic constant returns the class name in PHP? _CLASS_
86%
How do you create a cookie in PHP? setcookie();
86%
Is PHP case sensitive? True
86%
How do you access a file uploaded via POST method in PHP? $_FILES
71%
Which of the below method is used to generate the unique id in PHP? uniqid();
71%
Which of the following is used to redirect thru PHP pages? header();
29%
Which of the following answers is correct about NULL? Both of the above
14%
How do you define a constant in PHP? define
14%
No matching quizzes found
Score Distribution
Percent of People with Each Score
Percentile by Number Answered
Your Score History
You have not taken this quiz