Questionbank FINAL
Questionbank FINAL
select=1&part=1&order=1&examyear=2024 -- 2025&oddeven=ODD&unit=0&subcode=CS22502&Print=1
Question Bank
Subject:CS22502 - Internet Programming
Unit-All
Course Outcomes (COs)
CO 1 Construct a basic website using HTML and Cascading Style Sheets
CO 2 Build dynamic web page with validation using Java Script objects and by applying different event handling mechanisms.
CO 3 Develop server side programs using servlets and JSP.
CO 4 Construct simple web pages in PHP and to represent data in XML format.
CO 5 Develop interactive web applications with Angular and Node.js frameworks
CL-Cognitive Level; Re-Remember;Un-Understand;Ap-Apply;An-Analyze;Ev-Evaluate;Cr-Create;
Q. No. Question Marks CL CO
Unit-1
Part-A
1. Differentiate website and web server. 2 Un CO1
2. What is a computer communication protocol? List few protocols used by the Internet and the WWW. 2 Re CO1
3. List some features of the internet. 2 Re CO1
4. Define Internet. 2 Re CO1
5. What is DNS? 2 Re CO1
6. Differentiate GET and POST method. 2 Un CO1
7. What is the primary protocol used for communication between web browsers and web servers? Explain. 2 Un CO1
8. Give the structure of HTTP request message. 2 Re CO1
9. Define URN. 2 Re CO1
10. List some common HTTP/1.1 status codes along with their meanings. 2 Re CO1
11. What are the tasks performed by web browser? 2 Un CO1
12. What are secure servers? 2 Re CO1
13. What is the use of anchor element in HTML? Give example. 2 Re CO1
14. List the image formats used by web developers and write HTML code to insert an image. 2 Re CO1
15. What are the types of lists in HTML? Give examples. 2 Re CO1
Part-B
1. Explain the concept of Internet with its evolution and connection types. Describe the protocols used in the internet. 16 Un CO1
2. What is CSS 3.0? Explain the types of CSS with examples. 16 Un CO1
3. Explain the types of selectors used in CSS with suitable examples. 16 Un CO1
192.168.0.1/5staff/question/qbankprint-all.jsp?select=1&part=1&order=1&examyear=2024 -- 2025&oddeven=ODD&unit=0&subcode=CS22502&Print=1 1/5
8/27/24, 12:13 PM 192.168.0.1/5staff/question/qbankprint-all.jsp?select=1&part=1&order=1&examyear=2024 -- 2025&oddeven=ODD&unit=0&subcode=CS22502&Print=1
Part-A
1. What is the need for JSTL tags? 2 Re CO2
2. What are the three methods that are central to the life cycle of a servlet? 2 Re CO2
3. Define JDBC. 2 Re CO2
4. What are servlets? 2 Re CO2
5. What are the differences between servlets and JSP? 2 Un CO2
6. Write the applications of servlets. 2 Re CO2
7. What is servlet container? 2 Re CO2
8. List the uses of cookies. 2 Re CO2
9. Differentiate GET and POST method. 2 Un CO2
10. What are the session tracking techniques? 2 Re CO2
11. .What is a cookie? 2 Re CO2
12. What is hidden form field? 2 Re CO2
13. Explain how session tracking is achieved by URL Rewriting. 2 Un CO2
14. Define JSP. 2 Re CO2
15. What are scriptlets? 2 Re CO2
Part-B
1. i. Draw the Servlet architecture and explain its working. (8) ii. Discuss the advantages and disadvantages of servlets. (5) 16 Un CO2
2. Explain cookies with an example program. 16 Un CO2
3. Design a form that reads a string from the user. When the user submits a form, invoke a servlet that reads the string and split it
16 Ap CO4
into sentences.
4. Explain in detail the standard actions in JSP. 16 Un CO2
5. Discuss Java Database Connectivity and its implementation. 16 Un CO2
6. What is session handling? With an example program demonstrate session handling. 16 Un CO2
7. Demonstrate core and formatting tags in JSTL. 16 Un CO2
8. Develop a JSP program to display the grade of a student by accepting the marks of five subjects. 16 Ap CO4
9. Show how session tracking is achieved by URL rewriting. 16 Ap CO4
10. Summarize the servlet interface and its methods. 16 Un CO2
Unit-4
Part-A
1. List any four features of PHP. 2 Re CO4
2. Explain variable scope in PHP with a simple example. 2 Un CO4
3. What is meant by user-defined function in PHP. Give an example. 2 Un CO4
4. Explain POSIX regular expression functions with an example. 2 Un CO4
5. Explain form validation in PHP with an example. 2 Un CO4
6. Write the steps to connect a PHP program with a database. 2 Un CO4
7. Write a PHP program to add two numbers. 2 Un CO4
192.168.0.1/5staff/question/qbankprint-all.jsp?select=1&part=1&order=1&examyear=2024 -- 2025&oddeven=ODD&unit=0&subcode=CS22502&Print=1 3/5
8/27/24, 12:13 PM 192.168.0.1/5staff/question/qbankprint-all.jsp?select=1&part=1&order=1&examyear=2024 -- 2025&oddeven=ODD&unit=0&subcode=CS22502&Print=1