Loyola College (Autonomous) Chennai - 600034 Department of Computer Science Question Bank January 2022
Loyola College (Autonomous) Chennai - 600034 Department of Computer Science Question Bank January 2022
PART-A
TWO MARKS
1. What is Open Source?
2. What is the reason for using Open source?
3. Give any two features of PHP.
4. Write any two differences between GET method and POST method.
PART-B
TEN MARKS
5. Write a PHP script perform all basic arithmetic operation using function.
12.Write a PHP script to create, retrieve and check whether the cookie is set or not.
13.Write the procedure to execute DML and DDL commands using MySQL console.
15. Write the MYSQL query to create a table with name Book with fields title, author
name, publisher, price with necessary constraints and also write query to insert one
Book.
PART-C
TWENTY MARKS
1. Write any two applications of HTML, CSS, XHTML, PHP and MYSQL.
2. Describe the steps involved in executing a PHP script with an example.
3. What is the relationship between Apache, MySQL and PHP?
4. Explain in detail about looping statement with examples.
5. Discuss different types of array function and string functions in PHP with examples.
6. Explain about different MySQL storage engines.
7. Write the difference between POST and GET method with suitable example.
8. Discuss about form handling with an example.
9. Define Cookie. How to create & delete it?How can we retrieve a Cookie value?
10. Explain in detail about session.
11. Write the PHP script to retrieve data from the employee table and display it in the webpage
13. Write a PHP script to check the user authentication using MySQL.
14. Explain the steps involved in connecting PHP and MySQL to update records from a table
and display them.
1. Explain about the connectivity of PHP & MySQL using an example and retrieve the
records from the table student stored in MySQL.