CS2301 - Internet Programming Question Paper
CS2301 - Internet Programming Question Paper
Page 1 of 3
displays it on a webpage.
Part B - (5 x 16 = 80 Marks)
CO1, K-3 11 (a) (i) Utilize the HTTP request message and describe how each part of the 8
message is used in a real time scenario.
CO1, K-3 11 (a) (ii) Make use of HTML5 semantic elements to structure the contents of 8
a portfolio webpage and provide Code snippets.
(OR)
CO1, K-3 11 (b) (i) Develop a web page for a toy shop using table and images. 8
CO1, K-3 11 (b) (ii) Construct a HTML page that displays basketball scores at national 8
games in which the team names have their respective team colours.
The score of the leading / winning team should appear larger and in
a different font than the losing team.
CO2, K-3 12 (a) Develop a HTML form for student registration and apply required 16
validation using JavaScript regular expression.
(OR)
CO2, K-3 12 (b) Develop a DHTML program to demonstrate various mouse events 16
and click events.
CO3, K-2 13 (a) (i) Explain the lifecycle of a Servlet. What are the key methods 8
involved in the lifecycle?
CO3, K-3 13 (a) (ii) Consider a database table with the following schema (PNR Number, 8
status). Develop a Servlet program to display the status given PNR
number.
(OR)
CO3, K-2 13 (b) (i) Explain the architecture of JSP in detail. 8
CO3, K-3 13 (b) (ii) Develop a JSP application to display the total mark of a student by 8
accepting the marks of 3 subjects using HTML forms.
CO4, K-3 14 (a) (i) Develop a PHP script that starts a session and stores user data such 10
as username and role.
CO4, K-2 14 (a) (ii) Explain the string concepts in PHP with suitable examples. 6
(OR)
Page 2 of 3
CO4, K-3 14 (b) (i) Develop a PHP application to store and retrieve personal details of a 10
customer from “CUST” table.
CO4, K-2 14 (b) (ii) Explain the concept of associate array in PHP and also explain how 6
do associative arrays differ from indexed arrays?
CO5, K-2 15 (a) Explain XML. How the customer information in XML is retrieved 16
using XSL?
(OR)
CO5, K-2 15 (b) Explain the AJAX client-server architecture. How does it enhance 16
web applications?
Page 3 of 3