JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA Not Mentioned WEB TECHNOLOGIES Previous Question Paper (August - 2017 - R13)

MCA | Not Mentioned | IV | R13 | August - 2017

Answer PaperPaper Code: 814BCMaximum Marks: 60Time: 3 Hours

Note: This question paper contains two parts A and B. Part A is compulsory which carries 20 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 8 marks and may have a, b, c as sub questions.

Part A

120 marks
a

What is PHP? What are its salient features?

4 marks

Answer

PHP (Hypertext Preprocessor) is a widely-used, open-source server-side scripting language designed specifically for web development. It is embedded directly into HTML code to generate dynamic content.

Salient features include:

  • Server-Side Execution: Scripts are executed on the server, and the resulting HTML is sent to the client.
  • Cross-Platform Compatibility: Runs on various operating systems like Windows, Linux, and macOS.
  • Database Support: Extensive support for databases such as MySQL, PostgreSQL, and Oracle.
  • Ease of Learning: Simple syntax that is easy for beginners to grasp while offering advanced features for professional developers.
b

Explain the structure of a XML document.

4 marks

Answer

An XML document follows a hierarchical structure consisting of the following components:

  • XML Declaration: The optional first line, e.g.,
    <?xml version="1.0" encoding="UTF-8"?>
    , specifying the version and encoding.
  • Root Element: Every XML document must have exactly one root element that contains all other elements.
  • Elements: The building blocks consisting of start tags, end tags, and content (e.g., <name>John</name>).
  • Attributes: Provide additional information about elements, defined within the start tag as key-value pairs.
  • Prolog/Processing Instructions: Optional metadata or instructions for the XML processor.
c

Describe servlets.

4 marks

Answer

Sign in to view the complete answer paper.

d

Explain implicit objects in JSP.

4 marks

Answer

Sign in to view the complete answer paper.

e

Explain client side scripting.

4 marks

Answer

Sign in to view the complete answer paper.

Part B

28 marks
a

What is the difference between GET and POST methods in PHP? Explain it with an example?

4 marks

Answer

Sign in to view the complete answer paper.

b

Write a PHP script to accept name of directory from the user and display all files in that directory with their name, size, time of last access, time of last modification and number of blocks allocated to the file.

4 marks

Answer

Sign in to view the complete answer paper.

OR
38 marks
a

Write a PHP script to accept the directory name and prints the contents of that directory.

4 marks

Answer

Sign in to view the complete answer paper.

b

Discuss session handling and cookies in PHP.

4 marks

Answer

Sign in to view the complete answer paper.

48 marks
a

“XML schema documents supports usage of data types”, Explain the feature and its advantages.

4 marks

Answer

Sign in to view the complete answer paper.

b

Write the XML schema for a library system.

4 marks

Answer

Sign in to view the complete answer paper.

OR
58 marks
a

What are the differences between DOM and SAX parsers?

4 marks

Answer

Sign in to view the complete answer paper.

b

Explain the document type definition (DTD) sequences.

4 marks

Answer

Sign in to view the complete answer paper.

68 marks
a

Explain the lifecycle of a Servlet.

4 marks

Answer

Sign in to view the complete answer paper.

b

Explain reading and initialization of servlet parameters.

4 marks

Answer

Sign in to view the complete answer paper.

OR
7

Using an example, explain how http requests and responses are handled in servlets.

8 marks

Answer

Sign in to view the complete answer paper.

8

What is a JavaBeans component? How will you use the JSP language elements for accessing Beans in your JSP pages?

8 marks

Answer

Sign in to view the complete answer paper.

OR
98 marks
a

Describe the JSP processing.

4 marks

Answer

Sign in to view the complete answer paper.

b

Discuss session tracking in JSP.

4 marks

Answer

Sign in to view the complete answer paper.

108 marks
a

How to create Java Script functions? Explain with a typical example.

4 marks

Answer

Sign in to view the complete answer paper.

b

Explain the Ajax applications in detail.

4 marks

Answer

Sign in to view the complete answer paper.

OR
118 marks
a

Write a Javascript to check mobile number (mobile no. should start with 7 or 9)

4 marks

Answer

Sign in to view the complete answer paper.

b

Write a JAVA SCRIPT to find the factorial of the given number.

4 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 MCA Not Mentioned IV, August - 2017, R13.

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

Other papers in WEB TECHNOLOGIES

Loading Question Papers

Fetching data from database...