ENCT 302Bachelor in Computer Engineering · Semester 51 Paper Available

Web Application Programming

Past examination question papers and complete curriculum syllabus for Web Application Programming (ENCT 302), Bachelor in Computer Engineering Semester 5 under Institute of Engineering (IOE), Tribhuvan University.

Past Question Papers (PDF)

Switch tabs to view different exam papers

5th-sem_Web Application Programming.pdf

IOE Past Examination Paper

Download PDF
Served via fast CDN. Read in full view or download for offline study.

Document information: This past examination paper is identified as an IOE/TU academic document and was cataloged from a public Google Drive archive. This independent website did not create the examination paper and is not affiliated with TU or IOE.

Rights holders can request correction or removal by emailing subeshgaming@gmail.com with this page URL and supporting details.

Most Frequently Asked Questions

Top recurring IOE board exam questions for Web Application Programming with verified mark schemes, formula notation, and recurrence frequency.

Showing 30 of 30 top repeated questions

Introduction

2 Questions
#1Repeated 4 Times[6 Marks]Introduction
Differentiate between Web 1.0, Web 2.0, and Web 3.0. Explain multi-tier web application architecture and compare client-side rendering (CSR) with server-side rendering (SSR).
Appeared in:2080 Baishakh2079 Chaitra2078 Bhadra
#2Repeated 2 Times[8 Marks]Introduction
Explain Single Page Application (SPA) vs Multi-Page Application (MPA), and Client-Side Rendering (CSR) vs Server-Side Rendering (SSR) vs Static Site Generation (SSG) in modern web development frameworks.
Appeared in:2082 Chaitra2081 Chaitra

JavaScript and Client-Side Programming

10 Questions
#1Repeated 4 Times[6 Marks]JavaScript and Client-Side Programming
What are Cookies and Sessions? Compare and contrast Cookies, Sessions, LocalStorage, and SessionStorage in terms of lifetime, capacity, security (`HttpOnly`, `SameSite`), and server accessibility.
Appeared in:2080 Bhadra2080 Baishakh2078 Bhadra
#2Repeated 4 Times[6 Marks]JavaScript and Client-Side Programming
Explain the Document Object Model (DOM). Write a JavaScript program to dynamically create, manipulate, and remove HTML table rows and validate form inputs before form submission.
Appeared in:2080 Baishakh2079 Chaitra2076 Ashwin
#3Repeated 3 Times[8 Marks]JavaScript and Client-Side Programming
Explain the evolution of web architecture. Why do we need semantic elements in HTML5? Create an HTML form that includes Student Roll Number (number), Student Name (text), Student Faculty (select dropdown: Computer, Electronics, Electrical), and a Submit button with client-side validation.
Appeared in:2082 Chaitra2080 Baishakh
#4Repeated 3 Times[6 Marks]JavaScript and Client-Side Programming
Differentiate between arrow functions and normal functions in JavaScript with examples, highlighting the `this` binding. Explain JavaScript event handling, event bubbling, and event delegation with suitable examples.
Appeared in:2082 Chaitra2080 Bhadra
#5Repeated 3 Times[6 Marks]JavaScript and Client-Side Programming
Explain the working principle of AJAX (Asynchronous JavaScript and XML) request and response using the `fetch()` API and `XMLHttpRequest`. How does AJAX differ from WebSockets for bidirectional communication?
Appeared in:2080 Baishakh2079 Chaitra2078 Bhadra
#6Repeated 3 Times[8 Marks]JavaScript and Client-Side Programming
Explain asynchronous JavaScript programming. Compare Callbacks, Promises, and async/await syntax. How does the JavaScript Event Loop (Call Stack, Web APIs, Task Queue, Microtask Queue) handle asynchronous operations without blocking the single thread?
Appeared in:2082 Chaitra2081 Chaitra2080 Baishakh
#7Repeated 2 Times[8 Marks]JavaScript and Client-Side Programming
Create a React component named `Counter` with a title that: (a) Displays a counter starting at 0. (b) Has a button labeled "Increment" to increase the counter by 1. (c) Updates the document title using `useEffect` hook to reflect the current counter value whenever it changes. (d) Resets the counter to 0 upon reaching 10.
Appeared in:2082 Chaitra
#8Repeated 2 Times[8 Marks]JavaScript and Client-Side Programming
Explain the React Component Lifecycle and React Hooks. Differentiate between useState, useEffect, useContext, and useMemo with functional component code snippets.
Appeared in:2082 Chaitra2081 Chaitra
#9Repeated 2 Times[6 Marks]JavaScript and Client-Side Programming
Explain CSS Grid Layout versus CSS Flexbox. Write CSS rules for responsive design using Media Queries to adjust a three-column card layout into a single-column stacked layout on mobile viewports.
Appeared in:2082 Chaitra2081 Chaitra
#10Repeated 2 Times[6 Marks]JavaScript and Client-Side Programming
Explain the Virtual DOM mechanism in React. How does React's Reconciliation and Diffing algorithm update the browser DOM efficiently?
Appeared in:2082 Chaitra2081 Chaitra

Server-Side Web Programming

3 Questions
#1Repeated 4 Times[6 Marks]Server-Side Web Programming
Explain the MVC (Model-View-Controller) architecture in web development with a neat architectural diagram. Discuss CRUD operations and Object-Relational Mapping (ORM) concepts.
Appeared in:2082 Chaitra2080 Baishakh2079 Chaitra
#2Repeated 3 Times[8 Marks]Server-Side Web Programming
Explain the Model-View-Controller (MVC) architectural pattern in server-side web development (e.g., Express.js / Node.js or Django). Explain middleware functions, routing, and database ORM/ODM integration.
Appeared in:2082 Chaitra2081 Chaitra2080 Baishakh
#3Repeated 2 Times[6 Marks]Server-Side Web Programming
Explain how Django (or Express/Node.js) handles HTTP request and response cycles. Explain form data handling, request validation, and database model mapping with a suitable example.
Appeared in:2082 Chaitra

Web Services & APIs

7 Questions
#1Repeated 4 Times[8 Marks]Web Services & APIs
Define REST architectural principles and constraints. Compare and contrast JSON and XML for data exchange in web services with suitable syntax examples. Describe standard HTTP methods (GET, POST, PUT, DELETE, PATCH).
Appeared in:2082 Chaitra2080 Baishakh2079 Chaitra
#2Repeated 4 Times[6 Marks]Web Services & APIs
Explain Service-Oriented Architecture (SOA). Compare and contrast SOAP and RESTful web services in terms of transport protocol, payload format, standards, and performance.
Appeared in:2080 Baishakh2079 Chaitra2077 Chaitra
#3Repeated 4 Times[6 Marks]Web Services & APIs
What is the Semantic Web? Explain the purpose and components of the Semantic Web including RDF (Resource Description Framework), RDFS, and OWL (Web Ontology Language).
Appeared in:2080 Bhadra2080 Baishakh2079 Chaitra2078 Bhadra
#4Repeated 3 Times[8 Marks]Web Services & APIs
Design a RESTful API for an Online E-Commerce System with endpoints for user authentication, product catalog, cart management, and order checkout. Explain HTTP methods (GET, POST, PUT, DELETE, PATCH) and standard HTTP status codes (200, 201, 400, 401, 403, 404, 500).
Appeared in:2082 Chaitra2081 Chaitra2080 Baishakh
#5Repeated 2 Times[5 Marks]Web Services & APIs
What are data validation and serialization in web services? Differentiate between monolithic web architectures and Microservices architectures with their pros and cons.
Appeared in:2082 Chaitra
#6Repeated 2 Times[8 Marks]Web Services & APIs
Explain WebSockets and Server-Sent Events (SSE). Contrast full-duplex WebSocket communication with traditional HTTP long-polling for real-time collaborative applications.
Appeared in:2082 Chaitra2081 Chaitra
#7Repeated 2 Times[6 Marks]Web Services & APIs
Compare GraphQL with RESTful API architecture. Explain how GraphQL resolves over-fetching and under-fetching problems using Queries, Mutations, and Subscriptions.
Appeared in:2082 Chaitra2081 Chaitra

Web Application Security

4 Questions
#1Repeated 3 Times[8 Marks]Web Application Security
Explain Cross-Site Scripting (XSS), SQL Injection, and Cross-Site Request Forgery (CSRF). Illustrate each vulnerability with a code example and describe prevention mechanisms including parameterized queries, sanitization, and CSRF tokens.
Appeared in:2082 Chaitra2080 Baishakh
#2Repeated 3 Times[8 Marks]Web Application Security
Explain Web Security vulnerabilities: Cross-Site Scripting (XSS: Stored, Reflected, DOM-based), Cross-Site Request Forgery (CSRF), and SQL Injection. Describe comprehensive mitigation strategies for each.
Appeared in:2082 Chaitra2081 Chaitra2080 Baishakh
#3Repeated 2 Times[8 Marks]Web Application Security
Compare Session-based Authentication with Token-based Authentication (JSON Web Tokens - JWT). Explain the three parts of a JWT (Header, Payload, Signature) and secure cookie storage flags (HttpOnly, Secure, SameSite).
Appeared in:2082 Chaitra2081 Chaitra
#4Repeated 2 Times[6 Marks]Web Application Security
What is Cross-Origin Resource Sharing (CORS)? Explain Simple Requests vs Preflight Requests (OPTIONS method), Access-Control-Allow-Origin headers, and Content Security Policy (CSP).
Appeared in:2082 Chaitra2081 Chaitra

Web Application Deployment and Modern Trends

4 Questions
#1Repeated 3 Times[6 Marks]Web Application Deployment and Modern Trends
Write short notes on: (a) JavaScript Callbacks and Promises, (b) DevOps culture and Containerization (Docker), (c) Input sanitization and Content Security Policy (CSP).
Appeared in:2082 Chaitra2080 Baishakh
#2Repeated 2 Times[6 Marks]Web Application Deployment and Modern Trends
Define a Progressive Web App (PWA). Explain the roles of Service Workers, Web App Manifest, and caching strategies. Explain the CI/CD deployment pipeline with a neat workflow diagram.
Appeared in:2082 Chaitra
#3Repeated 2 Times[6 Marks]Web Application Deployment and Modern Trends
What is a Progressive Web App (PWA)? Explain Service Workers, Web App Manifest (manifest.json), Cache Storage API, and offline capabilities with application lifecycle.
Appeared in:2082 Chaitra2081 Chaitra
#4Repeated 2 Times[6 Marks]Web Application Deployment and Modern Trends
Explain Web Performance Optimization techniques: Lazy Loading of images and components, Code Splitting, Asset Minification, CDN edge caching, and Core Web Vitals (LCP, FID/INP, CLS).
Appeared in:2082 Chaitra2081 Chaitra

Curriculum Syllabus & Course Topics

Sourced from TU curriculum portal
Chapter-wise Units & Micro-Syllabus Topics (6 Units)
  1. 1. Introduction

  2. 2. JavaScript and Client-Side Programming

  3. 3. Server-Side Web Programming

  4. 4. Web Services & APIs

  5. 5. Web Application Security

  6. 6. Web Application Deployment and Modern Trends

Examination Scheme & Marks Distribution

Evaluation Structure

  • Final Board Theory Exam: 60 Marks (Pass mark: 24)
  • Internal Assessment: 40 Marks (Pass mark: 16)
  • Practical / Lab Exam: 25 or 50 Marks (Continuous lab evaluation + viva, where applicable)

* This is the general current IOE 60/40 scheme; verify course-specific details in the syllabus above.

Exam Preparation Guidelines

  • Review the available past examination paper to understand question styling, typical derivation topics, and marks allocation.
  • Practice writing clean algorithms and code implementations, tracing dry runs with sample inputs, and explaining complexity trade-offs.
  • Structure answers with labeled diagrams, concise bullet points, and highlight final answers in numerical solutions.

Frequently Asked Questions (Web Application Programming)

Q: How can I download Web Application Programming past question papers?

You can preview or download the Web Application Programming question papers (PDF) directly using the built-in viewer on this page with zero redirects or paywalls.

Q: What is the pass mark for Web Application Programming?

The general current scheme is a 60-mark final theory exam and a 40-mark internal assessment, with pass marks of 24 and 16. Verify the course-specific syllabus above.

Q: Where can I find the complete syllabus for this subject?

The available chapter-wise syllabus and topic breakdown is indexed in the Syllabus section above, with links to the curriculum PDF source.

Authentic IOE Past Papers
Free Direct PDF Download
Curriculum Syllabus & Marking Scheme