0% found this document useful (0 votes)
11 views2 pages

Web Programming Question Bank

The document outlines topics related to server-side programming, specifically focusing on JSP, servlets, JDBC, PHP, and XML. It includes questions and tasks that cover definitions, comparisons, applications, and detailed explanations of concepts such as cookies, session tracking, and XML structure. The document is structured into two parts for each unit, with Part A consisting of short answer questions and Part B requiring detailed discussions and examples.

Uploaded by

cybercrypter001
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

Web Programming Question Bank

The document outlines topics related to server-side programming, specifically focusing on JSP, servlets, JDBC, PHP, and XML. It includes questions and tasks that cover definitions, comparisons, applications, and detailed explanations of concepts such as cookies, session tracking, and XML structure. The document is structured into two parts for each unit, with Part A consisting of short answer questions and Part B requiring detailed discussions and examples.

Uploaded by

cybercrypter001
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

UNIT-3

SERVER SIDE PROGRAMMING


PART-A
1. Write the code to return the full URL of a document.
2. List the scripting components of JSP.
3. Mention the difference between JSP and servlet.
4. Define cookies.
5. What is JDBC
6. Define servlet container.
7. Write the application of servlet
8. What are the two methods used to send a request to a server?
9. What are the advantage of JSP?
10. What are the types of directive in JSP?
11. How to create statements in JDBC?
12. Compare servlet context and servlet config.

13. Define Servlet.


14. List the usage of cookies.
15. What is driver manager?
16. Compare JDBC and ODBC.
17. Define session tracking.
18. Explain the following request objects. getAttribute(), getParamater ( )
PART-B
19. Discuss in detail about the JSP with an example.
20. Write complete query application for books database using JDBC
21. Explain in detail about the JDBC with an example.
22. Explain in detail about the java servlet Architecture with an example
23. Discuss in detail about the Session Tracking with suitable example.
UNIT-4
PHP AND XML
PART-A
1. Differentiate XML and HTML.

2. Write a servlet program to read user name and password and validate

3. Define XML validators


4. What is XML parser.

5. Explain the use of prg_match in PHP

6. Name any four built in functions in PHP

7. What is PHP?
8. What is the use of web feed?
9. What is XML?
10. Write the rules of XML declaration

11. What is PCDATA?


12. What is well formed XML document?

13. What is CDATA?


14. List the advantages of XML.
PART-B
15. Discuss in detail about the Document type definition with an example.
16. Explain in detail about the Control statements in PHP with suitable
example.
17. Explain various operators used in PHP with an example
18. Explain in detail about the function in PHP with suitable example.
19. Explain in detail about the XML schema and transformation.
20. What is XML? How to write XML? Discuss in detail about the XML
transformation. Write an suitable example.

You might also like