Tuesday, July 7, 2026

IT4406 Agile Software Development 2024 MCQ Answers | UCSC BIT Complete IT4406 UCSC BIT 2024 paper solutions with simple theory, examples & quick revision. Covers Scrum, Kanban, XP, CI, Velocity & Agile Planning

🚀 IT4406 Agile Software Development (2024)

UCSC BIT | MCQ Solutions with Simple Theory & Examples

📚 About this guide: Complete solutions for the IT4406 Agile Software Development 2024 paper. Covers Scrum, Kanban, Extreme Programming (XP), Continuous Integration, Velocity, and Agile Planning. Each MCQ includes simple theory, real-world examples, and exam tips — perfect for BIT exam revision.
Q1✅ (b)

Primary Measure of Progress

Theory: The Agile Manifesto states: "Working software is the primary measure of progress." Agile does not measure success by lines of code, documentation, or strict schedule adherence.

Exam Tip: "Primary measure of progress" = Working Software.

Q2✅ (a), (c), (d)

Agile Principles

Theory: Agile welcomes changing requirements (even late), delivers value frequently, and defers decisions until the last responsible moment. It opposes freezing requirements or relying on heavy upfront planning (Waterfall).

Q3✅ (c)

Kanban Principles

Theory: Kanban focuses on improving flow by visualizing workflow (using a board) and limiting Work In Progress (WIP). Timeboxing belongs to Scrum, not Kanban.

Exam Tip: Kanban = Visualize + Limit WIP + Flow.

Q4✅ (a), (b), (e)

Scrum Artifacts

Theory: Scrum has exactly three artifacts: Product Backlog (all desired work), Sprint Backlog (work for current Sprint), and Product Increment (finished working software). Risk Registers and Phase Gates belong to traditional PM.

Q5✅ (a), (c), (e)

User Stories (INVEST Model)

Theory: Good user stories follow INVEST: Independent (self-contained), Valuable (delivers value), and Testable. They are not rigid written contracts, and they represent user needs (not just written by developers).

Q6✅ (b), (c)

Product Owner Responsibilities

Theory: The Product Owner is the voice of the customer. They prioritize the Product Backlog and define the product vision. The Scrum Master ensures Scrum rules are followed, and developers self-organize their tasks.

Q7✅ (b)

Sprint Retrospective

Theory: The Retrospective focuses on the team. Its purpose is to improve team processes, communication, and tools for the next Sprint. (Sprint Review = show product; Sprint Planning = plan work).

Q8✅ (d)

NOT part of Backlog Refinement

Theory: Refinement (Grooming) involves prioritizing, estimating, splitting epics, and removing outdated items. Reviewing Sprint Velocity trends is used for planning/forecasting, not for refining the backlog itself.

Q9✅ (c)

Incorrect Statement about Sprints

Theory: A Sprint is a strict timebox. You can NEVER extend a Sprint just to finish work. Unfinished work simply returns to the Product Backlog.

Exam Tip: Sprint = Timebox. Never extend it!

Q10✅ (c)

Product Roadmap

Theory: A Roadmap is a high-level strategic plan showing the product's evolution over time (e.g., Q1 features, Q2 features). It is not a detailed task breakdown and is flexible, not fixed.

Q11✅ (b)

Portfolio Planning

Theory: Portfolio Planning is the highest level of Agile planning. It focuses on managing a collection of products and aligning them with business strategy (e.g., deciding which products get funding).

Q12✅ (c)

Release Planning

Theory: Release Planning forecasts deliverables and timelines using team velocity (e.g., "At 30 points/Sprint, 90 points will take 3 Sprints"). It is flexible and updated regularly.

Q13✅ (b)

Limiting Work In Progress (WIP)

Theory: Limiting WIP reduces idle work and improves flow. High WIP causes context switching and delays. Finishing one task before starting another speeds up delivery.

Exam Tip: High WIP = Slow Flow. Low WIP = Fast Flow.

Q14✅ (b)

Smaller, Frequent Releases

Theory: Small releases provide earlier ROI (Return on Investment) and faster customer validation. It allows the business to earn money sooner and get immediate feedback to fix issues.

Q15✅ (d)

Estimating Capacity for Sprint 1

Theory: Since a new team has no historical velocity, they must forecast velocity using discussions and analogies. After Sprint 1, they use their actual measured velocity for future planning.

Q16✅ (c)

Risk of Too Little Envisioning

Theory: Envisioning is the "just enough" planning before Sprint 1. Too little envisioning means the team is unprepared for the first value-creation Sprint and everyone might build different things. (Too much = Waterfall).

Q17✅ (c)

Two-Part Sprint Planning

Theory: Part 1: What? (Team forecasts backlog items based on priority/velocity). Part 2: How? (Team breaks items into tasks, gaining confidence that the work can be completed).

Q18✅ (c)

NOT aligning with Sprint Review

Theory: Sprint Review is an informal inspection and feedback session. It is NOT a formal sign-off or approval paperwork like in Waterfall. Stakeholders give feedback, and the backlog may change.

Q19✅ (d) III only

Daily Scrum Correct Statements

Theory: The Daily Scrum is a 15-minute meeting for developers to discuss progress, impediments, and plans. It is NOT a status meeting for stakeholders, and the Scrum Master does not lead it (developers run it).

Q20✅ (b)

Velocity = 30, Backlog = 45

Theory: If the team's velocity is 30, they should reprioritize and choose about 30 Story Points. Never commit to 45, never extend the Sprint, and never add developers mid-planning just to force capacity.

Q21✅ (b), (d)

Continuous Integration (CI)

Theory: CI means developers integrate code frequently, and every integration triggers an automated build and test. This prevents "Integration Hell" and requires a shared repository (like Git).

Q22✅ (c) I & II only

Test First System Testing

Theory: GUI record/playback cannot fully support Test First (needs existing screens). However, Behavior-Driven Development (BDD) makes Test First possible by writing scenarios before coding. Acceptance criteria come from business needs, not unit tests.

Q23✅ (a)

Planning Game in XP

Theory: The Planning Game balances customer priorities (business value) with programmer estimates (technical effort) to decide what should be built first.

Q24✅ (c)

XP Managing Technical Debt

Theory: Extreme Programming (XP) manages technical debt through continuous refactoring (improving code structure without changing behavior). Waiting until the end of the project increases debt.

Q25✅ (e) I, II, III

On-Site Customer in XP

Theory: The On-Site Customer may or may not be an actual end-user (could be a Product Manager). They clarify requirements instantly and decide what stakeholders value by setting priorities.

🎓 Final Exam Cheat Sheet

QAnsKey Concept
1bWorking software = progress
2a,c,dWelcome change, frequent delivery
3cKanban = Visualize + Limit WIP
4a,b,eScrum Artifacts (3)
5a,c,eINVEST User Stories
6b,cProduct Owner = Vision + Backlog
7bRetrospective = Improve team
8dVelocity trend ≠ Refinement
9cNever extend a Sprint!
10cRoadmap = Evolution over time
11bPortfolio = Strategic alignment
12cRelease Planning uses velocity
13bLimit WIP = Improve flow
14bSmall releases = Early ROI
15dSprint 1 = Forecast/Analogy
16cLittle envisioning = Unprepared
17cPlanning = What? then How?
18cReview ≠ Formal sign-off
19dDaily Scrum = Devs only
20bMatch work to velocity
21b,dCI = Frequent + Automated
22cTest First + BDD
23aPlanning Game = Balance priorities
24cXP = Continuous Refactoring
25eOn-Site Customer = Always available

❓ Frequently Asked Questions (FAQ)

Q: What is the primary measure of progress in Agile? A: According to the Agile Manifesto, the primary measure of progress is working software. Agile focuses on delivering usable, valuable software to the customer rather than just measuring lines of code or documentation.
Q: What are the three official Scrum Artifacts? A: The three official Scrum Artifacts are the Product Backlog (all desired work), the Sprint Backlog (work selected for the current Sprint), and the Product Increment (the sum of all completed work at the end of a Sprint).
Q: What is the difference between a Sprint Review and a Sprint Retrospective? A: A Sprint Review focuses on the product: the team demonstrates the working software to stakeholders to get feedback. A Sprint Retrospective focuses on the team: the team inspects their own processes, communication, and tools to find ways to improve in the next Sprint.
Q: What does the INVEST model stand for in Agile User Stories? A: INVEST stands for Independent, Negotiable, Valuable, Estimable, Small, and Testable. It is a checklist to ensure user stories are well-written and ready for development.
Q: How does Extreme Programming (XP) manage Technical Debt? A: XP manages technical debt through continuous refactoring, which means constantly improving the code structure without changing its external behavior, rather than waiting until the end of the project to clean up the code.

🎓 Expert ICT, Coding, School Classes, Digital Marketing & University Project Guidance

Struggling with your university final year project? Want to master coding, upscale your business with expert digital marketing, or learn absolute computer basics from scratch? We offer high-quality individual and group online classes conducted in English, Sinhala, or Tamil mediums. Get guaranteed academic success and professional growth with tailored guidance.


🎓 University Final Year Project Guidance & AI

Get specialized, end-to-end mentoring and technical support to pass your degree or master's program with flying colors:

  • 🏫 Targeted Institutes: Expert guidance tailored for BIT UCSC, UoM, SLIIT, NIBM, and other leading universities.
  • 🔬 Postgraduate Support: Comprehensive assistance for MSc Software Final Year Projects.
  • 🤖 AI & Smart Applications: Step-by-step implementation of AI, Machine Learning (ML), and automation modules.
  • Guaranteed Success: Help with documentation, system architecture, coding, and viva preparation.

🏫 School ICT & Corporate Beginner Classes

  • 💻 Non-IT Staff Computer Basics: Absolute beginner-friendly online classes covering essential computer skills, office tools, and internet operations.
  • 🎒 Primary & Secondary (Grades 1-10): Interactive online ICT classes tailored to build strong foundations from early ages.
  • 📝 Exam Prep: Dedicated training packages for GCE O/L, GCE A/L ICT, and GIT exams.
  • 🌍 Global Syllabuses: Complete curriculum coverage for Local, Edexcel, and Cambridge in English & Tamil Mediums.

📢 Software Development & Digital Marketing Services

  • ⚙️ Software & Web Development: Professional custom software application and website development built using PHP & MySQL.
  • 🎯 Social Media Management: Content creation, publishing, and channel management for Facebook, Instagram, TikTok, and YouTube.
  • 📈 Ad Boosting: Highly targeted paid advertising campaigns to drive leads, traffic, and sales to your business.

📞 Connect With Us Instantly

Book your slot for online classes or get a premium tech service quote today!

💬 WhatsApp: +94 729622034

📧 Email: ITClassSL@gmail.com


🌐 Explore Our Resources & Communities

Stay updated with our latest tutorials, project ideas, and student guides across all our official platforms:

Monday, July 6, 2026

IT4306 IT Project Management 2024 MCQ Answers PMBOK, Agile, Scrum, Six Sigma, WBS, NPV, ROI

📊 IT4306 IT Project Management (2024)

UCSC BIT | MCQ Solutions with Simple Theory & Examples

📚 About this guide: Complete solutions for the IT4306 Information Technology Project Management 2024 paper. Covers PMBOK Knowledge Areas, Agile/Scrum, Six Sigma, Financial Metrics (NPV/ROI), WBS, and Stakeholder Management. Each MCQ includes simple theory and a quick memory trick — perfect for BIT exam revision.
Q1✅ A, B, D

Knowledge Areas of Project Management

Theory: PMBOK defines 10 Knowledge Areas. Cost, Communication, and Stakeholder Management are valid areas. "Shareholder" and "Total Quality" are incorrect terms in PMBOK.

Q2✅ B, C

Project Portfolio Management

Theory: Portfolio management focuses on strategy. It asks: "Are we investing in the right areas?" and "Are we working on the right projects?" (Not about executing a single project well).

Q3✅ A

Leadership Style

Theory: Charismatic leadership inspires others based on enthusiasm, confidence, and a strong personality. (Transactional uses rewards/punishments; Laissez-faire uses minimal supervision).

Q4✅ C, D, E

Advantages of Good PM

Theory: Good PM leads to higher profit margins, higher workforce morale, and shorter development times. It does not lower profit margins or directly affect the cost of capital.

Q5✅ A, C, D

Three-Sphere Model

Theory: Every IT project must balance three spheres: Business (goals/profit), Organization (people/culture), and Technology (hardware/software).

Q6✅ D

Human Resource Frame

Theory: The HR Frame focuses on people's needs, skills, relationships, and empowerment. (Political = power/conflict; Structural = roles/hierarchy; Symbolic = culture/rituals).

Q7✅ C, E

Four Frames: Culture & Politics

Theory: The Political Frame deals with internal politics, power, and conflict. The Symbolic Frame deals with culture, values, and rituals.

Q8✅ E

Functional Organization

Theory: In a Functional structure, employees are grouped by specialized functions (e.g., HR Dept, IT Dept, Finance Dept).

Q9✅ B

Matrix Organization

Theory: The key characteristic of a Matrix structure is dual reporting — employees report to both a functional manager and a project manager.

Q10✅ C

Product Lifecycle

Theory: An Incremental lifecycle is used when there is a low degree of change in requirements but a high frequency of delivery (delivering in small usable chunks).

Q11✅ A, D, E

Outsourcing vs Offshoring

Theory: Outsourcing = hiring a third-party (local or foreign). Offshoring = moving work to another country. Hiring a US company is both outsourcing and offshoring. Hiring a local Colombo company is only outsourcing.

Q12✅ A, C, D

Scrum Elements

Theory: Scrum includes Daily Stand-ups (events), Product Owner (roles), and Sprint Backlog (artifacts). Gantt charts and Waterfall belong to traditional PM.

Q13✅ A, C, D

Six Sigma Methodology

Theory: Six Sigma aims to reduce defects/variation, uses statistical tools, and follows the DMAIC cycle (Define, Measure, Analyze, Improve, Control). It applies to all industries, not just manufacturing.

Q14✅ B, E

Net Present Value (NPV)

Theory: NPV = Total PV of Inflows - Initial Investment. Here, 500k - 500k = 0. Therefore, NPV is zero, and the Present Value of inflows equals the Initial Investment.

Q15✅ C

Return on Investment (ROI)

Theory: ROI = (Net Profit / Investment) × 100.
ROI = (400,000 / 2,000,000) × 100 = 20%.

Q16✅ B

Project X vs Project Y

Theory: Project X has higher cash inflows (1.2M vs 1M) for the same investment. Therefore, Project X will have a higher NPV and higher ROI.

Q17✅ A, B, C, E

Scope Management Processes

Theory: Scope Management includes: Collect Requirements, Define Scope, Create WBS, Validate Scope, and Control Scope. Designing software architecture belongs to technical design, not PM scope.

Q18✅ A, B, C

Work Breakdown Structure (WBS)

Theory: WBS breaks down work into packages, ensures clear responsibility, and helps estimate costs/time. It does not primarily monitor risks or include detailed schedules.

Q19✅ A, C, D

Gantt Charts

Theory: Gantt charts identify delays, display tasks on a timeline, and visualize overlaps. They do not estimate costs or automatically show the critical path by default.

Q20✅ A, B, E

Slipped Milestone

Theory: A slipped milestone means it was not completed on its planned date. It can signal schedule delays for dependent tasks, meaning corrective action (like crashing/fast-tracking) may be needed.

Q21✅ A, D

NOT part of SMART

Theory: SMART = Specific, Measurable, Achievable, Realistic, Time-framed. Asserted and Specification are NOT part of SMART.

Q22✅ A, B, D, E

Shortening Project Duration (CPA)

Theory: You can shorten duration by adding developers (Crashing), overlapping tasks (Fast Tracking), delaying non-critical tasks to free resources, or reducing scope. Increasing marketing budget does not help.

Q23✅ A, C, D

Stakeholder Analysis Outputs

Theory: Outputs include categorizing stakeholders, identifying communication requirements, and assessing their interest and influence levels. (Task schedules and resource lists belong elsewhere).

Q24✅ A, C, E

Stakeholder Register

Theory: The Register includes classification, name/contact details, and interest, influence, and impact. (Risk response plans belong to the Risk Register).

Q25✅ A

Point of Total Assumption (PTA)

Theory: In a Fixed-Price Incentive Fee contract, PTA is the maximum cost the buyer pays before the contractor bears 100% of all extra cost overruns (reaching the price ceiling).

Complete Answer Key (Q1–Q25)

QAnswerKey Concept
1A, B, DPMBOK Knowledge Areas
2B, CPortfolio Management Strategy
3ACharismatic Leadership
4C, D, EBenefits of Good PM
5A, C, DThree-Sphere Model
6DHuman Resource Frame
7C, EPolitical & Symbolic Frames
8EFunctional Organization
9BMatrix (Dual Reporting)
10CIncremental Lifecycle
11A, D, EOutsourcing vs Offshoring
12A, C, DScrum Framework
13A, C, DSix Sigma & DMAIC
14B, ENPV = 0 (Break-even)
15CROI = 20%
16BHigher NPV for Project X
17A, B, C, EScope Management Processes
18A, B, CWork Breakdown Structure
19A, C, DGantt Chart Features
20A, B, ESlipped Milestone
21A, DNOT SMART Criteria
22A, B, D, ECritical Path Compression
23A, C, DStakeholder Analysis
24A, C, EStakeholder Register
25APoint of Total Assumption

🎯 Exam Tips

  • PMBOK 10 Areas: Memorize them! (Integration, Scope, Schedule, Cost, Quality, Resource, Communications, Risk, Procurement, Stakeholder).
  • Three-Sphere Model: Business, Organization, Technology.
  • Four Frames: Structural (rules), HR (people), Political (power), Symbolic (culture).
  • Matrix Org: Always remember "Dual Reporting" (2 bosses).
  • Financial Formulas: NPV = Inflows - Investment. ROI = (Profit / Investment) × 100.
  • Schedule Compression: Crashing (add resources) vs Fast Tracking (overlap tasks).

❓ Frequently Asked Questions (FAQ)

Q: What are the 10 Knowledge Areas of Project Management? A: According to PMBOK, the 10 areas are Integration, Scope, Schedule, Cost, Quality, Resource, Communications, Risk, Procurement, and Stakeholder Management.
Q: What is the Three-Sphere Model for IT projects? A: The Three-Sphere Model states that every IT project must balance three major areas: Business (goals/profit), Organization (people/culture), and Technology (hardware/software).
Q: What is the difference between Outsourcing and Offshoring? A: Outsourcing is giving work to a third-party company (can be local or foreign). Offshoring is moving work to a different country (can be your own foreign branch or a foreign company).
Q: What does DMAIC stand for in Six Sigma? A: DMAIC stands for Define, Measure, Analyze, Improve, and Control. It is the core methodology used in Six Sigma for process improvement and reducing defects.
Q: How do you calculate ROI (Return on Investment)? A: ROI is calculated using the formula: (Net Profit / Investment) × 100. For example, if profit is 400k and investment is 2M, ROI is 20%.

🎓 Expert ICT, Coding, School Classes, Digital Marketing & University Project Guidance

Struggling with your university final year project? Want to master coding, upscale your business with expert digital marketing, or learn absolute computer basics from scratch? We offer high-quality individual and group online classes conducted in English, Sinhala, or Tamil mediums. Get guaranteed academic success and professional growth with tailored guidance.


🎓 University Final Year Project Guidance & AI

Get specialized, end-to-end mentoring and technical support to pass your degree or master's program with flying colors:

  • 🏫 Targeted Institutes: Expert guidance tailored for BIT UCSC, UoM, SLIIT, NIBM, and other leading universities.
  • 🔬 Postgraduate Support: Comprehensive assistance for MSc Software Final Year Projects.
  • 🤖 AI & Smart Applications: Step-by-step implementation of AI, Machine Learning (ML), and automation modules.
  • Guaranteed Success: Help with documentation, system architecture, coding, and viva preparation.

🏫 School ICT & Corporate Beginner Classes

  • 💻 Non-IT Staff Computer Basics: Absolute beginner-friendly online classes covering essential computer skills, office tools, and internet operations.
  • 🎒 Primary & Secondary (Grades 1-10): Interactive online ICT classes tailored to build strong foundations from early ages.
  • 📝 Exam Prep: Dedicated training packages for GCE O/L, GCE A/L ICT, and GIT exams.
  • 🌍 Global Syllabuses: Complete curriculum coverage for Local, Edexcel, and Cambridge in English & Tamil Mediums.

📢 Software Development & Digital Marketing Services

  • ⚙️ Software & Web Development: Professional custom software application and website development built using PHP & MySQL.
  • 🎯 Social Media Management: Content creation, publishing, and channel management for Facebook, Instagram, TikTok, and YouTube.
  • 📈 Ad Boosting: Highly targeted paid advertising campaigns to drive leads, traffic, and sales to your business.

📞 Connect With Us Instantly

Book your slot for online classes or get a premium tech service quote today!

💬 WhatsApp: +94 729622034

📧 Email: ITClassSL@gmail.com


🌐 Explore Our Resources & Communities

Stay updated with our latest tutorials, project ideas, and student guides across all our official platforms:

Saturday, July 4, 2026

IT4206 Enterprise Application Development MCQ Answers | UCSC BIT 2024 | Java Programming Online Classes

💼 IT4206 Enterprise Application Development

UCSC BIT 2024 | MCQ Solutions with Theory & Examples

📚 About this guide: Complete solutions for the IT4206 Enterprise Application Development paper from UCSC BIT 2024. Covers Java EE, EJB, Servlets, JSP, WebSocket, HTTP protocols, and design patterns. Each MCQ includes theory, a real-world example, and a quick memory tip — perfect for BIT exam revision.
Q1✅ C – Plumbing

What is Plumbing?

Theory: Plumbing is the underlying infrastructure that allows different software components to communicate and exchange data.

Example: When you click Buy on a shopping site, the request travels from UI → Server → Payment → Database. This communication chain is called plumbing.

Q2✅ E – God Class

What is a God Class?

Theory: A God Class is a class that does too many tasks, violating the Single Responsibility Principle (SRP).

StudentManager
- Login()
- Register()
- Delete()
- PrintReport()
- SendEmail()
- CalculateMarks()

Fix: Split into smaller classes like AuthService, ReportService, EmailService.

Q5✅ C – Business Logic Tier

What is Business Logic?

Theory: Contains all business rules and calculations of the application.

If customer is Gold
   Discount = 20%
Else
   Discount = 10%

This calculation belongs to the Business Logic Layer.

Q3✅ A – Server Helper

What is a Server Helper?

Theory: Works inside the Server JVM and helps execute remote requests.

Flow: Client → Server Helper → Server Object → Database

Q4✅ C – DGC

What is Distributed Garbage Collection?

Theory: DGC automatically removes unused remote objects in Java RMI to save memory.

Example: Client disconnects → Remote object no longer used → Java deletes it automatically.

Q6✅ A – Message Driven Bean

What is an MDB?

Theory: Processes messages asynchronously. Clients cannot call its methods directly.

Example: Customer places order → Message sent to queue → MDB processes it later.

Q7✅ B – Java EE Server

Java EE Transaction Management

Theory: Java EE servers provide automatic transaction management (also supports manual control).

Example: Bank transfer: Deduct + Add money. If one fails → entire transaction rolls back.

Q9✅ A – Entity Bean

What is an Entity Bean?

Theory: Represents permanent data stored in databases.

Examples: Student table, Employee table, Product table. Each record = one entity.

Q10✅ B – lookup()

What does JNDI lookup() do?

Theory: Searches the naming service and returns the requested object.

DataSource ds = (DataSource) ctx.lookup("jdbc/MyDB");
Q14✅ A – @JoinColumn

What is @JoinColumn?

Theory: Defines the foreign key between two database tables.

Student (student_id)
   ↓ foreign key
Course (student_id)
Q8✅ E – CREATE

Which is NOT an HTTP method?

Theory: Standard HTTP methods: GET, POST, PUT, DELETE, OPTIONS. There is no CREATE method.

Note: POST is used to create new resources (e.g., new user).

Q16✅ B – POST

What does POST do?

Theory: Sends data to the server to create or update resources.

Examples: User Registration, Login Form, Online Order.

Q17✅ C – HTTP 3xx

What do 3xx status codes mean?

Theory: 3xx codes mean the requested page has been redirected.

  • 301 → Permanent Redirect
  • 302 → Temporary Redirect
Q15✅ D – service()

What does service() do?

Theory: Checks if request is GET or POST and calls the correct method.

GET → doGet() | POST → doPost()

Q18✅ E – web.xml

What is web.xml?

Theory: The deployment descriptor for Java web applications. Maps Servlets to URL patterns.

Q19✅ D – servlet-mapping

What does <servlet-mapping> do?

Theory: Connects a Servlet with a URL.

/login → LoginServlet
Q20✅ D – ServletRequest

What is ServletRequest?

Theory: Contains all data sent by the client.

request.getParameter("username");
Q23✅ B – Web Container

What is a Web Container?

Theory: Manages Servlets, JSPs, sessions, and HTTP requests.

Example: Apache Tomcat's servlet container processes incoming web requests.

Q21✅ A – @OnOpen

What is @OnOpen?

Theory: Executed when a WebSocket connection starts.

Example: User joins a live chat → @OnOpen is called.

Q22✅ E – Control Frames

What are Control Frames?

Theory: Manage the WebSocket connection.

  • Ping – Check connection
  • Pong – Reply to Ping
  • Close – End connection
Q11✅ D – Stateless Session Bean

What is a Stateless Session Bean?

Theory: Does not remember client information between requests.

Example: Currency Converter – each request is independent.

Q12✅ C – NoSuchObjectException

When does NoSuchObjectException occur?

Theory: When a client tries to access a remote object that no longer exists.

Example: Server deletes object → Client calls it again → Exception thrown.

Q13✅ B – init-method

What is init-method?

Theory: Runs immediately after a Spring Bean is created.

Example: Open database connection, load configuration files.

Q24✅ B – Message Driven Bean

MDB Use Case

Theory: Processes messages asynchronously from a queue.

Example: Email notification service processes emails after an order is placed.

Q25✅ A – @PostActivate

What is @PostActivate?

Theory: Called after a Stateful Session Bean is reactivated from passive storage.

Example: User session temporarily stored → later restored → @PostActivate executes.

QAnsMemory Tip
1CPlumbing = Communication infrastructure
2EGod Class = One class does everything
3AServer Helper = Runs inside server JVM
4CDGC = Deletes unused remote objects
5CBusiness Logic = Rules & calculations
6AMDB = Asynchronous messaging
7BJava EE = Automatic transactions
8ECREATE is NOT an HTTP method
9AEntity = Database object
10Blookup() = Find object by name
11DStateless = No client memory
12CObject removed → NoSuchObjectException
13Binit-method = Bean initialization
14A@JoinColumn = Foreign key
15Dservice() calls doGet()/doPost()
16BPOST = Send data
17C3xx = Redirect
18Eweb.xml = Deployment descriptor
19Dservlet-mapping = URL mapping
20DServletRequest = Client request data
21A@OnOpen = Connection starts
22EControl Frames = Ping/Pong/Close
23BWeb Container = Runs Servlets
24BMDB = Queue message processor
25A@PostActivate = Bean reactivated

❓ Frequently Asked Questions (FAQ)

Q: What is IT4206 Enterprise Application Development? A: IT4206 is a UCSC BIT course covering Java EE, EJB, Servlets, JSP, WebSocket, and enterprise design patterns for building scalable web applications.
Q: What is the difference between Stateful and Stateless Session Beans? A: Stateful beans maintain client state between requests, while Stateless beans do not remember client information — each request is independent.
Q: What is a God Class and why is it bad? A: A God Class is a class that handles too many responsibilities, violating the Single Responsibility Principle. It makes code hard to maintain, test, and reuse.
Q: What does the service() method do in a Servlet? A: The service() method checks whether the request is GET or POST and dispatches it to doGet() or doPost() accordingly.
Q: What are HTTP 3xx status codes? A: 3xx codes indicate redirection. 301 means permanent redirect, and 302 means temporary redirect.

🎓 Expert ICT, Coding, School Classes, Digital Marketing & University Project Guidance

Struggling with your university final year project? Want to master coding, upscale your business with expert digital marketing, or learn absolute computer basics from scratch? We offer high-quality individual and group online classes conducted in English, Sinhala, or Tamil mediums. Get guaranteed academic success and professional growth with tailored guidance.


🎓 University Final Year Project Guidance & AI

Get specialized, end-to-end mentoring and technical support to pass your degree or master's program with flying colors:

  • 🏫 Targeted Institutes: Expert guidance tailored for BIT UCSC, UoM, SLIIT, NIBM, and other leading universities.
  • 🔬 Postgraduate Support: Comprehensive assistance for MSc Software Final Year Projects.
  • 🤖 AI & Smart Applications: Step-by-step implementation of AI, Machine Learning (ML), and automation modules.
  • Guaranteed Success: Help with documentation, system architecture, coding, and viva preparation.

🏫 School ICT & Corporate Beginner Classes

  • 💻 Non-IT Staff Computer Basics: Absolute beginner-friendly online classes covering essential computer skills, office tools, and internet operations.
  • 🎒 Primary & Secondary (Grades 1-10): Interactive online ICT classes tailored to build strong foundations from early ages.
  • 📝 Exam Prep: Dedicated training packages for GCE O/L, GCE A/L ICT, and GIT exams.
  • 🌍 Global Syllabuses: Complete curriculum coverage for Local, Edexcel, and Cambridge in English & Tamil Mediums.

📢 Software Development & Digital Marketing Services

  • ⚙️ Software & Web Development: Professional custom software application and website development built using PHP & MySQL.
  • 🎯 Social Media Management: Content creation, publishing, and channel management for Facebook, Instagram, TikTok, and YouTube.
  • 📈 Ad Boosting: Highly targeted paid advertising campaigns to drive leads, traffic, and sales to your business.

📞 Connect With Us Instantly

Book your slot for online classes or get a premium tech service quote today!

💬 WhatsApp: +94 729622034

📧 Email: ITClassSL@gmail.com


🌐 Explore Our Resources & Communities

Stay updated with our latest tutorials, project ideas, and student guides across all our official platforms: