Code No: 155DM R18
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
B. Tech III Year I Semester Examinations, January/February - 2023
WEB PROGRAMMING
JN
(Common to CESE, CSE(AIML), CSE(DS))
Time: 3 Hours Max. Marks: 75
Note: i) Question paper consists of Part A, Part B.
TU
ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions.
iii) In Part B, Answer any one question from each unit. Each question carries 10 marks
and may have a, b as sub questions.
H
PART – A
(25 Marks)
U
1.a) Define Heading Tags in HTML with an example. [2]
b) What is the scope of the variables in JavaScript? [3]
se
c) List string manipulation functions of Java String class. [2]
d) What is a package? How to define it and access it? [3]
e) Define TCP sockets. [2]
d
f) Discuss about Inetaddress class. [3]
g) Define event handling. [2]
h) Write short note on cookies. [3]
pa
i) Define UDDI. [2]
j) Write down the applications of XML. [3]
PART – B
pe
(50 Marks)
2.a) Explain the structure of the HTML webpage with an example.
rs
b) Explain various operators and data types available in java script with examples. [5+5]
OR
3.a) ‘Javascript is referred to as Object based programming language’. Justify with an
20
example.
b) Explain how basic tables and nested tables are created using HTML. [5+5]
4.a) Does Java support multi way selection statement? Justify your answer.
23
b) Can inheritance be applied between interfaces? Justify your answer. [5+5]
OR
5. What is an exception? How are exceptions handled in Java programming? Explain with
suitable program. [10]
6.a) Write a JDBC program to update the amount balance in an account after every
withdrawal. Assume the necessary database table.
b) Discuss about parameter passing in RMI, with examples. [5+5]
OR
7. Explain the following methods bind(), rebind(), createSubcontext(), getAttributes(),
modifyAttributes() methods with syntax. [10]
8.a) What is the role of servlet in web application? What are the differences between
HttpServlet and GenericServlet?
JN
b) Present and explain the life cycle of a servlet . [5+5]
OR
9. What is a Layout manager? Discuss different types of layout managers used in JAVA
in brief. [10]
TU
10.a) How is XML defined? Write down the XML syntax and structure rules. What is DTD?
Discuss its applications.
b) Discuss the role of WSDL web service in AJAX. [5+5]
H
OR
11. Design an XML schema for hospital information management. [10]
U
se
---ooOoo---
d
pa
pe
rs
20
23