My Report

PHP Programming Practice Test 5


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. Which function is used to determine whether the variable's value is either TRUE or FALSE?

2. Which one of the following methods is responsible for sending the query to the database?

3. Before you try to process the file, you need to make sure that your $err value is equivalent to _________

4. ([\w-]+) will match ___________

5. Which one of the following statements is used to create a table?

6. In which version of PHP was MySQL Native Driver(also known as mysqlnd) introduced?

7. Which function do you have to use to check whether the $path you've stored exists?

8. Which method retrieves each row from the prepared statement result and assigns the fields to the bound results?

9. Fill in the blank with the best option. An Object is a/an ________ of a class.

10. There are two objects-
$product1 = new Shop();
$product2 = new Shop();
Which one of the following statements is right about them?


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.