Jawaharlal Nehru Technological University Hyderabad
Jawaharlal Nehru Technological University Hyderabad B. Tech III WEB TECHNOLOGIES Previous Question Paper (February - 2023 - R16)
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
How to define a function in PHP?
Answer
A function in PHP is defined using the function keyword followed by the function name, parentheses for parameters, and a block of code enclosed in curly braces. Example: function myFunc() { echo 'Hello'; }.
Explain the structure of PHP script with an example.
Answer
A PHP script consists of PHP code enclosed within the <?php ... ?> tags. It can be embedded anywhere within an HTML document. Example:
<html>
<body>
<?php
echo "Hello World";
?>
</body>
</html>What is the need of parsers in Java?
Answer
Sign in to view the complete answer paper.
Explain the naming rules in XML.
Answer
Sign in to view the complete answer paper.
What is a Servlet?
Answer
Sign in to view the complete answer paper.
Explain the features of XHTML.
Answer
Sign in to view the complete answer paper.
What are Java Beans?
Answer
Sign in to view the complete answer paper.
Explain JSP directives.
Answer
Sign in to view the complete answer paper.
What is the purpose of ‘this’ operator in Java Script?
Answer
Sign in to view the complete answer paper.
Explain the features of Java Script.
Answer
Sign in to view the complete answer paper.
Part B
Explain different types of arrays used in PHP with examples.
Answer
Sign in to view the complete answer paper.
How to read data from web forms in PHP? Explain.
Answer
Sign in to view the complete answer paper.
Explain database connectivity in PHP with reference to MYSQL.
Answer
Sign in to view the complete answer paper.
Discuss about the following file operations: opening and closing in PHP.
Answer
Sign in to view the complete answer paper.
What is XML schema? State its purpose and its advantages over DTD.
Answer
Sign in to view the complete answer paper.
What are the XML namespaces and illustrate with a code snippet how are they declared?
Answer
Sign in to view the complete answer paper.
In detail, explain the DOM parsers in JAVA with code snippets and illustrations.
Answer
Sign in to view the complete answer paper.
Develop a servlet to handle HTTP POST request.
Answer
Sign in to view the complete answer paper.
Explain the Servlet API.
Answer
Sign in to view the complete answer paper.
Explain about using cookies and sessions.
Answer
Sign in to view the complete answer paper.
Discuss the process of connecting to a database using JDBC in servlets.
Answer
Sign in to view the complete answer paper.
Explain the components of a JSP page.
Answer
Sign in to view the complete answer paper.
Discuss various implicit objects in JSP.
Answer
Sign in to view the complete answer paper.
Explain the creation and usage of Java Beans in a JSP page.
Answer
Sign in to view the complete answer paper.
Explain the database connectivity in JSP.
Answer
Sign in to view the complete answer paper.
Explain the control structures used in Java Script.
Answer
Sign in to view the complete answer paper.
Discuss about event handlers in Java Script.
Answer
Sign in to view the complete answer paper.
With an example, explain what is an Ajax application and its implementation.
Answer
Sign in to view the complete answer paper.