Skip to content
CY-603 (A) · Internet & Web Technology/Unsolved PYQ Paper

CY-603-A Internet & 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.

  1. 7 Marks
    aWrite a note on the Internet and WWW in detail. What is Web 2.0?
    How to answer
    • Define Internet as global network of networks vs WWW as information service on Internet
    • Explain evolution, architecture, protocols, browsers, URLs, web servers
    • Define Web 2.0 characteristics: user-generated content, interactivity, social media, AJAX
    • Give examples of Web 2.0 applications
  2. 7 Marks
    bExplain HTTP Protocol. Discuss common HTTP Methods.
    How to answer
    • Define HTTP as stateless application-layer request-response protocol
    • Explain request/response structure, URL, methods, status codes
    • Discuss common methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
    • Give example request-response cycle
  3. 7 Marks
    aDiscuss all the aspects of effective web designing. Also, explain the user-centric web design.
    How to answer
    • List aspects of effective web design: purpose, navigation, visual, content, usability, responsiveness
    • Explain user-centric design principles: usability, accessibility, user experience
    • Discuss layout, color, typography, loading speed
    • Give examples of good design practices
  4. 7 Marks
    bWrite a HTML program implementing Lists for webpage with a suitable example (use case).
    How to answer
    • Explain ordered, unordered and definition lists tags in HTML
    • Provide HTML code with <ol>, <ul>, <li>, <dl> example
    • Show output structure of lists on webpage
    • Mention attributes like type, start
  5. 7 Marks
    aWrite a HTML code to create a table on the webpage. Choose a suitable example of a table.
    How to answer
    • Explain <table>, <tr>, <th>, <td>, <caption> tags
    • Provide complete HTML code for sample table e.g. student marks
    • Explain border, cellpadding, cellspacing, colspan, rowspan
    • Show expected tabular output
  6. 7 Marks
    bWrite a note on the meta tag and XHTML. Explain it with suitable code.
    How to answer
    • Define meta tag purpose: metadata, charset, description, refresh
    • Define XHTML as stricter, XML-based HTML with syntax rules
    • Provide code examples for meta tag and XHTML document
    • List differences between HTML and XHTML
  7. 7 Marks
    aWhat is CSS? Why is it essential for the web development? Explain basic syntax and structure of CSS rule.
    How to answer
    • Define CSS as style sheet language for presentation
    • Explain importance: separation of content and style, reusability, responsive design
    • Explain basic syntax: selector { property: value; }
    • Explain structure with types: inline, internal, external
  8. 7 Marks
    bWhat is client-side scripting, and why is JavaScript commonly used for it? How are conditions and loops implemented in JavaScript?
    How to answer
    • Define client-side scripting executed in browser
    • Explain why JavaScript is commonly used: native support, interactivity, DOM access
    • Explain if-else, switch conditions with syntax
    • Explain for, while, do-while loops with examples
  9. 7 Marks
    aWhat is the Document Object Model (DOM), and how does JavaScript interact with it? Explain how JavaScript can validate HTML forms.
    How to answer
    • Define DOM as tree representation of HTML document
    • Explain JavaScript interaction via DOM methods like getElementById, querySelector
    • Explain form validation: checking empty, email, length onsubmit
    • Give JavaScript validation code example
  10. 7 Marks
    bWhat is XML, and how does it differ from HTML? List some common uses of XML in web development.
    How to answer
    • Define XML as extensible markup for data storage and transport
    • Compare with HTML: data vs presentation, custom tags, strict syntax
    • List uses: RSS, sitemaps, web services, config files, AJAX
    • Give sample XML snippet
  11. 7 Marks
    aWhat is PHP, and why is it widely used in web development? Write a simple PHP script that outputs "Hello, World!".
    How to answer
    • Define PHP as server-side scripting language
    • Explain reasons for wide use: open source, easy DB integration, embedded in HTML
    • Provide simple <?php echo "Hello, World!"; ?> script
    • Mention execution on server
  12. 7 Marks
    bWhat is the role of MySQL in web development with PHP? Write a PHP script to connect to a MySQL server.
    How to answer
    • Explain MySQL as relational DB for storing web data with PHP
    • Explain role: user data, sessions, dynamic content
    • Provide connection script using mysqli_connect / PDO
    • Mention error handling with connect_error
  13. 7 Marks
    aHow can you select a specific database in MySQL using PHP? Write a PHP script to list all the databases available on a server.
    How to answer
    • Explain mysqli_select_db and USE database selection
    • Provide script to connect then select specific database
    • Explain SHOW DATABASES query to list all databases
    • Provide loop code to display database list
  14. 7 Marks
    bExplain the syntax and steps to create a new table in MySQL using PHP. How can you insert data into a MySQL table using PHP? Provide an example.
    How to answer
    • Give CREATE TABLE syntax with column types
    • Explain steps: connect, select DB, execute CREATE TABLE query
    • Explain INSERT INTO syntax for data insertion
    • Provide PHP example for both operations
  15. 7 Marks
    aHow can you query data from a MySQL table using PHP? Provide a script example. Write a PHP script to update a specific record in a MySQL table.
    How to answer
    • Explain SELECT query execution via mysqli_query
    • Provide script to fetch and display rows with mysqli_fetch_assoc
    • Explain UPDATE ... WHERE syntax to update specific record
    • Provide PHP update script example
  16. 7 Marks
    bWhat is DHTML, and how does it differ from standard HTML? How do HTML, CSS, and JavaScript work together to create DHTML?
    How to answer
    • Define DHTML as combination of HTML, CSS, JavaScript and DOM
    • Differentiate from static standard HTML: dynamic, interactive, no page reload
    • Explain roles: HTML structure, CSS presentation, JS behavior
    • Give simple DHTML example
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