Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 5 subjective questions Interactive Web Development

CSE326 — Internet Programming 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Explain loops and iterative programming in JavaScript. Describe the syntax, execution flow, and suitable use cases of for, while, and do...while loops.

  2. Question 2 of 20

    Describe higher-order functions in JavaScript. Explain how map(), filter(), and reduce() operate, with suitable examples.

  3. Question 3 of 20

    What is a callback function? Explain synchronous and asynchronous callbacks and discuss their use in interactive web applications.

  4. Question 4 of 20

    Explain the fundamentals of the Document Object Model (DOM). How does the browser represent an HTML document, and how can JavaScript interact with that representation?

  5. Question 5 of 20

    Compare common DOM selection methods and explain how DOM elements can be manipulated safely and efficiently.

  6. Question 6 of 20

    Describe event handling in JavaScript. Explain event listeners, event objects, event propagation, and event delegation.

  7. Question 7 of 20

    Explain how dynamic content is generated and updated using JavaScript. Describe a suitable process for creating a list from an array of data.

  8. Question 8 of 20

    Explain important JavaScript accessibility practices for interactive web pages. Include keyboard access, semantic HTML, focus management, and accessible status messages.

  9. Question 9 of 20

    Describe client-side form validation in JavaScript. Explain the difference between constraint validation and custom validation, and discuss why server-side validation is still necessary.

  10. Question 10 of 20

    What are regular expressions? Explain their structure and describe how they can be used for form validation in JavaScript.

  11. Question 11 of 20

    Explain date and time handling in JavaScript. Discuss the Date object, timestamps, formatting, time zones, and common problems in date calculations.

  12. Question 12 of 20

    Describe audio and video events in HTML5. Explain how JavaScript can control media and respond to playback state changes.

  13. Question 13 of 20

    Compare local storage and session storage in the Web Storage API. Explain their methods, limitations, and appropriate use cases.

  14. Question 14 of 20

    Explain the Fetch API and JSON processing. Describe the complete flow for retrieving data, checking errors, converting the response, and updating the DOM.

  15. Question 15 of 20

    Distinguish between JSON and JavaScript objects. Explain JSON serialization and parsing, including common errors and safe processing practices.

  16. Question 16 of 20

    Explain the Geolocation API. Describe how to request the user's location, handle success and failure, and address privacy and usability concerns.

  17. Question 17 of 20

    Describe the HTML Drag and Drop API. Explain the roles of dragstart, dragover, and drop events in implementing a draggable interface.

  18. Question 18 of 20

    Design a client-side interactive registration form that uses DOM manipulation, event handling, regular expressions, and custom validation. Explain the validation and accessibility workflow.

  19. Question 19 of 20

    Explain how to build a dynamic data dashboard using Fetch API, JSON, higher-order functions, DOM manipulation, and Web Storage.

  20. Question 20 of 20

    Compare synchronous and asynchronous operations in interactive web development. Explain how loops, callbacks, promises, and async/await affect browser responsiveness.

That's unit 5

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.