0% found this document useful (0 votes)
44 views

CS2301 - Internet Programming Question Paper

CS2301 - Internet Programming End Semester Question paper

Uploaded by

vinayagam b
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)
44 views

CS2301 - Internet Programming Question Paper

CS2301 - Internet Programming End Semester Question paper

Uploaded by

vinayagam b
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
You are on page 1/ 3

Reg.No.

Question Paper Code: 2101C079

B.E./B.Tech. DEGREE EXAMINATIONS, NOV’2024


Fifth Semester
Computer Science and Engineering
CS2301- Internet Programming
Common To CSE & ADS
(Regulations: KCET R2021 (CBCS))
Time: 3 Hours Maximum Marks: 100
Answer ALL Questions
BTL, CO Q. No. Part A - (10 x 2 = 20 Marks) Marks
CO1, K-2 1. Compare inline, embedded and external CSS. 2
CO1, K-2 2. Which of the following is NOT a valid IP address? Justify Your 2
Answer.
A) 192.168.1.1 B) 255.255.255.0
C) 300.12.34.56 D) 172.16.254.1
CO2, K-2 3. Interpret the concept of DOM Model in JavaScript. 2
CO2, K-2 4. Which of the following is NOT a JavaScript framework? Justify 2
Your Answer.
A) Angular B) React
C) jQuery D) Bootstrap
CO3, K-2 5. Explain how cookies work in Java Servlets? 2
CO3, K-2 6. Which class is used to establish a connection to a database using 2
JDBC? Justify Your Answer.
A) Connection Manager B) Driver Manager
C) JDBC Driver D) Database Manager
CO4, K-2 7. Summarize the role of PHP in server-side scripting. 2
CO4, K-2 8. Which function is used to read a file in PHP? Justify Your Answer. 2
A) readfile() B) file_read()
C) getfile() D) fileopen()
CO5, K-2 9. Outline the steps required to validate an XML document using DTD 2
CO5, K-2 10. Write a simple AJAX function that retrieves data from a text file and 2

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?

Assessment Pattern as per Bloom’s Taxonomy:


Remember Understand Apply Analyze
(K-1) (K-2) (K-3) (K-4) Total
0 80 100 0 180

Page 3 of 3

You might also like