CS-504 (A) · Internet and Web Technology/Unsolved PYQ Paper
CS-504-A Internet and Web Technology - Jun 2025 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 MarksaDiscuss the principles of effective web design. Give some examples of best practices and techniques for designing modern, user-friendly websites.
How to answer
- Define effective web design principles: simplicity, consistency, navigation, readability, responsiveness, accessibility, load speed
- Explain visual hierarchy, color, typography, white space, mobile-first
- Give best practices examples: responsive layout, SEO-friendly, clear CTA, optimized images
-
7 MarksbHow does User-Centric Design (UCD) differ from traditional design approaches, and why is it considered essential for creating successful digital products?
How to answer
- Define User-Centric Design (UCD) and traditional designer-centric approach
- Compare on focus, user involvement, iteration, testing
- Explain why UCD essential: usability, satisfaction, reduced rework, product success
-
7 MarksaExplain the basic structure of an HTML document.
How to answer
- Define HTML document with doctype declaration
- Explain head section: title, meta, link, script
- Explain body section: headings, paragraphs, structure tags with example code
-
7 MarksbHow does a web browser's architecture facilitate the rendering of HTML content? Describe the key components of a browser's rendering engine and explain how they collaborate to display web pages.
How to answer
- Outline browser architecture: UI, browsing engine, rendering engine, JS engine, networking, storage
- Describe rendering engine steps: parsing HTML/CSS, DOM/CSSOM, render tree, layout, paint
- Explain collaboration to display web pages
-
7 MarksaDiscuss the key concepts of CSS. How they are used to style and format content.
How to answer
- Define CSS, selectors, properties, box model, cascade and specificity
- Explain inline, internal, external CSS and inheritance
- Explain how CSS styles and formats content with example
-
7 MarksbHow can you use JavaScript to dynamically manipulate CSS styles on HTML elements? Provide examples of how you can change the color, size or position of an element using JavaScript.
How to answer
- Explain DOM style object and style property access via JavaScript
- Give example changing color via element.style.color
- Give examples changing size/position via width, height, position
-
7 MarksaWhat is XML (eXtensible Markup Language), and how does it differ from HTML? Describe the basic structure of an XML document.
How to answer
- Define XML as eXtensible Markup Language for data description
- Compare XML vs HTML on purpose, tags, extensibility, strictness
- Describe XML structure: prolog, root element, nested elements, attributes
-
7 MarksbExplain the concept of Object-Oriented Programming (OOP) in PHP. Discuss the key principles of OOP, such as encapsulation, inheritance and polymorphism and how they are implemented in PHP.
How to answer
- Define OOP concepts: class, object, encapsulation, inheritance, polymorphism
- Explain PHP syntax for classes, visibility, extends, interfaces
- Give PHP code examples for each principle
-
7 MarksaHow do you establish a connection to a MySQL database using PHP? Provide examples of the code needed to connect to a MySQL database server.
How to answer
- Explain mysqli/PDO connection parameters: host, username, password, dbname
- Give code for mysqli_connect and PDO connection with error check
- Explain closing connection
-
7 MarksbExplain how to execute SQL queries in PHP to retrieve, insert, update and delete data from a MySQL database.
How to answer
- Explain query execution via mysqli_query / PDO query/prepare
- Give examples of SELECT, INSERT, UPDATE, DELETE queries
- Explain fetching results and checking affected rows
-
7 MarksaWhat are some key principles for designing effective navigation systems in websites or mobile apps, and how do these principles contribute to a better user experience?
How to answer
- List navigation principles: consistency, simplicity, visibility, feedback, search
- Explain mobile vs web navigation patterns
- Link principles to better UX: findability, reduced cognitive load
-
7 MarksbWhat is an HTML list, and what are the different types of lists? How do you add images to an HTML document?
How to answer
- Define HTML lists: ordered, unordered, definition lists with tags
- Explain img tag attributes: src, alt, width, height
- Give HTML code examples for lists and images
-
7 MarksaDiscuss the advantages of using XML for data storage and exchange in web applications.
How to answer
- Define XML role in platform-independent data storage and exchange
- Explain advantages: extensibility, readability, validation, interoperability
- Relate to web applications with examples
-
7 MarksbHow do you handle database errors and exceptions in PHP?
How to answer
- Explain error modes: connection errors, query errors, exceptions
- Describe mysqli_error, PDOException, try-catch handling
- Give PHP code for graceful error handling and logging
-
14 MarksWrite short notes on (any two):
- a)Web design issue
- b)Overview and features of HTML5
- c)DOM
- d)XSL
How to answer
- Select any two topics from given four options
- Define each with key features and purpose
- Give examples and use in web technology
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