Web and Internet Technology
Instructions:
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
Consider the following statements about a Web 2.0 application:
(i) Users can generate and modify content
(ii) The application supports collaboration among users
(iii) Every interaction requires the server to send a completely new static HTML document
(iv) User participation is an important part of the application
Which statements are consistent with the Web 2.0 paradigm?Consider the following statements:
(i) HTML is primarily concerned with structuring/presenting web documents
(ii) XML allows user-defined tags
(iii) CSS is primarily used to define the presentation of HTML/XML content
(iv) XSL is associated with transforming/presenting XML data
Which combination is correct?A JavaScript program needs to:
(i) Open a new browser window
(ii) Determine the current URL
(iii) Navigate to another URL
Which browser-related object is most relevant?Consider the following program:
<student roll="101">
<name>Ravi</name>
</student>
Which statement is correct?An XML document contains thousands of elements. An application needs to identify a specific fragment within that document rather than merely identifying the complete document. Which technology is specifically intended for this purpose?
Which situation most strongly motivates using XML Schema rather than a basic DTD?
Suppose a program needs to repeatedly navigate from a parent XML element to its child elements and modify different nodes in memory.
Which model is more suitable?A web page retrieves updated XML data and modifies only a table on the page. The browser does not reload the entire HTML document. Which property of AJAX is being demonstrated?
Suppose an AJAX request has successfully received an XML response. Which sequence is most appropriate?
Consider an ASP application in which a server-side object has:
(i) Properties describing its state
(ii) Methods performing operations
Which statement is consistent with the ASP topics in the syllabus?
Explain N-tier software architecture with a suitable diagram and describe the role of each tier.
Describe the evolution of the World Wide Web from Web 1.0 to Web 2.0 with a suitable case study. Discuss the major characteristics, technologies and collaborative features of Web 2.0 applications.
Design an HTML user registration form with an appropriate layout structure using the following form controls:
(i) Name
(ii) Password and Confirm Password
(iii) Gender
(iv) Skills/Interests
(v) Country
(vi) Submit and Reset
Write the complete HTML code using the <form> tag and appropriate attributes such as action, method, name, value and type.Explain Cascading Style Sheets and discuss the Inline and External methods of integrating CSS with HTML. Illustrate each method with a suitable example.
Describe the anatomy and basic structure of an XML document with a suitable example.
Explain XLink and XPointer in XML. Differentiate between simple and extended XLinks and state how XPointer is used to identify specific parts of an XML document.
Explain the importance of XML Schema and discuss its advantages over Document Type Definition.
Differentiate between Document Object Model and Simple API for XML parsers. Compare their memory usage, parsing mechanism (tree-based vs. event-driven), speed and suitable use cases.
Write a JavaScript program to create and use a JavaScript object for storing student details such as name, roll number and course. Display the object properties dynamically on a web page.
Explain the XMLHttpRequest object and describe its request and response objects with a suitable example.
Discuss the use of AJAX for creating dynamic HTML pages and highlight the role of CSS and XML in AJAX applications.
Explain the use of XML and the XMLHttpRequest object in implementing AJAX applications with a suitable example.
Describe the basic structure of a PHP program and discuss the important features of PHP with a suitable example.
Explain database connectivity in PHP and describe how records can be retrieved from a MySQL database using a SELECT statement.
URL
JavaScript Events
XML Validity
AJAX Components
