JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA Not Mentioned WEB TECHNOLOGIES Previous Question Paper (August - 2017 - 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 PHP? What are its salient features?
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.
Explain the structure of a XML document.
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.
Describe servlets.
Answer
Sign in to view the complete answer paper.
Explain implicit objects in JSP.
Answer
Sign in to view the complete answer paper.
Explain client side scripting.
Answer
Sign in to view the complete answer paper.
Part B
What is the difference between GET and POST methods in PHP? Explain it with an example?
Answer
Sign in to view the complete answer paper.
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.
Answer
Sign in to view the complete answer paper.
Write a PHP script to accept the directory name and prints the contents of that directory.
Answer
Sign in to view the complete answer paper.
Discuss session handling and cookies in PHP.
Answer
Sign in to view the complete answer paper.
“XML schema documents supports usage of data types”, Explain the feature and its advantages.
Answer
Sign in to view the complete answer paper.
Write the XML schema for a library system.
Answer
Sign in to view the complete answer paper.
What are the differences between DOM and SAX parsers?
Answer
Sign in to view the complete answer paper.
Explain the document type definition (DTD) sequences.
Answer
Sign in to view the complete answer paper.
Explain the lifecycle of a Servlet.
Answer
Sign in to view the complete answer paper.
Explain reading and initialization of servlet parameters.
Answer
Sign in to view the complete answer paper.
Using an example, explain how http requests and responses are handled in servlets.
Answer
Sign in to view the complete answer paper.
What is a JavaBeans component? How will you use the JSP language elements for accessing Beans in your JSP pages?
Answer
Sign in to view the complete answer paper.
Describe the JSP processing.
Answer
Sign in to view the complete answer paper.
Discuss session tracking in JSP.
Answer
Sign in to view the complete answer paper.
How to create Java Script functions? Explain with a typical example.
Answer
Sign in to view the complete answer paper.
Explain the Ajax applications in detail.
Answer
Sign in to view the complete answer paper.
Write a Javascript to check mobile number (mobile no. should start with 7 or 9)
Answer
Sign in to view the complete answer paper.
Write a JAVA SCRIPT to find the factorial of the given number.
Answer
Sign in to view the complete answer paper.