0% found this document useful (0 votes)
126 views

Web Aptitude Test - Short Only

The document contains 20 multiple choice questions related to web development concepts like PHP, MySQL, and web security. The questions cover topics such as the differences between GET and POST methods, defining constants in PHP, the require_once and include_once functions, why CAPTCHAs are used, the difference between mysql_connect and mysql_pconnect, error handling in PHP, dropping and truncating tables in MySQL, the unlink and unset functions, retrieving the number of rows from a MySQL table, registering session variables, comparison operators in PHP, the error control operator in PHP, the explode and implode functions, URL rewriting, retrieving unique values from SQL, removing HTML tags from input data, the importance of headers when sending

Uploaded by

kristr
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
126 views

Web Aptitude Test - Short Only

The document contains 20 multiple choice questions related to web development concepts like PHP, MySQL, and web security. The questions cover topics such as the differences between GET and POST methods, defining constants in PHP, the require_once and include_once functions, why CAPTCHAs are used, the difference between mysql_connect and mysql_pconnect, error handling in PHP, dropping and truncating tables in MySQL, the unlink and unset functions, retrieving the number of rows from a MySQL table, registering session variables, comparison operators in PHP, the error control operator in PHP, the explode and implode functions, URL rewriting, retrieving unique values from SQL, removing HTML tags from input data, the importance of headers when sending

Uploaded by

kristr
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Web Development Aptitude Test

(PHP, MySql, Web Security) Short Questions: 1. 2. 3. 4. 5. 6. What are the difference between GET and POST methods? How do you define a constant in PHP? What are the differences between require_once and include_once? Why Captcha is used in websites? What is the difference between mysql connect and mysql pconnect in PHP? If a php page with this code gives some error what could be the problem? <? echo Hello World; ?> 7. What are the differences between DROP a table and TRUNCATE a table? 8. What is the difference between the functions unlink and unset? 9. How can we find the number of rows in a table using MySQL? Write sql command. 10. How can we register session variable and what is default session time? 11. What is the difference between = = and = = = operator in PHP. Give an example. 12. What is error control operator in PHP. Write with example. 13. What the use is of explode and implode function in PHP. Write with an example. 14. What is URL rewriting? Give an example. 15. How do you find out the unique values in sql? Write an example query. 16. What function will you use to remove html tags from input data in PHP? 17. What is the importance of header while sending email? 18. How do you prevent SQL injection attacks in PHP? 19. How can we get the URL current page? 20. What is md5? Differentiate it with base64.

You might also like