JNTU
JNTU B.Tech III WEB TECHNOLOGIES Previous Question Paper (August/September - 2024 - R16)
Note: i) Question paper consists of Part A, Part B. ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions. iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.
PART - A
What is the use of $ symbol in PHP, explain with an example.
Answer
In PHP, the $ symbol is used to declare and reference variables. Every variable name must start with this sign, followed by the variable name (e.g.,
List various String Functions in PHP.
Answer
Common PHP string functions include:
- strlen(): Returns the length of a string.
- strpos(): Finds the position of a substring within a string.
- str_replace(): Replaces occurrences of a search string with another string.
- strtolower() / strtoupper(): Converts a string to lowercase or uppercase.
- substr(): Returns a part of a string.
Compare CDATA and PCDATA.
Answer
Sign in to view the complete answer paper.
Distinguish between DTD and XSD.
Answer
Sign in to view the complete answer paper.
What is CGI? Why Servlet is better than CGI.
Answer
Sign in to view the complete answer paper.
What is JDBC Driver and list the types of JDBC drivers?
Answer
Sign in to view the complete answer paper.
What are the directives in jsp?
Answer
Sign in to view the complete answer paper.
What is the significance of Java Bean?
Answer
Sign in to view the complete answer paper.
What is a variable? How to declare variables in Java script?
Answer
Sign in to view the complete answer paper.
How to create and use arrays in Java script?
Answer
Sign in to view the complete answer paper.
PART - B
Design a PHP program to print reverse of any number.
Answer
Sign in to view the complete answer paper.
Define Session and Cookies. Explain with an example PHP script.
Answer
Sign in to view the complete answer paper.
Explain about predefined and user defined functions in PHP with an example.
Answer
Sign in to view the complete answer paper.
List and explain the Control structures used in PHP.
Answer
Sign in to view the complete answer paper.
How can both Internal and External DTDs are used in XML File? Show with an example.
Answer
Sign in to view the complete answer paper.
Write Java program that extracts the data of XML document using DOM.
Answer
Sign in to view the complete answer paper.
Explain about various types of XML Parsers.
Answer
Sign in to view the complete answer paper.
Describe the various XML Schema Data types.
Answer
Sign in to view the complete answer paper.
What is session tracking? Explain the way of handling session in servlet.
Answer
Sign in to view the complete answer paper.
What is statement? Explain the types of statements in JDBC.
Answer
Sign in to view the complete answer paper.
Write a program to access database username and password as servlet initialization parameters and display data from employee table?
Answer
Sign in to view the complete answer paper.
What is servlet? Explain the life cycle of servlet.
Answer
Sign in to view the complete answer paper.
How does JDBC allows to access database in JSP?
Answer
Sign in to view the complete answer paper.
Explain in detail the Structure of JSP Page?
Answer
Sign in to view the complete answer paper.
Explain about the anatomy of JSP.
Answer
Sign in to view the complete answer paper.
Discuss about implicit objects in JSP.
Answer
Sign in to view the complete answer paper.
Define Event. How events are handled in JavaScript.
Answer
Sign in to view the complete answer paper.
Develop a Simple AJAX Application.
Answer
Sign in to view the complete answer paper.
Explain Document Object Model with suitable examples and code.
Answer
Sign in to view the complete answer paper.
Explain scope of variables with example Java script.
Answer
Sign in to view the complete answer paper.