JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech III Year WEB PROGRAMMING Previous Question Paper (August - 2022 - R18)
Answer any five questions
All questions carry equal marks
Main
Differentiate between server side scripting and client side scripting.
Answer
Client-side scripting runs on the user's web browser, allowing for dynamic interaction and immediate feedback without constant server requests. It uses languages like JavaScript to manipulate the DOM and handle events. Conversely, server-side scripting executes on the web server, processing data, interacting with databases, and generating dynamic content before sending the final HTML to the client. Examples include PHP, Node.js, and Python. While client-side scripts are visible to the user and can be inspected, server-side code remains hidden from the client, providing a more secure environment for sensitive logic and data operations.
Describe the primitive data types that JavaScript uses.
Answer
JavaScript provides several primitive data types that represent single, immutable values. These include:
- String: Represents a sequence of characters used for text, enclosed in single or double quotes.
- Number: Represents both integer and floating-point numbers. JavaScript uses the IEEE 754 double-precision format.
- BigInt: Used for representing integers larger than the maximum safe integer limit (2^53 - 1).
- Boolean: Represents logical entities with two possible values: true or false.
- Undefined: A variable that has been declared but has not yet been assigned a value automatically holds this type.
- Null: Represents the intentional absence of any object value. It is a primitive, though typeof null returns 'object' due to a historical bug.
- Symbol: Introduced in ES6, it creates unique, immutable identifiers that can be used as object property keys to avoid naming collisions.
What are the control structures used in Java Script? Discuss with examples.
Answer
Sign in to view the complete answer paper.
With syntax, explain the built in functions of java script.
Answer
Sign in to view the complete answer paper.
What are the operators available in java? Discuss about operator hierarchy.
Answer
Sign in to view the complete answer paper.
Discuss about try, catch and finally with examples.
Answer
Sign in to view the complete answer paper.
What are the uses of super keyword? Discuss how to access the member of a super class? Give example.
Answer
Sign in to view the complete answer paper.
Define package. Explain different types of packages and their advantages.
Answer
Sign in to view the complete answer paper.
What JDBC? Explain the roles and responsibilities of JDBC API.
Answer
Sign in to view the complete answer paper.
Write a program to delete data from the database using JDBC.
Answer
Sign in to view the complete answer paper.
Explain how to handle database queries.
Answer
Sign in to view the complete answer paper.
What is Driver Manager Class? Explain the types of JDBC Driver with suitable diagram.
Answer
Sign in to view the complete answer paper.
Write a java program for handling Mouse Events.
Answer
Sign in to view the complete answer paper.
What are AWT components? Explain with suitable examples.
Answer
Sign in to view the complete answer paper.
Explain document structure description with example code in XML.
Answer
Sign in to view the complete answer paper.
Write a detailed note on UDDI and WSDL.
Answer
Sign in to view the complete answer paper.