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.
-
7 MarksaDefine 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.
-
7 MarksbWhat 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.
-
7 MarksaWhat 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.
-
7 MarksbExplain 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.
-
7 MarksaWhat 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.
-
7 MarksbWhat 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 MarksaWhat 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.
-
7 MarksbDiscuss 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.
-
7 MarksaDefine 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.
-
7 MarksbHow 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.
-
14 MarksExplain the following terms :
- i)Cookies and sessions
- ii)Creating Database
- 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.
-
7 MarksaList 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.
-
7 MarksbExplain 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 MarksWrite a short notes :
- a)XML Key Components
- b)Object oriented programming in PHP
- c)MySQL
- 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 accountHave an account? Log in
Notes Panel