Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
79 views

Loyola College (Autonomous) Chennai - 600034 Department of Computer Science Question Bank January 2022

This document contains a question bank for the subject UCS5501/UCA 5501 – Web Programming with PHP & MySQL. It includes questions ranging from 2 marks to 20 marks covering topics related to PHP, MySQL, HTML, CSS, XHTML, and the relationship between PHP, MySQL and Apache. Some of the questions ask about Open Source, features of PHP, control structures in PHP like if/else, switch case, functions, arrays, date functions, file handling, cookies, sessions, database concepts like tables, queries, and more. The question bank is divided into three parts - short answer questions worth 2 marks each, description questions worth 10 marks each, and application based questions worth 20 marks each.

Uploaded by

Prabhu Sanmins
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views

Loyola College (Autonomous) Chennai - 600034 Department of Computer Science Question Bank January 2022

This document contains a question bank for the subject UCS5501/UCA 5501 – Web Programming with PHP & MySQL. It includes questions ranging from 2 marks to 20 marks covering topics related to PHP, MySQL, HTML, CSS, XHTML, and the relationship between PHP, MySQL and Apache. Some of the questions ask about Open Source, features of PHP, control structures in PHP like if/else, switch case, functions, arrays, date functions, file handling, cookies, sessions, database concepts like tables, queries, and more. The question bank is divided into three parts - short answer questions worth 2 marks each, description questions worth 10 marks each, and application based questions worth 20 marks each.

Uploaded by

Prabhu Sanmins
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

LOYOLA COLLEGE (AUTONOMOUS) CHENNAI -600034

DEPARTMENT OF COMPUTER SCIENCE

QUESTION BANK  JANUARY 2022

UCS5501/UCA 5501 –WEB PROGRAMMING WITH PHP & MYSQL

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.

      5.      State the use of “$” sign in PHP.


6. List any two control flow in PHP statements.
7. Define the term function.
8. What is object?
9. Explain Built-in array functions of PHP with example
10. Write down the syntax and usage of isset() and trim() functions.
11. Define constant.
12. What is inheritance?
13. Write the usage of Associative array.
14. Write the syntax to create index and associated array.
15. Write any two date functions with syntax.
16. Write the different modes of file opening.
17. Mention the different types of array in PHP
18. What is XHTML ?Mention the use of it.
19. What is Cookie? Mention the use of it.
20. Write any two differences between POST and GET method.
21. How to destroy cookie?
22. How to check whether the cookie is set or not.
23. What is user authentication?
24. What is Session?Mention the use of it.
25. How to create table in MySQL?
26. What is exception handling?
27. Write the syntax of drop table.
28. what is MySQL?Mention the use of it.
29. Write any four constraints in creating tables in MYSQL
30. Write the difference between PHP and MYSQL
 
 

PART-B

 TEN MARKS

1. Explain the procedure of dynamic web content.

2. Explain the usage of switch case statement in PHP with example.

3. Differentiate FOR and FOR EACH statement.

4. Write short notes on PHP function with suitable example.

5. Write a PHP script perform all basic arithmetic operation using function.

6. Write short notes on PHP Global variables.

7. Write about Multidimensional array in PHP.

8. Explain date functions in PHP.

9.Explain file handling with an example.

10.Explain the significance of cookies with an example.

11. Distinguish between cookies and session.

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.

14 Explain the usage of MYSQL commands in PHP.

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

     12.  Explain in detail about error handling using PHP

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.

You might also like