Jawaharlal Nehru Technological University Hyderabad
Jawaharlal Nehru Technological University Hyderabad MCA 2019 WEB TECHNOLOGIES Previous Question Paper (April/May - 2019 - R17)
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
Briefly describe the data types of PHP.
Answer
PHP supports several data types categorized into scalars, compounds, and special types:
- Integer: Whole numbers without decimals.
- Float (Double): Numbers with fractional parts.
- String: A sequence of characters.
- Boolean: Represents true or false.
- Array: Stores multiple values in a single variable.
- Object: Instances of user-defined classes.
- NULL: Represents a variable with no value.
- Resource: Holds references to external resources like database connections.
What is DTD? Give an example.
Answer
A Document Type Definition (DTD) is a set of markup declarations that define the structure, elements, and attributes allowed in an XML document. It ensures that the XML document follows a specific schema.
Example:
<!ELEMENT note (to,from,heading,body)>
<!ELEMENT to (#PCDATA)>
<!ELEMENT from (#PCDATA)>
<!ELEMENT heading (#PCDATA)>
<!ELEMENT body (#PCDATA)>What is CGI?
Answer
Sign in to view the complete answer paper.
Write a short note on implicit JSP objects.
Answer
Sign in to view the complete answer paper.
What do you mean by client side scripting languages? List alternatives for Java script.
Answer
Sign in to view the complete answer paper.
Part B
What is a PHP Session? Explain with an example.
Answer
Sign in to view the complete answer paper.
Briefly describe various file handlings functions in PHP.
Answer
Sign in to view the complete answer paper.
Explain the following terms: a) SAX parser b) XML XSLT c) XML namespaces
Answer
Sign in to view the complete answer paper.
Explain different ways of accessing nodes in DOM.
Answer
Sign in to view the complete answer paper.
What is Servlet? Describe the life cycle of a Servlet.
Answer
Sign in to view the complete answer paper.
What are cookies? Explain how to set and get cookies using an illustrative example.
Answer
Sign in to view the complete answer paper.
Describe session management in JSP?
Answer
Sign in to view the complete answer paper.
Write a JSP page with validation and formatting Using a Bean?
Answer
Sign in to view the complete answer paper.
Explain Control structures in JavaScript.
Answer
Sign in to view the complete answer paper.
Write a simple AJAX script to update a small portion of a web page for every 10 seconds.
Answer
Sign in to view the complete answer paper.