My Report

PHP Programming Practice Test 4


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 one of the following functions are used to search a string?

2. The developers of PHP deprecated the safe mode feature as of which PHP version.

3. Which function is used to transform PHP's session-handler behavior into that defined by your custom handler?

4. Which one of the following function is used to retrieve the MX records for the domain specified by hostname?

5. What is the full form of DNS?

6. To validate an email address, which flag is to be passed to the function filter_var()?

7. Which function is used to verify whether a variable contains a value?

8. Which of the following PHP function is commonly used when handling authentication via PHP?

i) header()
ii) footer()
iii) inset()
iv) isset()

9. Which one of the following function is used to return an array consisting of various DNS resource records pertinent to a specific domain?

10. An attacker somehow obtains an unsuspecting user's SID and then using it to impersonate the user in order to gain potentially sensitive information. This attack is known as __________


 

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.