Question Bank Web Programming
Question Bank Web Programming
SECTION –B
1. Define web applications and list three key characteristics.
2. What is server-side scripting? Give two examples.
3. Define virtual hosting in web servers.
4. How do you define a constant in PHP?
5. Differentiate between while and do-while loops.
6. Differentiate between pass-by-value and pass-by-reference.
7. How to upload a file in PHP?
8. What is a class and object in PHP?
9. Write a SQL query to fetch data from a table.
10. Write a query to join two tables.
SECTION –C
1. Explain normalization in MySQL with examples.
2. Compare cookies and sessions in PHP.
3. How do you handle errors in PHP functions?
4. Explain nested if-else with an example in PHP.
5. Explain the client-server architecture with a diagram. How does it apply to web
applications?
6. How does a load balancer improve web server efficiency?