Skip to content
CS-504 (A) · Internet and Web Technology/Unsolved PYQ Paper

CS-504-A Internet and Web Technology - Dec 2024 Question Paper

Under each question, How to answer lists the points an answer should cover, outlined by CampusPrep from the syllabus. Check the details against your textbook.

  1. 7 Marks
    aDefine Internet. What do you mean by Webpage?
    How to answer
    • Define Internet as global network of interconnected networks using TCP/IP.
    • Characteristics and uses of Internet.
    • Define webpage as document served on web, types static/dynamic.
    • Relation between website, webpage, URL and browser.
  2. 7 Marks
    bWhat is a web server and a web browser? What is the interaction between a web browser and a web server?
    How to answer
    • Define web server - software/hardware serving HTTP requests.
    • Define web browser - client rendering web content.
    • Request-response cycle: URL, DNS, HTTP request, response.
    • Example interaction with status codes and rendering.
  3. 7 Marks
    aWhat is DOM? Explain its usage with HTML with an example.
    How to answer
    • Define DOM as tree representation of HTML document.
    • Node types: document, element, text, attribute.
    • Usage with HTML via JavaScript: accessing and manipulating elements.
    • Example code using getElementById / innerHTML.
  4. 7 Marks
    bExplain the various Java Script objects and Host objects.
    How to answer
    • Distinguish native JavaScript objects: String, Array, Date, Math.
    • Explain Browser/Host objects: window, document, navigator, location.
    • Properties and methods of each object.
    • Example usage in script.
  5. 7 Marks
    aWhat is HTML? List the goals of SGML. Explain the various HTML tags to develop the web pages.
    How to answer
    • Define HTML and its relation to SGML.
    • List goals of SGML: device independence, reusability, standardization.
    • Categories of HTML tags: structural, formatting, list, table, form, media.
    • Example web page structure using tags.
  6. 7 Marks
    bWhat is CSS? List out the various CSS properties. Explain the various concepts of CSS properties with neat example.
    How to answer
    • Define CSS and its purpose for styling.
    • List CSS properties: color, font, margin, padding, border, background.
    • Concepts: selectors, inline/internal/external, box model, cascading.
    • Neat example of CSS rule applied to HTML.
  7. 7 Marks
    aWhat is a DTD (Document Type Definition). What are its applications?
    How to answer
    • Define DTD as grammar defining XML document structure.
    • Elements, attributes, entities declarations in DTD.
    • Applications: validation, data exchange, standardization.
    • Example internal vs external DTD reference.
  8. 7 Marks
    bDiscuss Web design issues in details.
    How to answer
    • List web design issues: navigation, usability, accessibility, performance.
    • Discuss consistency, browser compatibility, security, SEO.
    • Balance of aesthetics vs loading speed and responsiveness.
    • Guidelines for effective design.
  9. 7 Marks
    aDefine XHTML. What are the differences between XHTML and HTML with an example.
    How to answer
    • Define XHTML as stricter XML-compliant HTML.
    • Differences: case sensitivity, closing tags, quoting, nesting.
    • Tabular comparison of HTML vs XHTML rules.
    • Example of same code in HTML and XHTML.
  10. 7 Marks
    bHow can both Internal and External DTDs be used in an XML File? Show with an example.
    How to answer
    • Define internal DTD subset vs external DTD file.
    • Syntax for DOCTYPE with internal subset and SYSTEM/PUBLIC external.
    • How both can be combined in one XML file.
    • Example XML showing internal + external DTD usage.
  11. 14 Marks
    Explain the following terms :
    1. i)Cookies and sessions
    2. ii)Creating Database
    3. iii)Planning and Publishing Websites
    How to answer
    • Define cookies vs sessions, persistence and storage.
    • Steps for creating database in MySQL.
    • Stages of planning and publishing websites: design, hosting, FTP.
    • Purpose and example for each term.
  12. 7 Marks
    aList the statements that are used to connect PHP with MySQL with an example.
    How to answer
    • List connection statements: mysqli_connect / new mysqli / PDO.
    • Parameters: host, username, password, database.
    • Steps: connect, select DB, query, close.
    • Example PHP-MySQL connection code.
  13. 7 Marks
    bExplain the various events handlers in java script. Give an example of each.
    How to answer
    • Define event handlers: onClick, onLoad, onChange, onSubmit etc.
    • Categories: mouse, keyboard, form, window events.
    • Syntax of attaching handlers in JavaScript.
    • Example for each handler.
  14. 14 Marks
    Write a short notes :
    1. a)XML Key Components
    2. b)Object oriented programming in PHP
    3. c)MySQL
    4. d)Need for CSS
    How to answer
    • XML key components: elements, attributes, DTD/schema.
    • OOP in PHP: class, object, inheritance, encapsulation.
    • MySQL: features, data types, basic commands.
    • Need for CSS: separation of content and presentation.
Go to where you left off?

Quick Add to Notes

Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.

Create free account

Have an account? Log in