JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2018 WEB TECHNOLOGIES Previous Question Paper (June/July - 2018 - R13)
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
What is the importance of cookies in web applications?
Answer
Cookies are essential in web applications because HTTP is a stateless protocol. They allow servers to store small pieces of data on the client-side, enabling session management, user authentication, and personalization. By tracking user activity across multiple pages, cookies facilitate features like shopping carts, user preferences, and persistent login states.
What are the merits of XHTML over HTML?
Answer
XHTML provides several advantages over HTML by enforcing stricter syntax rules:
- Well-formedness: All tags must be properly nested and closed, reducing parsing errors.
- Case Sensitivity: XHTML requires all tags and attributes to be in lowercase, ensuring consistency.
- Interoperability: Because it is based on XML, XHTML documents are easily processed by various user agents and XML-based tools.
- Extensibility: It allows for the integration of other XML-based languages, such as MathML or SVG, within the document.
What is the need of common gateway interface? List problems associated with it.
Answer
Sign in to view the complete answer paper.
Compare and contrast servlet with Java server page.
Answer
Sign in to view the complete answer paper.
Is Javascript a strongly typed language? Justify your answer.
Answer
Sign in to view the complete answer paper.
PART - B
Give PHP code to read customer ID, Month and Year and display the mobile bill of that customer fetching the data from the database. Assume suitable table schema for data.
Answer
Sign in to view the complete answer paper.
Differentiate between text and binary files, discuss PHP built-in functions for file handling.
Answer
Sign in to view the complete answer paper.
Construct XML schema and DTDs to store university admission data.
Answer
Sign in to view the complete answer paper.
Demonstrate parsing of XML document using SAX parser.
Answer
Sign in to view the complete answer paper.
With suitable code describe servlet life cycle.
Answer
Sign in to view the complete answer paper.
Write servlet code to implement servlet parameter passing and explain its execution.
Answer
Sign in to view the complete answer paper.
What are the various directives used in java server pages? Discuss briefly each one of them with suitable examples.
Answer
Sign in to view the complete answer paper.
How to track a session in session management through java server pages? Explain with illustrations.
Answer
Sign in to view the complete answer paper.
Write java script to perform validation of user registration form. Phone number should have exactly 10 digits, Name should not have numbers so on.
Answer
Sign in to view the complete answer paper.
What is AJAX? Explain applications for AJAX and compare them with Java applications.
Answer
Sign in to view the complete answer paper.