JNTU
JNTU MCA 2019 WEB TECHNOLOGIES Previous Question Paper (December - 2019 - R15)
Note: This question paper contains two parts A and B. Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks and may have a, b, c as sub questions.
Part A
5 x 5 Marks = 25
What is the importance of cookies? How does PHP support them?
Answer
Cookies are small text files stored on a client's browser that allow web applications to maintain state in a stateless HTTP environment. They are essential for session management, user personalization, and tracking user preferences across multiple pages. PHP supports cookies through the setcookie() function, which sends a cookie to the browser, and the $_COOKIE superglobal array, which is used to retrieve the values of cookies sent by the client.
Which data types are used in XML schema?
Answer
XML Schema (XSD) categorizes data types into two main groups:
- Simple Types: These include built-in primitive types (e.g., string, boolean, decimal, integer, float, date, time) and derived types created by restricting or extending primitive types.
- Complex Types: These allow elements to contain attributes and other child elements. They are defined using indicators like sequence, choice, and all to specify the structure and cardinality of the content.
What are the common problems of common gateway interface technology?
Answer
Sign in to view the complete answer paper.
Give the anatomy of a java server page.
Answer
Sign in to view the complete answer paper.
List the properties and methods of JavaScript array.
Answer
Sign in to view the complete answer paper.
Part B
5 x 10 Marks = 50
Write a PHP program to display bill amount of a customer against customer number. Database customer table will have these details.
Answer
Sign in to view the complete answer paper.
Explain various file operations in PHP file handling with suitable code segments.
Answer
Sign in to view the complete answer paper.
How can both internal and external DTDs be used in an XML file? Explain with examples.
Answer
Sign in to view the complete answer paper.
Write a program to display the content of a DOM tree and also discuss the procedure for manipulating it.
Answer
Sign in to view the complete answer paper.
Describe servlet architecture with suitable figure.
Answer
Sign in to view the complete answer paper.
Differentiate between generic servlet and http servlet.
Answer
Sign in to view the complete answer paper.
What are the two ways of passing parameters to a servlet? Explain briefly with necessary code.
Answer
Sign in to view the complete answer paper.
Explain about the implicit objects in JSP.
Answer
Sign in to view the complete answer paper.
How is data shared between java server pages? Give illustration.
Answer
Sign in to view the complete answer paper.
Explain the basic steps to be followed by java server page to work with java database connectivity.
Answer
Sign in to view the complete answer paper.
Demonstrate function overloading in JavaScript.
Answer
Sign in to view the complete answer paper.
How to associate functions with objects in JavaScript?
Answer
Sign in to view the complete answer paper.
Write a script to manipulate a HTML document using document object model interface and explain its working.
Answer
Sign in to view the complete answer paper.