JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech III WEB TECHNOLOGIES Previous Question Paper (July - 2023 - R16)

B.Tech | III | III-II | R16 | July - 2023

Answer PaperPaper Code: 136ENMaximum Marks: 75Time: 3 Hours

Note: i) Question paper consists of Part A, Part B. 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.

Part A

125 marks
a

What is the use of default parameter in PHP?

2 marks

Answer

Default parameters in PHP allow a function to use a predefined value if no argument is passed for that parameter during the function call. This makes functions more flexible and prevents errors when optional arguments are omitted.

b

Write a PHP code to illustrate returning values.

3 marks

Answer

The following code demonstrates returning a value from a function:

function add($a, $b) {
    return $a + $b;
}
$result = add(5, 10);
echo $result; // Outputs 15
c

Define XML. What are the advantages of XML?

2 marks

Answer

Sign in to view the complete answer paper.

d

Illustrate the XML attributes and values in brief.

3 marks

Answer

Sign in to view the complete answer paper.

e

State the differences between GET and POST methods.

2 marks

Answer

Sign in to view the complete answer paper.

f

List out the classes and interfaces in javax.servlet.* package.

3 marks

Answer

Sign in to view the complete answer paper.

g

What are JSP Implicit Objects?

2 marks

Answer

Sign in to view the complete answer paper.

h

Mention the JDBC drivers and explain JDBC-ODBC bridge driver.

3 marks

Answer

Sign in to view the complete answer paper.

i

List the Java script event handlers.

2 marks

Answer

Sign in to view the complete answer paper.

j

Explain the features of Java script.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Develop a Program to create simple Login and Logout example using sessions in PHP.

5 marks

Answer

Sign in to view the complete answer paper.

b

Illustrate the use of break and continue in PHP.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Develop a program to illustrate the parameter passing techniques in PHP.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the use of binary files in PHP. Give an example.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Explain different data types in XML schema.

5 marks

Answer

Sign in to view the complete answer paper.

b

Define SAX. How SAX parses the XML file? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Determine the procedure for validating XML documents against a schema.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about various types of XML parsers.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Illustrate the handling of http request and responses with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Examine the life cycle of a Java servlet and write a simple servlet that reads three parameters from the form data.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Explain Session tracking in Servlets with a suitable example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Compare server side programming and client side programming. Give an example.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Illustrate with example, database connection through JSP.

5 marks

Answer

Sign in to view the complete answer paper.

b

Develop a JSP program to display current date and time and explain java code snippets.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

How to create and make use of beans in JSP pages? Demonstrate with example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Demonstrate a program to create and read the cookie for the given cookie name as “rollno” and its value as “123”.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Differentiate between Client side Java Script and Server side Java Script.

5 marks

Answer

Sign in to view the complete answer paper.

b

Demonstrate a JavaScript to display whether given number is a prime or not.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Implement a Java script to sort the given elements in ascending order.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the two ways of calling a function with examples.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of WEB TECHNOLOGIES from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech ECM III III-II, July - 2023, R16.

For the solved question paper with answers, switch to the Answer Paper tab.

Loading Question Papers

Fetching data from database...