BCU BCA 5th Sem — Software Engineering Solved Question Bank
Solved Question Bank by Nikhil P
PART I: SECTION A — 2 MARKS QUESTIONS (Papers 1 to 5)
Model Question Paper – 1

Q1. What is software engineering?

IEEE Definition: According to IEEE 610.12, software engineering is the systematic, disciplined, and quantifiable approach to the development, operation, and maintenance of software; that is, the application of engineering principles to software.
Core Objective: To build reliable, maintainable, efficient, and cost-effective software products that satisfy client requirements within defined schedule and budget constraints.
Core Elements: Tools, Methods, Processes, and a Quality commitment.

Q2. What is Requirement Engineering?

Definition: Requirement Engineering (RE) is the systematic, iterative process of discovering, eliciting, analyzing, documenting, validating, and managing the functional services and operational constraints required of a software system.
Key Phases: Requirements Elicitation → Requirements Analysis & Negotiation → Requirements Specification (SRS) → Requirements Validation → Requirements Management.
Primary Deliverable: Software Requirements Specification (SRS) document.

Q3. What is software design?

Definition: Software design is the iterative engineering process of translating customer requirements into an architectural blueprint, data structures, component interfaces, and procedural algorithms before programming begins.
Two Major Levels:

Q4. What is cohesion?

Definition: Cohesion is a software design metric that measures the internal strength, functional relatedness, and degree of unity among the elements or responsibilities contained within a single software module.
Engineering Rule: High cohesion is highly desirable because it ensures each module performs a single, focused, well-defined task, enhancing readability, reusability, testability, and maintainability.
Ideal Level: Functional Cohesion (all module operations contribute strictly to one single function).

Q5. What is software testing?

Definition: Software testing is the systematic process of verifying and validating software artifacts by executing programs under controlled conditions with the explicit intent of uncovering defects, bugs, and requirement omissions.
Dual Objectives:

Q6. What is white-box testing?

Definition: White-box testing (also known as structural, glass-box, or clear-box testing) is a software testing methodology where the internal logic, code paths, conditional statements, and control flows of the program are directly analyzed and tested.
Core Coverage Techniques: Statement Coverage, Branch/Decision Coverage, Condition Coverage, and Path Coverage (using McCabe's Cyclomatic Complexity).
Prerequisite: Testers must possess detailed knowledge of the underlying source code and algorithm design.

Q7. What are product metrics?

Definition: Product metrics are quantitative, objective measurements used to assess the internal and external attributes, size, complexity, reliability, and performance of software deliverables and work products across lifecycle phases.
Key Examples:

Q8. What is software maintenance?

Definition: Software maintenance is the modification of a software system after delivery to correct latent faults, improve operational performance, or adapt the software to a changing business, regulatory, or computing environment.
Four Standard Types:

Q9. Define software project management.

Definition: Software Project Management (SPM) is the discipline of planning, organizing, staffing, monitoring, and controlling all software development activities to ensure that quality software is delivered on schedule, within budget, and meeting customer specifications.
Core Triple Constraints: Scope, Time, Cost, and Quality.
Key Responsibilities: Effort estimation, project scheduling, risk analysis, resource allocation, and team coordination.

Q10. What is software project planning?

Definition: Software project planning is the initial, preparatory phase of software project management in which project scope is demarcated, feasibility is evaluated, risks are assessed, and required resources, costs, and timelines are formally estimated prior to engineering execution.
Key Deliverables: Software Project Management Plan (SPMP), Work Breakdown Structure (WBS), and Gantt chart milestone schedules.
Standard Estimation Models: COCOMO (Constructive Cost Model), Function Point Analysis (FPA), and Expert Delphi judgment.

Model Question Paper – 2

Q1. What is software crisis?

Definition: Software crisis refers to a historical problem (originating in the late 1960s) where software projects consistently exceeded financial budgets, missed delivery deadlines, contained numerous residual bugs, and proved extremely difficult to maintain.
Key Symptoms: Cost overruns, schedule slippages, low user satisfaction, poor software quality, and complex maintenance.
Significance: The crisis served as the primary catalyst for establishing Software Engineering as a formal, disciplined engineering domain.

Q2. What is the Classical Waterfall Model?

Definition: The Classical Waterfall Model is a theoretical, linear-sequential software life cycle model where development progresses strictly in a downward cascading flow across distinct, non-overlapping phases.
Core Sequence: Feasibility Study → Requirements Analysis → Design → Coding → Testing → Maintenance.
Distinguishing Rule: Each phase must be completely finished and formally signed off before the next phase begins, with strictly no feedback loops permitted.

Q3. What is the Prototyping Model?

Definition: The Prototyping Model is an evolutionary software development approach where an initial working mock-up or prototype of the system is rapidly constructed, demonstrated to users for evaluation, and iteratively refined before full-scale coding begins.
Core Process: Quick Design → Build Prototype → Customer Evaluation → Refine Requirements → Engineer Final Product.
Best Suited For: Projects where user requirements are ambiguous, vague, or frequently evolving.

Q4. What is a module?

Definition: A module is a logically separable, independently identifiable, and self-contained programmatic unit that performs a specific, cohesive sub-task within a larger software system.
Key Characteristics: High internal cohesion, low external coupling, clean interface boundaries, and hidden internal implementation details.
Examples: Functions, subroutines, classes, or packages (e.g., PaymentProcessor, AuthModule).

Q5. What is unit testing?

Definition: Unit testing is the lowest-level verification testing phase where individual software units, functions, procedures, or methods are tested in complete isolation from the rest of the application.
Execution Role: Conducted directly by developers during the implementation phase using automated testing frameworks (e.g., JUnit, PyTest).
Support Harness: Employs testing stubs and drivers to simulate missing subroutines or calling modules.

Q6. What is software quality?

IEEE Definition: Software quality is the degree to which a software system, component, or process conforms to explicit functional specifications, documented development standards, and customer expectations.
Major Quality Models: McCall's Quality Model, Boehm's Model, and ISO/IEC 9126.
Core Quality Factors: Correctness, Reliability, Usability, Efficiency, Maintainability, Portability, and Security.

Q7. What is a Function Point?

Definition: A Function Point (FP) is a synthetic, standardized, language-independent unit of measurement used to quantify the functional size and business capability delivered by a software application to its users.
Five User Function Types: External Inputs (EI), External Outputs (EO), External Inquiries (EQ), Internal Logical Files (ILF), and External Interface Files (EIF).
Advantage: Measures software size directly from user requirements before source code is written, overcoming the language bias of Lines of Code (LOC).

Q8. What is corrective maintenance?

Definition: Corrective maintenance is reactive maintenance carried out after software delivery to identify, diagnose, patch, and repair residual faults, bugs, and defects uncovered during operational use.
Scope of Repairs: Logic bugs, algorithmic mistakes, runtime crashes, and syntax or design flaws.
Maintenance Share: Represents approximately 20% to 25% of all post-delivery software maintenance activities.

Q9. What is adaptive maintenance?

Definition: Adaptive maintenance refers to modifications made to a software system to keep it operational and compatible with a continually changing external environment without altering its core functionality.
Environmental Triggers: Hardware upgrades, operating system migrations, new database versions, or updated legal/tax regulatory mandates.
Example: Modifying payroll software to incorporate newly revised tax slabs or updating a desktop app to run on a new 64-bit operating system.

Q10. Define software cost estimation.

Definition: Software cost estimation is the analytical process of predicting the realistic financial expenditure, human effort (measured in person-months), and project schedule required to develop a software product.
Key Input Parameters: Software size (LOC or Function Points), project complexity, team experience, development tools, and delivery timeline.
Prominent Techniques: Algorithmic models (COCOMO Model), Expert Judgment (Delphi technique), and Estimation by Analogy.

Model Question Paper – 3

Q1. What is Software Development Life Cycle (SDLC)?

Definition: Software Development Life Cycle (SDLC) is a structured framework that outlines the systematic sequential phases through which a software product progresses from initial conception to final deployment and maintenance.
Sequential Phases: Feasibility Study → Requirements Analysis → System Design → Coding (Implementation) → Testing → Deployment → Maintenance.
Core Objective: To produce high-quality, reliable software that satisfies client expectations within estimated cost and time constraints.

Q2. What is a software process framework?

Definition: A software process framework establishes the organizational foundation for an engineering process by defining a small set of generic framework activities applicable to all software projects regardless of scale or complexity.
Five Generic Framework Activities: Communication, Planning, Modeling (Analysis and Design), Construction (Code and Test), and Deployment.
Umbrella Activities: Complemented across the lifecycle by umbrella activities including software quality assurance (SQA), configuration management, and risk tracking.

Q3. What is the Spiral Model?

Definition: Developed by Barry Boehm in 1986, the Spiral Model is an evolutionary, risk-driven software development process model that couples the iterative prototyping approach with the systematic, controlled structure of the Waterfall model.
Four Spiral Quadrants: Objective Determination, Risk Assessment and Reduction, Engineering and Validation, and Review and Next-Phase Planning.
Best Suited For: Large-scale, mission-critical, and high-risk software systems requiring continuous risk evaluation.

Q4. What is Functional Requirement?

Definition: Functional requirements are explicit statements detailing the specific services, functionalities, data transformations, calculations, and operational behaviors that a software system must provide to its end users.
Primary Focus: Defines "what the system should do" in response to specific user inputs and system events.
Examples: User login with credential validation, generating monthly sales reports, calculating student grade point averages, and automated cart checkout processing.

Q5. What is Non-functional Requirement?

Definition: Non-functional requirements (NFRs), also known as software quality attributes, specify the operational characteristics, performance criteria, and architectural constraints under which the system must operate.
Primary Focus: Defines "how well the system performs" its functions (judging quality rather than specific behaviors).
Key Dimensions: Response time latency (performance), data encryption (security), 99.9% uptime (reliability), usability, and horizontal scalability.

Q6. What is a Data Flow Diagram?

Definition: A Data Flow Diagram (DFD) is a structured graphical modeling tool that illustrates how data moves, transforms, and is stored throughout an information system, without depicting control logic or decision branching.
Four Notation Elements:

Q7. What is integration testing?

Definition: Integration testing is a systematic level of software testing where individually tested unit modules are combined and tested collectively to expose interface, data communication, and interaction defects between integrated components.
Integration Approaches:

Q8. What is software reengineering?

Definition: Software reengineering is the systematic examination, restructuring, and alteration of an existing legacy software system to reconstitute it in a new architectural form, improving maintainability, quality, and performance without changing its core business functionality.
BPR Process Stages: Inventory Analysis → Document Restructuring → Reverse Engineering → Code & Data Restructuring → Forward Engineering.
Core Benefit: Extends legacy software operational lifetime while reducing ongoing maintenance overhead.

Q9. Define project scheduling.

Definition: Project scheduling is the project management procedure of allocating estimated software engineering effort across a planned calendar timeline by decomposing tasks, establishing sequential dependencies, and allocating resources.
Standard Techniques: Work Breakdown Structure (WBS), Gantt Charts, Critical Path Method (CPM), and Program Evaluation and Review Technique (PERT).
Core Objective: To define measurable project milestones, track task progress, and guarantee software delivery within contracted completion dates.

Q10. Define software risk and name its main categories.

Definition: A software risk is a potential future event, uncertainty, or vulnerability that, if it occurs, will cause adverse impacts on project timelines, budget expenditures, software quality, or operational success.
Main Risk Categories:

Model Question Paper – 4

Q1. What is meant by software engineering ethics?

Definition: Software engineering ethics refers to the moral framework, professional obligations, and legal standards that guide software practitioners in making responsible technical and business decisions throughout the software lifecycle.
Core Principles (IEEE-CS/ACM Code): Public health and safety, confidentiality of client data, product quality integrity, professional competence, and refusal to participate in deceptive or harmful computing practices.
Objective: To ensure that software technology serves the public welfare and protects individual privacy.

Q2. What is the Incremental Delivery Model?

Definition: The Incremental Delivery Model is an evolutionary software development process where system requirements are prioritized and developed, tested, and released to the customer as a succession of usable, partial product increments.
Mechanism: The highest-priority core functions are developed and deployed in the initial increment, with subsequent increments progressively adding supplementary functionality based on user feedback.
Key Advantage: Provides rapid delivery of early business value and mitigates overall project risk.

Q3. What is Agile software development?

Definition: Agile software development is a lightweight, adaptive, and human-centric software engineering philosophy governed by the four core values and twelve principles of the Agile Manifesto (2001).
Core Philosophy: Prioritizes individuals and interactions, working software, customer collaboration, and rapid responsiveness to evolving requirements over rigid upfront planning.
Common Frameworks: Scrum, Extreme Programming (XP), Kanban, and Lean Software Development.

Q4. What is Software Requirement Specification (SRS) Document?

Definition: The Software Requirement Specification (SRS) is a formal, comprehensive document that completely defines the intended external behavior, functional capabilities, and operational constraints of a software system before development begins.
Core Contents: Functional requirements, non-functional requirements (performance, reliability, security), system interface definitions, design constraints, and data requirements.
Role: Serves as a contractual agreement between stakeholders and developers, and acts as the official validation baseline for acceptance testing.

Q5. Define UML.

Definition: UML (Unified Modeling Language) is a standardized, general-purpose graphical modeling language used in object-oriented software engineering to specify, visualize, construct, and document the structural and behavioral artifacts of software systems.
Standard Body: Standardized and managed by the Object Management Group (OMG).
Two Major Categories:

Q6. What is a coding standard?

Definition: A coding standard is an agreed-upon set of programming rules, syntactic conventions, formatting styles, and architectural guidelines that developers within an organization must strictly adhere to when authoring source code.
Key Elements: Identifier naming conventions (e.g., camelCase for variables, PascalCase for classes), indentation rules, maximum function length, file header comments, and defensive exception handling.
Primary Benefits: Enhances code readability, reduces software defect density, and simplifies long-term maintenance.

Q7. What is system testing?

Definition: System testing is the high-level phase of black-box testing where the complete, fully integrated software product is rigorously evaluated against specified system and business requirements in an environment simulating real-world production.
Scope: Evaluates end-to-end functionality, system security, performance, stress resistance, and recovery under peak operational workloads.
Major Types: Functional system testing, Performance testing (Load, Stress), Security testing, and Usability testing.

Q8. What is black-box testing?

Definition: Black-box testing (also known as behavioral or functional testing) is a software testing methodology where test cases are designed and executed based strictly on external system specifications without any knowledge or examination of the internal code structures, logic paths, or implementation algorithms.
Focus: Verifying that specified inputs produce expected outputs and that interface requirements are satisfied.
Core Techniques: Equivalence Class Partitioning (ECP), Boundary Value Analysis (BVA), and Decision Table testing.

Q9. What is Software Maturity Index?

Definition: The Software Maturity Index (SMI) is an established software quality metric used to quantify the architectural stability and maintenance maturity of a software product release based on the volume of modifications made between successive releases.
Mathematical Formula: SMI = [Mt - (Fa + Fc + Fd)] / Mt
Notation: Interpretation: As the software product stabilizes, SMI approaches 1.0 (indicating minimal changes and high stability).

Q10. What is PERT? State its expected-time formula.

Definition: PERT (Program Evaluation and Review Technique) is a statistical project scheduling and network modeling tool used in software project management to plan, schedule, and estimate project durations when individual task completion times are subject to high uncertainty.
Three Time Estimates: Expected Time Formula: Te = (To + 4Tm + Tp) / 6

Model Question Paper – 5

Q1. What is software engineering? State any two goals.

IEEE Definition: According to IEEE 610.12, software engineering is the systematic, disciplined, and quantifiable approach to the development, operation, and maintenance of software; that is, the application of engineering principles to software.
Two Major Goals:

Q2. What is an SRS document?

Expansion & Definition: SRS stands for Software Requirements Specification. It is an official, structured technical document that completely describes the expected external behavior, functional capabilities, performance criteria, and operational constraints of a software system.
Core Contents: Functional requirements, non-functional requirements (security, portability, reliability), system design constraints, and external interface descriptions.
Role: Serves as a contractual baseline between clients and developers, forming the foundation for architectural design, project cost estimation, and validation testing.

Q3. What is requirement elicitation?

Definition: Requirement elicitation (also known as requirements gathering) is the initial, collaborative phase of Requirements Engineering focused on discovering, collecting, and understanding customer expectations, business objectives, and system constraints from stakeholders, domain experts, and end-users.
Common Techniques: One-on-one stakeholder interviews, surveys and questionnaires, Joint Application Development (JAD) sessions, on-site task observation, and user story workshops.

Q4. What is internal documentation?

Definition: Internal documentation refers to the technical descriptions, explanatory comments, and structural readability mechanisms embedded directly within the program source code itself to assist software engineers with program maintenance and code reviews.
Key Elements: Meaningful identifier and variable naming conventions, file/module header blocks (author, version, date), inline comments explaining non-trivial logic, and function docstrings detailing parameters and return types.

Q5. What is regression testing?

Definition: Regression testing is the quality verification process of re-executing a selective suite of previously passed test cases following code modifications (such as bug fixes, software patches, refactoring, or feature additions) to ensure that existing system functionalities have not been broken or degraded.
Core Objective: To preserve baseline software stability and verify that fixing one software defect does not inadvertently introduce new regression defects elsewhere.
Execution Mode: Commonly automated through continuous integration (CI/CD) test suites.

Q6. What is Defect Removal Efficiency?

Definition: Defect Removal Efficiency (DRE) is an essential software quality and process metric that quantifies the percentage of software defects identified and successfully resolved by the development team prior to commercial release.
Mathematical Formula: DRE = [ E / (E + D) ] × 100
where E is the number of errors discovered internally before software delivery (via reviews, inspections, and testing), and D is the number of defects reported by customers post-release.
Significance: A higher DRE percentage (approaching 100%) indicates superior pre-release verification and testing effectiveness.

Q7. What is Cleanroom Software Development?

Origin & Definition: Developed by Harlan Mills at IBM, Cleanroom Software Development is a formal software engineering process model that emphasizes defect prevention through mathematical formal specifications, formal correctness verification, and statistical quality control to deliver certified zero or near-zero defect software.
Core Characteristics:

Q8. What is software reliability?

IEEE Definition: Software reliability is the probability that a software system will perform its required functions correctly and without failure under specified environmental conditions for a specified period of time.
Primary Measurement Metrics:

Q9. What is Software Quality Assurance (SQA)?

Definition: Software Quality Assurance (SQA) is an umbrella, systematic pattern of organizational actions, reviews, audits, and monitoring activities designed to provide adequate management confidence that the software development process adheres to established engineering standards, processes, and guidelines.
Key Activities: Formal technical reviews (FTR), process audits, compliance verification (e.g., ISO 9001, CMMI models), coding standard enforcement, and defect tracking.
Distinction: SQA is process-oriented (focused on defect prevention), whereas software testing is product-oriented (focused on defect detection).

Q10. What is a CASE tool?

Expansion & Definition: CASE stands for Computer-Aided Software Engineering. A CASE tool is a specialized software application or integrated software environment that provides automated or semi-automated support for engineering activities across the software development life cycle (SDLC).
Major Classifications:

PART II: SECTION B — 6 MARKS QUESTIONS (Papers 1 to 5)
Model Question Paper – 1

Q11. Explain the characteristics of software in detail.

1. Core Concept

Software is a logical rather than a physical system element. Its engineering design, operational failure profile, and lifecycle evolution differ fundamentally from physical manufactured hardware.

2. Failure Curve Comparison

Failure Rate         Hardware Bathtub             Actual Software Curve
     ^              \               /            \   /\    /\    /\   /
     |               \_____________/              \_/  \__/  \__/  \_/
     +-------------------------------> Time      (Spikes from maintenance patches)

3. Primary Characteristics

4. Summary Comparison

Feature Hardware Software
Production Factory assembly of physical parts. Intellectual design and coding.
Wear Out Wears out physically over time. Deteriorates logically via patches.
Components Standard off-the-shelf ICs. Custom-built programmatic modules.

Q12. Explain software crisis and need for software engineering.

1. Core Concept

The Software Crisis was identified at the 1968 NATO Conference to describe the systemic failure of the software industry to build reliable software on schedule and within budget.

2. Crisis vs Engineering Resolution

[Historical Crisis: 1968]                        [Engineering Solution]
- Budget overruns (200-500%)   === Adopt ===>   - Structured SDLC Models
- Schedule slippages (years)   Software Engg.   - Formal Quality & Testing
- Software cost reached 90%                     - Modular & Maintainable Code

3. Major Symptoms of Software Crisis

4. Need for Software Engineering

Software engineering provides disciplined SDLC processes, empirical cost estimation (COCOMO), modular design, and formal testing to guarantee on-time, budget-compliant, and reliable systems.
Real-World Example: The cancellation of the 1992 London Ambulance Dispatch System highlighted the disaster of building software without engineering discipline.

Q13. Explain software process models and their classification.

1. Core Concept

A Software Process Model (SDLC model) is a structured framework defining the sequence of activities, deliverables, and milestones from project conception to maintenance.

2. Classification Hierarchy

                     Software Process Models
                                |
    +---------------------------+---------------------------+
    |                           |                           |
[Linear-Sequential]     [Evolutionary/Iterative]    [Agile & Component-Based]
- Waterfall Model       - Prototyping Model         - Scrum / XP
- V-Model               - Spiral Model              - Component-Based (CBSE)

3. Primary Model Categories

4. Summary Comparison Table

Category Key Models Strengths Ideal Project Fit
Linear Waterfall, V-Model Simple, disciplined milestones. Stable, clear requirements.
Evolutionary Prototyping, Spiral Early feedback, strong risk analysis. Complex, high-risk systems.
Agile Scrum, XP, Kanban Fast releases, high adaptability. Dynamic apps with changing needs.

Q14. Explain the Types of Requirements.

1. Core Concept

A software requirement is an essential capability or operational constraint that a system must satisfy to fulfill user goals.

2. Requirements Taxonomy

                      Software Requirements
                                |
        +-----------------------+-----------------------+
        |                                               |
[Functional Requirements]                   [Non-Functional Requirements]
- Specific system behaviors                             |
- Data calculations & logic         +-------------------+-------------------+
- Business process rules            |                   |                   |
                           [Product Quality]   [Organizational]    [External/Legal]
                           Speed, Reliability  Process Standards   GDPR, RBI Laws

3. Key Requirement Categories

4. Summary Comparison Table

Type Core Focus Verification Concrete Example
Functional What system does. Test execution. Transfer funds between accounts.
Non-Functional How well it performs. Load & stress tests. Support 10,000 concurrent users.
Domain Domain rules. Expert audit. Calculate interest per laws.

Q15. Explain metrics for the Analysis Model.

1. Core Concept

Analysis model metrics provide quantitative measurements during requirements analysis to estimate system size, functional scope, and development effort prior to architectural design.

2. Function Point Formula

Albrecht Function Point Formula:
  FP = UFP * [0.65 + 0.01 * SUM(Fi)]
  - UFP: Unadjusted Function Points (weighted sum of 5 domain elements)
  - Fi: 14 Value Adjustment Factors rated 0 to 5 (scaling factor 0.65 to 1.35)

3. 5 Information Domain Characteristics

4. Complexity Weight Matrix

Element Low Weight Average Weight High Weight
Inputs (EI) / Inquiries (EQ) 3 4 6
Outputs (EO) 4 5 7
Internal Files (ILF) 7 10 15
External Interfaces (EIF) 5 7 10

Q16. Explain the meaning, goals, and importance of software maintenance.

1. Core Concept

Software Maintenance is the engineering process of modifying, optimizing, and supporting a software product after its operational deployment, spanning the entire remaining lifespan of the system.

2. Maintenance Effort Distribution

+-----------------------------------------------------------+
|          Distribution of Software Maintenance Effort      |
|  [Perfective: ~50%]  User feature additions & performance |
|  [Adaptive:   ~25%]  OS, DB, and regulatory updates       |
|  [Corrective: ~20%]  Runtime bug fixing and crash patches |
|  [Preventive: ~5%]   Code refactoring & re-engineering    |
+-----------------------------------------------------------+

3. Four Standard Maintenance Categories

4. Lehman's Laws of Software Evolution


Model Question Paper – 2

Q11. Explain software products and their types with suitable examples.

1. Core Concept:
A Software Product is a complete software deliverable comprising executable code, data structures, and documentation delivered to end users. Products are divided into Generic (off-the-shelf) and Customized (bespoke) systems.
2. Classification Framework:
                    +-----------------------+
                    |   Software Products   |
                    +-----------------------+
                                │
               ┌────────────────┴────────────────┐
               ▼                                 ▼
     [Generic Products]                 [Customized Products]
     (Open market COTS)                 (Client-specific bespoke)
3. Key Points & Characteristics:
4. Comparison Table & Examples:
Product Type Target Audience Cost Model Real-World Examples
Generic (COTS) Mass public market Low cost per seat Microsoft Windows 11, Adobe Photoshop, Oracle Database
Customized (Bespoke) Single enterprise High development cost SBI Core Banking Portal, Air Traffic Control, Hospital ERP

Q12. Explain the Types of Feasibility Study.

1. Core Concept:
A Feasibility Study is a preliminary evaluation conducted during SDLC inception to assess whether a proposed software project is technically practical, financially sound, legally compliant, and worth corporate investment.
2. The TELOS Feasibility Framework:
                     +-----------------------------+
                     |   TELOS FEASIBILITY MODEL   |
                     +-----------------------------+
                        │    │    │    │    │
           ┌────────────┘    │    │    │    └────────────┐
           ▼                 ▼    ▼    ▼                 ▼
      [Technical]       [Economic] [Legal]  [Operational]  [Schedule]
      (Tools/Skills)    (CBA, ROI) (GDPR)   (User Fit)     (Deadlines)
3. Five Key Dimensions of Feasibility:
4. Primary Deliverable:
Feasibility Report: Summarizes analytical findings and provides an executive recommendation to Proceed (Go), Revise Scope (Modify), or Abandon (No-Go).

Q13. Explain software design and its importance.

1. Core Concept:
Software Design is the technical engineering phase that transforms user requirements from the SRS document into an architectural blueprint, data structures, interface specifications, and procedural algorithms before programming begins.
2. Three Levels of Software Design:
[SRS Requirements] ──> [1. Architectural Design]  (Subsystems & frameworks)
                                    │
                                    ▼
                           [2. High-Level Design]     (Modules & interfaces)
                                    │
                                    ▼
                           [3. Detailed Design]       (Algorithms & data structures)
                                    │
                                    ▼
                           [Source Code Coding]
3. Importance of Software Design:
4. Practical Example:
In an e-commerce platform, architectural design partitions the system into Catalog, Payment, and Shipping microservices, allowing the payment gateway to be upgraded independently without disrupting catalog browsing.

Q14. Explain abstraction with suitable examples.

1. Core Concept:
Abstraction is a fundamental design principle that focuses on the essential, high-level behavioral characteristics of an entity while hiding non-essential, complex implementation details to manage system complexity.
2. Levels of Abstraction Model:
+---------------------------------------------------------------+
| DATA ABSTRACTION:       Abstract Data Types (ADTs), Classes   |
+---------------------------------------------------------------+
                               │
                               ▼
+---------------------------------------------------------------+
| PROCEDURAL ABSTRACTION: Subroutines, Functions, API Methods   |
+---------------------------------------------------------------+
                               │
                               ▼
+---------------------------------------------------------------+
| CONTROL ABSTRACTION:    High-level Loops, Exception Handlers  |
+---------------------------------------------------------------+
3. Key Points & Levels of Abstraction:
4. Real-World Practical Example:
Automobile Interface: A driver operates a car using a steering wheel, accelerator, and brake pedals (high-level abstraction) without needing to understand fuel injection timing or hydraulic fluid transmission mechanics.

Q15. Describe unit testing and the important unit test considerations.

1. Core Concept:
Unit Testing is the lowest-level software verification phase where individual software components, subroutines, or classes are tested in complete isolation to verify that their internal logic operates strictly according to detailed design specifications.
2. Unit Test Environment (Test Harness):
                      +-----------------------------+
                      |    DRIVER (Test Harness)    |
                      |  - Feeds input test vectors |
                      +-----------------------------+
                                     │
                                     ▼
                      +-----------------------------+
                      |      MODULE UNDER TEST      |
                      |  - Evaluates internal logic |
                      +-----------------------------+
                                     │
                                     ▼
                      +-----------------------------+
                      |     STUB (Dummy Module)     |
                      |  - Simulates called modules |
                      +-----------------------------+
3. Five Important Unit Test Considerations:
4. Execution Role:
Conducted white-box by developers during the coding phase using automated frameworks (e.g., JUnit, PyTest) with drivers and stubs to discover defects at the earliest, least costly stage.

Q16. Explain software project planning and its purpose.

1. Core Concept & Purpose:
Software Project Planning is the initial project management phase that defines project scope, estimates required resources, evaluates risks, and creates a realistic schedule to deliver quality software within budget and deadline constraints.
2. Planning Process Flow:
[1. Scope Definition] ──> [2. Size & Cost Estimation] ──> [3. Resource Allocation]
                                                                        │
[6. SPMP Plan Document] <── [5. Project Scheduling]   <── [4. Risk Analysis]
3. Essential Planning Activities:
4. Primary Deliverable:
SPMP Document: The Software Project Management Plan formalizes the baseline operational roadmap that guides development and manages client expectations.

Model Question Paper – 3

Q11. Differentiate between the Classical Waterfall Model and the Iterative Waterfall Model.

1. Core Concept

Definition: The Classical Waterfall Model is an idealistic, strictly linear-sequential SDLC model without feedback loops, whereas the Iterative Waterfall Model introduces backward feedback paths between adjacent phases to rectify defects discovered downstream.

2. Architecture Comparison Workflow

Classical Waterfall (Strictly One-Way):
[ Requirements ] --> [ Design ] --> [ Coding ] --> [ Testing ] --> [ Maintenance ]

Iterative Waterfall (With Adjacent Feedback Loops):
[ Requirements ] <--> [ Design ] <--> [ Coding ] <--> [ Testing ] --> [ Maintenance ]

3. Key Differences

4. Comparison Summary Table

Comparison Parameter Classical Waterfall Model Iterative Waterfall Model
Feedback Loops Completely absent Present between adjacent phases
Practical Applicability Theoretical / Idealistic Practical and industry-usable
Error Recovery No error recovery Backtracking to prior phase
Project Risk Very high risk Moderate risk

Q12. Explain functional independence with high cohesion and low coupling.

1. Core Concept

Definition: Functional independence is a software design principle where each module performs a single, specific task with minimal dependence on other modules. It is achieved by maximizing cohesion (internal functional strength) and minimizing coupling (inter-module interdependence).

2. Modular Design Spectrum Diagram

[ Low / Worst Cohesion ]  =======================>  [ High / Best Cohesion ]
(Coincidental, Logical, Temporal)                   (Sequential, Functional)

[ High / Worst Coupling ]  ======================>  [ Low / Best Coupling ]
(Content, Common, Control)                          (Stamp, Data Coupling)

3. Key Points and Classifications

4. Best Practice Design Target

Design Target Level to Achieve Practical Example
Target Cohesion Functional Cohesion Module executes one single task: calculateTax(income).
Target Coupling Data Coupling Modules exchange only primitive arguments through parameter lists.

Q13. Describe integration testing and explain why it is necessary.

1. Core Concept

Definition: Integration testing is a systematic testing phase in which individually unit-tested modules are combined and evaluated as a group to uncover defects in component interfaces, parameter passing, and inter-module communication.

2. Test Harness Hierarchy Diagram

Top-Down vs Bottom-Up Test Harnesses:
            [ Top Module (Driver Harness) ]
                           |
                           v
              [ Module Under Evaluation ]
                           |
                           v
            [ Subordinate (Stub Routine) ]

3. Why Integration Testing is Necessary

4. Integration Strategies Summary Table

Strategy Integration Approach Harness Used Major Advantage
Big Bang All modules combined at once None Fast for small programs; debugging is hard.
Top-Down From control module downward Stubs (dummy routines) Verifies high-level architecture early.
Bottom-Up From low-level leaf modules upward Drivers (caller harnesses) Verifies critical utility calculations early.

Q14. Describe validation testing and explain its importance.

1. Core Concept

Definition: Validation testing evaluates whether the completed, integrated software complies with customer requirements and business workflows. It answers Barry Boehm's fundamental question: "Are we building the right product?"

2. Verification vs Validation Comparison Matrix

Comparison Parameter Verification Validation
Fundamental Question "Are we building the product right?" "Are we building the right product?"
Primary Focus Conformance to design specifications Conformance to customer operational needs
Evaluation Method Static (Reviews, walkthroughs, inspections) Dynamic execution using live test cases
Lifecycle Timing Continuous across early SDLC phases Conducted toward the end of development

3. Key Levels of Validation Testing

4. Strategic Importance

A software product can pass all unit tests and technical verification checks, yet fail commercially if it misinterprets customer business workflows. Validation ensures customer satisfaction and prevents expensive post-release rework.


Q15. Explain metrics for the Design Model.

1. Core Concept

Definition: Design metrics are quantitative measures applied to architectural models, module hierarchies, and procedural logic prior to coding to evaluate complexity, modular independence, maintainability, and expected defect proneness.

2. Architectural Design Complexity Metrics (Card & Agresti)

3. Component-Level Design Metrics

4. McCabe Complexity Thresholds

Cyclomatic Complexity V(G) Risk Level Engineering Implication
1 – 10 Low Risk Simple, structured module; easy to test and maintain.
11 – 20 Moderate Risk Moderately complex; requires additional test cases.
> 20 High Risk Complex and error-prone; candidates for immediate refactoring.

Q16. Describe the major challenges in software maintenance.

1. Core Concept

Definition: Software maintenance is the modification of a software system following delivery to correct bugs, improve performance, or adapt it to changing environments. It represents the longest SDLC phase, consuming 60% to 80% of total software expenditure.

2. The Software Maintenance Cost Iceberg

Software Lifecycle Cost Distribution:
   +-------------------------------+
   |   Development (20% - 40%)     |  <-- Above Waterline (Initial visible cost)
===+===============================+=== Waterline
   |                               |
   |   Maintenance (60% - 80%)     |  <-- Below Waterline (Ongoing expenditure:
   |                               |      Corrective, Adaptive, Perfective, Preventive)
   +-------------------------------+

3. Major Technical and Managerial Challenges

4. Engineering Mitigations Summary Table

Maintenance Challenge Engineering Mitigation Strategy
Outdated documentation Automated reverse engineering tools and living code comments.
Ripple effect defects Modular refactoring to enforce high cohesion and low coupling.
Regression testing overhead Automated Continuous Integration (CI/CD) regression test suites.

Model Question Paper – 4

Q11. Explain the role of a software engineer in software development.

1. Core Concept

A software engineer is a technical professional who applies computer science principles, engineering methods, and mathematical analysis to design, develop, test, maintain, and evaluate software systems systematically across the SDLC.

2. Lifecycle Responsibilities Workflow
[Requirements] ──▶ [Architecture] ──▶ [Clean Coding] ──▶ [Automated Testing] ──▶ [CI/CD Deploy]
3. Key Responsibilities
4. Role Summary Matrix
SDLC Phase Core Responsibility Primary Deliverable
Analysis & Design System architecture & interface modeling. SRS notes, UML class diagrams.
Coding & Testing Clean modular coding and test automation. Tested source code, unit test suites.
Operations Continuous delivery & defect remediation. CI/CD build scripts, bug patches.

Q12. Explain the different ways of Requirements Elicitation or Gathering.

1. Core Concept

Requirements elicitation is the initial phase of Requirement Engineering focused on discovering and extracting the operational constraints and needs of a software system from diverse stakeholders.

2. Elicitation Architecture Workflow
[Stakeholder Needs] ──▶ [Interviews / JAD / Surveys / Observation] ──▶ [Verified Requirements]
3. Major Elicitation Techniques
4. Comparative Evaluation Table
Elicitation Technique Best Suited For Primary Advantage Major Limitation
Interviews Domain experts In-depth qualitative insight. Time-consuming to execute.
Questionnaires Broad audience Fast, cost-effective data. No clarifying follow-ups.
JAD Sessions Conflicting needs Rapid consensus resolution. High scheduling cost.

Q13. Explain software measurement, measures, metrics, and indicators.

1. Core Concept

In software engineering, quantitative management follows Roger Pressman's hierarchy: Measure, Measurement, Metric, and Indicator, converting raw counts into actionable decisions.

2. Measurement Hierarchy Flow
[MEASURE] ──▶ [MEASUREMENT] ──▶ [METRIC] ──▶ [INDICATOR]
(Raw Count)   (Counting Act)   (Calculated Ratio) (Actionable Insight)
3. Key Terms and Formulas
4. Comparative Distinction Matrix
Term Formal Definition Concrete Example Operational Role
Measure Raw quantitative value. 25 defects identified. Baseline raw count.
Metric Relational calculated ratio. 2.5 defects / KLOC. Standardized quality metric.
Indicator Insight guiding action. Metric breaches threshold. Triggers corrective process action.

Q14. Explain abstraction level, completeness, interactivity, and directionality in reverse engineering.

1. Core Concept

Reverse engineering is the process of analyzing an existing software system to identify its components and recover design representations at higher levels of abstraction without altering source code.

2. Recovery Workflow Flow
Source Code / Binaries ──[Reverse Engineering]──▶ Syntax Trees ──▶ Architecture Models
3. Four Core Characteristics
4. Characteristics Summary Matrix
Dimension Spectrum / Scale Key Operational Focus Practical Value
Abstraction Level Low to High Syntax trees to Architecture. System comprehensibility.
Completeness Partial to Complete Subsystem vs Full Coverage. Recovery reliability.
Interactivity Automated to Manual Tool execution vs Human input. Semantic accuracy.

Q15. Explain the basic COCOMO model with its three project modes and equations.

1. Core Concept

Basic COCOMO (Constructive Cost Model), developed by Barry Boehm, is an empirical algorithmic model predicting software effort (Person-Months) and duration (Months) from size in KLOC.

2. Model Equations
Effort:   E = a_b * (KLOC)^b_b  (Person-Months)
Duration: D = c_b * (E)^d_b     (Months)
Staff:    SS = E / D            (Persons)
3. Three Development Modes
4. Coefficients Table & Numerical Example
Mode a_b b_b c_b d_b Scale
Organic 2.4 1.05 2.5 0.38 Simple (< 50 KLOC)
Semidetached 3.0 1.12 2.5 0.35 Medium (50-300 KLOC)
Embedded 3.6 1.20 2.5 0.32 Complex (> 300 KLOC)

Example (Organic, 20 KLOC):
Effort E = 2.4 * (20)^1.05 ≈ 56 Person-Months
Duration D = 2.5 * (56)^0.38 ≈ 11.55 Months


Q16. Explain the Gantt chart and its uses in software project scheduling.

1. Core Concept

A Gantt chart is a specialized horizontal bar chart developed by Henry Gantt, used in software project scheduling to plan, allocate, sequence, and track tasks across project timelines.

2. Architectural Layout Diagram
WBS Activity              W1   W2   W3   W4   W5   W6   W7   W8   W9
──────────────────────────────────────────────────────────────────
1. Requirements Analysis  [=====]
2. SRS Milestone                     ◆ (M1)
3. Architectural Design             [======]
4. Implementation                          [========]
5. System Testing                                   [======]
6. Release Milestone                                         ◆ (M2)
──────────────────────────────────────────────────────────────────
3. Structural Features and Uses
4. Benefits Summary Table
Scheduling Feature Gantt Mechanism Project Benefit
Timeline Tracking Horizontal time bars. Prevents deadline slippage.
Precedence Mapping Activity dependency links. Pinpoints critical bottlenecks.
Progress Auditing Shading percent complete. Provides visual real-time status.

Model Question Paper – 5

Q11. Explain software engineering as a layered technology.

1. Core Concept

Software engineering is a layered technology that provides a disciplined approach to developing quality software. Formulated by Roger Pressman, it rests on an organizational commitment to quality that drives the process, defines methods, and is automated by tools.

2. Layered Architecture Diagram
+---------------------------------------------------------------+
|                            TOOLS                              |  <-- Automated CASE support
+---------------------------------------------------------------+
|                           METHODS                             |  <-- Technical "how-to" tasks
+---------------------------------------------------------------+
|                           PROCESS                             |  <-- Framework binding layers
+---------------------------------------------------------------+
|                        QUALITY FOCUS                          |  <-- Foundational bedrock
+---------------------------------------------------------------+
3. Key Layers
4. Summary Table
LayerMetaphorPrimary RoleExample
Quality FocusBedrockZero-defect commitmentTQM, Six Sigma
ProcessGlueDefines life cycle roadmapScrum, Waterfall
MethodsHow-toTechnical modeling rulesOOAD, UML
ToolsLeverageAutomates repetitive tasksJira, Git, Jenkins

Q12. Explain umbrella activities and their role in software development.

1. Core Concept

Umbrella activities are management and quality assurance functions applied uniformly throughout the software life cycle. They operate continuously across all phases to ensure software quality, risk control, and schedule integrity.

2. Lifecycle Alignment
+-------------------------------------------------------------------------------------------------+
|                                       UMBRELLA ACTIVITIES                                       |
|  * Project Tracking  * Risk Management  * SQA  * Reviews (FTR)  * SCM  * Measurement  * Reuse   |
+-------------------------------------------------------------------------------------------------+
     |                  |                   |                    |                    |
     v                  v                   v                    v                    v
[Communication] --> [Planning] -----> [Modeling] ---------> [Construction] -----> [Deployment]
3. Key Umbrella Activities
4. Summary Table
ActivityObjectiveImpact
Project TrackingMonitor milestone velocityPrevents budget and schedule slippage
Risk ManagementMitigate vulnerabilitiesProactive risk avoidance
SCMCoordinate concurrent changesVersion control and baseline traceability
Formal ReviewsPeer inspectionUncovers defects before release

Q13. Explain the emerging trends in software development.

1. Core Concept

Modern software development is transitioning from monolithic, manual workflows toward automated, cloud-native, and intelligence-driven engineering paradigms to meet demands for rapid delivery, massive scalability, and continuous deployment.

2. Modern Engineering Ecosystem
[AI-Assisted Dev] ---> [Containerized Microservices] ---> [CI/CD Pipeline] ---> [Serverless Cloud]
 (GitHub Copilot)          (Docker / Kubernetes)             (DevSecOps)            (AWS / Azure)
3. Key Emerging Trends
4. Comparison Table
DimensionTraditional ParadigmEmerging Modern Paradigm
ArchitectureMonolithic codebaseDistributed microservices
DeploymentMonthly / quarterly releasesAutomated continuous releases
InfrastructureOn-premise physical serversCloud-native / serverless
SecurityLate audit before launchDevSecOps shift-left automated

Q14. Explain coding standards, coding guidelines, and the advantages of coding standards.

1. Core Concept

Source code is read and maintained far more frequently than it is written. Coding standards are mandatory, non-negotiable rules governing code formatting and structure, while coding guidelines are advisory recommendations that guide programmers toward writing clean, maintainable software.

2. Standards vs. Guidelines Structure
+-----------------------------------------------------------------------------------------------+
| CODING STANDARDS (Mandatory)   --> Naming conventions, indentation, file organization, safety |
+-----------------------------------------------------------------------------------------------+
| CODING GUIDELINES (Advisory)   --> Design patterns, code readability, performance advice     |
+-----------------------------------------------------------------------------------------------+
3. Key Elements & Rules
4. Advantages Summary Table
AdvantageBenefit to Development Team
Enhanced ReadabilityCode written by multiple developers appears uniform and clean.
Lower Maintenance CostSpeeds up debugging, refactoring, and code comprehension.
Streamlined Code ReviewsReviews focus on logic and architecture rather than formatting debates.
Defect PreventionBounds checking and initialization rules prevent runtime crashes.

Q15. Explain software testing and its importance in software development.

1. Core Concept

Software testing is the process of executing a program with the intent of finding defects (IEEE). It encompasses Verification ("Are we building the product right?") and Validation ("Are we building the right product?").

2. Software Testing Life Cycle (STLC) Workflow
[Requirements Analysis] ---> [Test Planning] ---> [Test Case Design]
                                                         |
[Test Closure] <--- [Defect Tracking] <--- [Test Execution] <--- [Environment Setup]
3. Key Reasons for Importance
4. Summary Table of Testing Levels
Testing LevelTarget FocusPrimary Responsibility
Unit TestingIndividual functions / modulesDevelopers (JUnit, PyTest)
Integration TestingInterfaces between modulesDevelopers & QA Engineers
System TestingEnd-to-end integrated applicationIndependent QA Team
Acceptance TestingUser operational readinessClients / End-Users (UAT)

Q16. Explain team management, team composition, and the responsibilities involved in managing a software team.

1. Core Concept

Software team management is the leadership discipline of organizing human engineering talent, assigning roles, establishing communication pathways, and resolving conflicts to deliver quality software within budget and schedule constraints.

2. Team Organizational Models (Mantei Model)
  [ Democratic Decentralized ]       [ Controlled Decentralized ]       [ Controlled Centralized ]
      (Consensus-driven)                  (Leader + Sub-teams)              (Chief Programmer)
       * Open horizontal                   * Modular coordination            * Strict top-down
       * High satisfaction                 * Industry standard               * Fast, routine tasks
3. Key Roles in Team Composition
4. Summary of Team Paradigms
ParadigmAuthority StyleCommunicationOptimal Project Type
Democratic (DD)Consensus (No boss)Horizontal (All-to-all)Complex research, exploratory tasks
Controlled (CD)Leader with sub-teamsHierarchical & horizontalLarge modular enterprise systems
Centralized (CC)Strict Chief ProgrammerVertical onlySimple, routine, tight-deadline projects

PART III: SECTION C — 8 MARKS QUESTIONS (Papers 1 to 5)
Model Question Paper – 1

Q17. Explain the Spiral Model with its four phases.

1. Core Concept

Proposed by Barry W. Boehm in 1988, the Spiral Model is an evolutionary, risk-driven software development process model that couples iterative prototyping with controlled, systematic aspects of the Waterfall model. It organizes software production into repeated concentric cycles around an origin point. The radial dimension from the origin represents cumulative development cost incurred, while the angular dimension represents progress completed within each lifecycle phase. The model was specifically engineered to accommodate rapid evolution and risk management in mission-critical applications.

2. Four-Quadrant Architecture Diagram

                     Determine Objectives & Constraints
                             [ Quadrant 1 ]
                                    |
          Cumulative                |          Risk Analysis & Prototyping
          Cost Axis ($)             |                [ Quadrant 2 ]
               ^                    |
               |         (Spiral Iterations)
      ---------+--------------------+------------------------------------>
               |                   /|\                               Progress Axis
               |                  / | \
      Review & Next Phase Plan      |          Engineering & Verification
           [ Quadrant 4 ]           |                [ Quadrant 3 ]
                                    v
                           Construct & Test Code

3. Four Core Operational Phases

4. Spiral Dimensions and Characteristics

Spiral Dimension Operational Meaning Practical Function
Radial Distance (r) Measures total cumulative cost Tracks cumulative expenditure and human labor hours expended
Angular Displacement (theta) Measures progress toward completion Advances through objectives, risks, engineering, and planning
Risk Analysis Pivot Mandatory checkpoint per spiral Builds working prototypes to confirm feasibility before construction
Project Suitability High-uncertainty systems Ideal for large, mission-critical enterprise systems with volatile requirements

Q18. Explain Requirement Engineering Process Activities.

1. Core Concept

Requirement Engineering (RE) is the systematic, disciplined process of discovering, analyzing, modeling, documenting, validating, and managing requirements throughout the software product lifecycle. Governed by IEEE 610.12 and ISO/IEC/IEEE 29148 standards, RE establishes a formalized bridge between client business goals and software architectural designs, creating an unambiguous baseline for contracting, system construction, and acceptance testing.

2. Process Pipeline Diagram

+---------------------------------------------------------------------------------+
|                     REQUIREMENT ENGINEERING PROCESS PIPELINE                    |
+---------------------------------------------------------------------------------+
  [ Inception ] --------> [ Elicitation ] --------> [ Elaboration ]
        |                       |                         |
        v                       v                         v
  (Scope & Stakeholders)   (Interviews & JAD)        (UML & Use Cases)
                                                          |
  [ Validation ] <------- [ Specification ] <------- [ Negotiation ]
        |                  (IEEE 830 SRS)            (Priorities & Feasibility)
        v
  +-------------------------------------------------------------------------------+
  | Requirements Management (Traceability Matrix, Churn Tracking & Change Control)|
  +-------------------------------------------------------------------------------+

3. Detailed Process Activities

4. Activity Summary and Deliverables

RE Activity Primary Technique / Mechanism Key Deliverable / Output
Elicitation Stakeholder interviews and JAD sessions Raw user stories and feature wish-lists
Elaboration Object-oriented and behavioral analysis UML use cases and domain object models
Specification IEEE 830 / ISO 29148 structural authoring Baseline Software Requirements Specification (SRS)
Management Bidirectional traceability tracking Updated Requirements Traceability Matrix (RTM)

Q19. Explain structured design and the different structured design tools.

1. Core Concept

Structured Design is a traditional software engineering methodology based on top-down functional decomposition, transforming data flow representations into a well-defined modular software architecture. Formulated by Edward Yourdon and Larry Constantine, it partitions complex problems into manageable, single-purpose software modules characterized by high internal cohesion and low inter-module coupling.

2. Architecture / Structure Chart Diagram

                          [ Payroll Executive ]
                            /         |         \
                 o, *      /          |          \      o
             Data & Flag  /           |           \   Data
                         v            v            v
              [ Read Records ] [ Compute Pay ] [ Print Slip ]
                 /          \         |
                v            v        v
           [ Parse Input ] [ Validate ] [ Tax Rules ]
           
           Notation: [Module]  --> Call  o--> Data Couple  *--> Control Flag

3. Core Structured Design Tools

4. Structured Design Tools Comparison

Design Tool Structural Focus Primary Notational Symbols
Structure Chart Architectural module hierarchy Module boxes, directed call arrows, data and control couples
Data Flow Diagram Data flow and transformation Process bubbles, entity squares, data stores, directed arrows
Decision Table Complex logic and conditional rules Condition stubs, action stubs, condition entries, action entries
Structured English Detailed algorithmic procedural logic Standardized programming verbs, indentation, sequential constructs

Q20. Describe the different strategies of testing conventional software.

1. Core Concept

Testing conventional software is a systematic, hierarchical roadmap that integrates test-case design techniques into a planned sequence of verification and validation activities. Organized as an expanding spiral or V-model hierarchy, testing begins at the microscopic source code level and progresses outward to validate integrated modules, full subsystem behaviors, and overall business system compliance.

2. Architecture / Testing Hierarchy Spiral

   +-------------------------------------------------------------------+
   |                   SOFTWARE TESTING STRATEGY SPIRAL                |
   +-------------------------------------------------------------------+
      / \        [ 4. System Testing ]     -> Recovery, Security, Stress
     /   \       [ 3. Validation Testing ] -> Alpha, Beta & Acceptance
    /     \      [ 2. Integration Testing] -> Top-Down & Bottom-Up Harness
   /_______\     [ 1. Unit Testing ]       -> Module Logic, White-Box Paths
   
   Focus: Code Level (Inward) -------------> Complete System (Outward)

3. Four Conventional Testing Strategies

4. Summary Comparison Table

Testing Strategy Focus & Target Scope Primary Testing Mechanism
Unit Testing Individual code modules and methods White-box logic path and boundary value coverage
Integration Testing Inter-module interfaces and parameter passing Incremental harnesses using test drivers and stubs
Validation Testing Conformance to customer SRS requirements Black-box functional validation, Alpha and Beta testing
System Testing Complete end-to-end operational platform Stress, recovery, security, and load benchmarking

Q21. Explain Halstead Software Science and its basic measures.

1. Core Concept

Introduced by Maurice H. Halstead in 1977, Halstead Software Science is an analytical measurement theory that evaluates the structural complexity, memory volume, and mental development effort of a software program. It treats computer programs as tokenized texts comprising distinct and repeated operators (procedural keywords and symbols) and operands (variables, constants, and data identifiers).

2. Primitive Measures and Derived Formulas

Primitive Token Counts:
  eta1 = Number of unique operators      eta2 = Number of unique operands
  N1   = Total occurrences of operators  N2   = Total occurrences of operands

Derived Software Science Formulas:
  Program Vocabulary:   eta = eta1 + eta2
  Program Length:       N   = N1 + N2
  Program Volume:       V   = N * log2(eta)  (measured in bits)
  Program Difficulty:   D   = (eta1 / 2) * (N2 / eta2)
  Development Effort:   E   = D * V  (elementary mental discriminations)
  Estimated Time:       T   = E / 18  (seconds, where Stroud number S = 18)

3. Core Halstead Metrics Explained

4. Concrete Numerical Calculation Example

Token Category Elements Present Count
Operators (eta1, N1) int, (), {}, return, >, ?:, ,, ; eta1 = 8, N1 = 10
Operands (eta2, N2) max, a, b eta2 = 3, N2 = 6
Vocabulary & Length eta = 8 + 3 = 11 tokens N = 10 + 6 = 16 tokens
Volume, Difficulty, Effort V = 16 * log2(11) = 55.35 bits; D = (8/2)*(6/3) = 8 E = 8 * 55.35 = 442.8 discriminations

Q22. Explain the different types of software maintenance with suitable examples.

1. Core Concept

According to ISO/IEC 14764, software maintenance is the totality of engineering processes required to provide cost-effective modifications and operational support to a delivered software system throughout its post-delivery lifecycle. Maintenance is essential to preserve operational viability, adapt systems to evolving hardware and regulatory frameworks, fulfill new user demands, and mitigate structural decay.

2. Maintenance Effort Distribution Diagram

+-------------------------------------------------------------------------+
|                LIENTZ-SWANSON MAINTENANCE EFFORT PROFILE                |
+-------------------------------------------------------------------------+
  [ Perfective Maintenance: 50% ]  ---> User feature requests & efficiency
  [ Adaptive Maintenance: 25% ]    ---> New operating systems, cloud & APIs
  [ Corrective Maintenance: 20% ]  ---> Bug fixes, logic crashes & repairs
  [ Preventive Maintenance: 5% ]   ---> Code refactoring & reengineering

3. Four Core Maintenance Categories with Examples

4. Summary Comparison Table

Maintenance Category Trigger Nature Effort Share Concrete Industry Example
Corrective Reactive 20% Fixing buffer overflow or division-by-zero runtime error
Adaptive Environmental 25% Upgrading payment gateway to comply with TLS 1.3 protocol
Perfective Proactive Enhancement 50% Adding multi-currency checkout to an e-commerce website
Preventive Quality Hardening 5% Refactoring undocumented spaghetti code to reduce complexity

Q23. Explain the meaning, need, and objectives of software project management.

1. Core Concept

Software Project Management (SPM) is the discipline of planning, organizing, monitoring, and controlling human, financial, and technical resources to deliver high-quality software that meets agreed requirements. Governed by IEEE 1058 and the Project Management Body of Knowledge (PMBOK), SPM balances the Triple Constraints of Scope, Time, and Cost while ensuring rigorous quality control throughout the engineering lifecycle. It systematically coordinates human teams, engineering processes, and technological tools to minimize project failure rates and deliver reliable software within constraints.

2. Triple Constraints Triangle Diagram

                              [ SCOPE ]
                        (Features & Functions)
                               /     \
                              /       \
                             / QUALITY \
                            /  BALANCE  \
                           /             \
                [ TIME ] ----------------- [ COST ]
              (Schedule Milestones)       (Budget & Resources)

3. Need for Software Project Management

4. Core Objectives and Governance Summary

Project Objective Operational Focus Key Control Tool / Metric
On-Time Delivery Adherence to scheduled project deadlines Gantt charts, Milestone tracking, Critical Path Method (CPM)
Cost Containment Completing development within approved budget COCOMO estimation, Earned Value Analysis (EVA)
Quality Conformance Fulfilling all functional and ISO 25010 benchmarks Defect Removal Efficiency (DRE), Formal Technical Reviews
Stakeholder Satisfaction Aligning deliverables with client expectations Scope baseline control, Change Control Board (CCB) reviews
Risk Mitigation Proactive containment of schedule and cost risks Continuous risk logging, contingency reserves, and mitigation plans

Model Question Paper – 2

Q17. Describe the different phases of the Software Development Life Cycle.

1. Core Concept

The Software Development Life Cycle (SDLC) is a structured, systematic framework defining the comprehensive series of stages executed to plan, design, build, test, deploy, and maintain high-quality software systems. According to IEEE standards, SDLC establishes clear technical milestones, deliverables, and quality gates across the entire system existence from initial feasibility assessment through final software decommissioning.

2. Architecture & Process Framework
+-----------------------------------------------------------------------+
|                SOFTWARE DEVELOPMENT LIFE CYCLE (SDLC)                 |
+-----------------------------------------------------------------------+
  [Feasibility] -> [Requirements] -> [System Design] -> [Implementation]
       |                 |                  |                 |
  (Viability Rep)     (SRS Doc)        (HLD & LLD)       (Source Code)
                                                              |
  [Deployment & Maintenance] <--- [Integration & Testing] <---+
       |                                   |
  (Operational System)             (Test Reports/Bugs)
3. Key Engineering Dimensions & Activities
4. Technical Comparison & Deliverables Matrix
SDLC PhasePrimary Engineering ActivityKey Deliverable / Work Product
Feasibility StudyViability & cost-benefit analysisFeasibility Assessment Report
Requirements AnalysisUser elicitation & functional modelingFormal SRS Document (IEEE 830)
System DesignArchitectural & database modelingDesign Document (HLD & LLD)
ImplementationSource code translation & compilationExecutable Modules & Unit Tests
Testing & QAVerification, validation & defect fixingTest Summary & Defect Logs
Deployment & Maint.Production release & user supportOperational Release & Patches

Q18. Explain the Classical Waterfall Model with its different phases.

1. Core Concept

The Classical Waterfall Model, introduced by Winston Royce in 1970, is the fundamental linear-sequential software process lifecycle model where development activities cascade downward through distinct phases in a rigid, non-overlapping sequence. In this theoretical model, a subsequent phase commences only after the preceding phase achieves 100% completion, verification, and formal documentation sign-off, featuring strictly zero feedback loops to prior stages.

2. Architecture & Process Framework
+-----------------------------------------------------------------------+
|                    CLASSICAL WATERFALL PROCESS MODEL                  |
+-----------------------------------------------------------------------+
  [Feasibility Study]
          |
          v
    [Requirements Analysis]
            |
            v
      [System Design]
              |
              v
        [Coding & Unit Testing]
                |
                v
          [Integration & Testing]
                  |
                  v
            [Maintenance]
3. Key Engineering Dimensions & Activities
4. Technical Comparison & Deliverables Matrix
Engineering DimensionClassical Waterfall StrengthsCritical Engineering Limitations
Process StructureHighly disciplined, sequential, and simple to understandInflexible; cannot accommodate changing user requirements
Milestone TrackingClear phase boundaries, deliverables, and sign-offsWorking software is delivered extremely late in lifecycle
DocumentationComprehensive documentation at every project phaseHigh project risk; customer sees product only at delivery
Defect ManagementEarly detection during requirements prevents design flawsZero feedback loops; late defect discovery causes disaster

Q19. Explain Software Requirement Specification Document. Why we need SRS Document?

1. Core Concept

A Software Requirement Specification (SRS) is a formal, comprehensive document conforming to the IEEE 830 standard that explicitly defines the functional capabilities, performance criteria, constraints, and operational behavior of a target software system. It specifies completely what the software system must do without dictating how it should be designed or implemented, establishing the definitive legal agreement between stakeholders and developers.

2. Architecture & Process Framework
+-----------------------------------------------------------------------+
|                 IEEE 830 STANDARD SRS DOCUMENT STRUCTURE              |
+-----------------------------------------------------------------------+
  Section 1: Introduction
    |--> 1.1 Purpose  |  1.2 Scope  |  1.3 Definitions  |  1.4 References
  Section 2: Overall Description
    |--> 2.1 Product Perspective  |  2.2 User Characteristics  |  2.3 Constraints
  Section 3: Specific Requirements
    |--> 3.1 External Interfaces  |  3.2 Functional  |  3.3 Performance  |  3.4 Security
  Section 4: Appendices & Supporting Information
3. Key Engineering Dimensions & Activities
4. Technical Comparison & Deliverables Matrix
IEEE 830 SectionDocument Component FocusPrimary Information Delivered
1. IntroductionScope, Purpose & VocabularyDefines system boundaries, objectives, and terms
2. Overall DescriptionContext & Operational ConstraintsHardware platforms, user profiles, design assumptions
3. Specific RequirementsGranular Functional & Non-FunctionalInputs, outputs, throughput, security, UI interfaces
4. AppendicesSupporting Data & SchemasData flow models, acronym glossaries, sample forms

Q20. Explain white-box testing and its techniques in detail.

1. Core Concept

White-box testing (structural or glass-box testing) is a software verification method where internal code structure, control paths, logic conditions, and data flows are systematically inspected. It verifies that internal program statements execute as specified, eliminating unreached dead code and detecting logic path anomalies.

2. Architecture & Process Framework
+-----------------------------------------------------------------------+
|             CONTROL FLOW GRAPH (CFG) & BASIS PATH ANALYSIS            |
+-----------------------------------------------------------------------+
   Sample Logic:                            Control Flow Graph:
   1. Read(A, B);                                  ( 1 )
   2. if (A > 10)                                  /   \
   3.    X = A * 2;                            ( 2 )   ( 3 )
   4. else X = B + 5;                              \   /
   5. Print(X);                                    ( 4 )
   Cyclomatic Complexity: V(G) = E - N + 2P = 4 - 4 + 2(1) = 2 Paths
3. Key Engineering Dimensions & Activities
4. Technical Comparison & Deliverables Matrix
White-Box TechniqueCoverage Metric FormulaRigor LevelPrimary Defect Focus
Statement CoverageExecuted Statements / Total StatementsBasicUnreachable dead code statements
Branch CoverageTraversed Branches / Total Decisions * 2ModerateUntested conditional outcomes
Condition CoverageEvaluated Conditions / Total ConditionsHighFaulty boolean operator logic
Basis Path TestingV(G) = Edges - Nodes + 2(Components)ComprehensiveComplex logic interactions & loops

Q21. Explain metrics for testing.

1. Core Concept

Software testing metrics are quantitative measurements systematically gathered during test engineering to evaluate the progress, quality, coverage, defect severity, and overall effectiveness of software testing activities. According to software engineering standards, these metrics provide project managers and quality assurance teams with objective, data-driven indicators to track test execution, identify high-risk components, and authorize production release.

2. Architecture & Process Framework
+-----------------------------------------------------------------------+
|                 CLASSIFICATION OF SOFTWARE TESTING METRICS            |
+-----------------------------------------------------------------------+
                       /                                [Test Process Metrics]               [Test Product Metrics]
                 |                                     |
    * Test Case Execution Rate (TCER)      * Defect Density (DD = Def/KLOC)
    * Defect Removal Efficiency (DRE)      * Defect Severity Distribution
    * Test Turnaround & Fix Time           * Cyclomatic Complexity & Risk
    * Execution Pass / Fail Rate           * Code Coverage (Stmt/Branch %)
3. Key Engineering Dimensions & Activities
4. Technical Comparison & Deliverables Matrix
Testing Metric NameMathematical Computation FormulaKey Engineering ObjectiveIndustry Benchmark / Target
Defect DensityTotal Defects / KLOCQuantify code quality and defect rate< 1.0 Defect / KLOC
Defect Removal Eff.[E / (E + D)] * 100%Measure quality filter effectiveness>= 90% DRE before release
Test Execution Rate(Executed Tests / Planned) * 100%Track test execution progress against plan100% planned tests executed
Test Pass Rate(Passed Tests / Executed) * 100%Determine build stability for deployment>= 98% with zero P1 defects

Q22. Explain the Software Reengineering Process Model with its different activities.

1. Core Concept

Software Reengineering is an iterative, disciplined software modernization process that re-examines, reconstructs, and modifies existing legacy systems into higher-quality, maintainable, and scalable software architectures without altering core business capabilities. It addresses legacy system obsolescence, preserving past capital investments and critical institutional business logic while dramatically cutting long-term maintenance overhead compared to high-risk greenfield redevelopment.

2. Architecture & Process Framework
+-----------------------------------------------------------------------+
|             CYCLICAL SOFTWARE REENGINEERING PROCESS MODEL             |
+-----------------------------------------------------------------------+
   [1. Inventory Analysis] ------> [2. Document Restructuring]
             ^                                     |
             |                                     v
   [6. Forward Engineering] <---- [3. Reverse Engineering]
             ^                                     |
             |                                     v
   [5. Data Restructuring] <------ [4. Code Restructuring]
3. Key Engineering Dimensions & Activities
4. Technical Comparison & Deliverables Matrix
Evaluation DimensionSoftware ReengineeringGreenfield (Fresh) Development
Business Logic RiskVery Low; preserves verified enterprise rulesHigh; risk of omitting subtle domain rules
Development CostModerate; leverages existing assets and testingHigh; requires full-scale ground-up engineering
Time to DeploymentRapid; modernized in phased module iterationsProtracted; long delay before functional release
User RetrainingMinimal; core workflows and business concepts preservedSignificant; new paradigms require complete retraining

Q23. Explain project scheduling and describe the major steps involved in preparing a project schedule.

1. Core Concept

Project scheduling is the essential project management discipline of organizing, sequencing, and allocating project activities, required resources, and technical deliverables across a calendar timeline. It establishes definitive delivery baselines, maps task dependencies, and designates intermediate project milestones, enabling engineering managers to track team progress, control budget expenditures, and ensure on-time delivery within scope constraints.

2. Architecture & Process Framework
+-----------------------------------------------------------------------+
|              PROJECT SCHEDULING FORMULATION PIPELINE                  |
+-----------------------------------------------------------------------+
  [Work Breakdown Structure] ---> [Activity Sequencing & Dependencies]
                                                |
                                                v
  [Critical Path Analysis (CPM)] <--- [Effort & Duration Estimation]
                |
                v
  [Resource Allocation & Leveling] -> [Baseline Schedule & Gantt Chart]
3. Key Engineering Dimensions & Activities
4. Technical Comparison & Deliverables Matrix
Scheduling Stage / TechniquePrimary Input InformationCore Output DeliverableManagement Utility / Purpose
Work Breakdown StructureProject Scope & SRSHierarchical WBS TreeDefines all discrete work packages
Activity SequencingWBS Work PackagesNetwork Dependency DiagramDetermines prerequisite work flow
Critical Path AnalysisDurations & DependenciesCritical Path & Task FloatIdentifies bottleneck tasks with zero slack
Gantt Chart FormulationCPM Network & ResourcesBaseline Project ScheduleVisualizes calendar deadlines & milestones

Model Question Paper – 3

Q17. Explain the software process framework and its major framework activities.

1. Core Concept

Definition: According to Roger Pressman, a software process framework establishes the organizational foundation for an entire software engineering life cycle by identifying a small set of generic framework activities that apply to all software projects regardless of their scale, technical complexity, or application domain.

2. Framework Architecture Workflow

+---------------------------------------------------------------------------------+
|                          Software Process Framework                             |
+---------------------------------------------------------------------------------+
| [ Communication ] --> [ Planning ] --> [ Modeling ] --> [ Construction ]        |
| (Elicitation)        (Estimates)      (Analysis/Design) (Code & Test)           |
|                                                                 |               |
|                                                                 v               |
|                       [ Deployment ] <--------------------------+               |
|                       (Delivery & Feedback)                                     |
+---------------------------------------------------------------------------------+
|  [ Umbrella Activities: SQA, SCM, Risk Management, Formal Reviews, Tracking ]    |
+---------------------------------------------------------------------------------+

3. Five Generic Framework Activities

4. Framework vs Umbrella Activities Summary Table

Comparison Dimension Generic Framework Activities Umbrella Activities
Execution Nature Sequential or iterative developmental stages Continuous across the entire lifecycle
Primary Objective Direct engineering and construction of software Management control, quality assurance, and tracking
Core Examples Communication, Modeling, Construction SQA, SCM, Risk Management, FTR

Q18. Explain the Prototyping Model with its different phases or stages.

1. Core Concept

Definition: The Prototyping Model is an evolutionary software development process model designed for projects where customer requirements are vague, unstable, or poorly understood. Developers rapidly build an interactive mock-up (prototype) to elicit user feedback, progressively refining system specifications prior to full production coding.

2. Prototype Lifecycle Loop Diagram

[ Requirements Gathering ]
            |
            v
     [ Quick Design ]
            |
            v
   [ Build Prototype ]
            |
            v
 [ Customer Evaluation ] <---+ (Feedback & Refinement Loop)
            |                |
            +--- Refine? ----+
            | (Approved)
            v
[ Engineer Final Product ]

3. Six Sequential Phases of the Prototyping Model

4. Throwaway vs Evolutionary Prototyping

Feature Throwaway Prototyping Evolutionary Prototyping
Prototype Destiny Discarded once requirements are clarified Gradually refactored into the final production product
Primary Objective Requirement validation and risk exploration Rapid delivery of core functioning increments
Code Rigor Quick, unoptimized mock-up code Robust, documented, production-grade architecture

Q19. Describe the difference between functional and non-functional requirements with examples.

1. Core Concept

Definition: Software requirements define the capabilities and constraints of a proposed software system. Functional requirements specify what the system must do (explicit services and behaviors), whereas Non-functional requirements (NFRs or quality attributes) specify how well the system must perform (operational constraints, performance benchmarks, and security rules).

2. Requirements Architecture Diagram

+---------------------------------------------------------------------------------+
|                           Software System Requirements                          |
+---------------------------------------+-----------------------------------------+
|                                       |                                         |
v                                       v                                         |
Functional Requirements (Services)      Non-Functional Requirements (Constraints) |
• User Authentication                   • Performance (Latency < 2s)              |
• Fund Transfers & Billing              • Security (AES-256 Encryption)           |
• Data Storage & Reports                • Reliability (99.99% Uptime)             |
+---------------------------------------+-----------------------------------------+

3. Comprehensive Comparison Table

Comparison Dimension Functional Requirements Non-Functional Requirements (NFRs)
Primary Focus Specific tasks and behavioral services Quality attributes and operational constraints
User Visibility Directly visible and interactive for users Pervasive system qualities experienced indirectly
Verification Method Black-box functional and unit test cases Stress, load, penetration, and benchmark tests
Measurement Metric Boolean pass/fail (feature works or doesn't) Quantitative values (seconds, uptime %, throughput)
Standard Hierarchy Use Cases, User Stories, Functional specs ISO/IEC 25010 Quality Model (Security, Performance)
Architectural Impact Dictates module logic and database tables Dictates hardware, clustering, caching, and security layers
Online Banking Example User can transfer funds via NEFT/UPI Fund transfer completes in under 1.5 seconds
Hospital System Example Doctor can view and update patient charts Patient medical records encrypted using AES-256

4. Engineering Significance

Functional requirements ensure that software satisfies business logic, while non-functional requirements ensure that the system remains scalable, secure, and resilient under production workloads.


Q20. Explain modular design and the need for modular design.

1. Core Concept

Definition: Modular design is the software architectural practice of decomposing a large, complex monolithic software system into distinct, self-contained, and manageable units called modules. Each module encapsulates a specific sub-function, adheres to information hiding, and interacts with other modules through clean, standardized interfaces.

2. Modularization Architecture Diagram

Monolithic System (Complex & Fragile)   --->   Modular Architecture (Maintainable)
+-----------------------------------+          +-------------+  +-------------+
|                                   |          | User Module |  | Auth Module |
|  Unstructured Monolithic Code     |  ====>   +-------------+  +-------------+
|  (High Coupling & Zero Isolation) |          +-------------+  +-------------+
|                                   |          | Billing Mod |  | Report Mod  |
+-----------------------------------+          +-------------+  +-------------+

3. Five Key Reasons Why Modular Design is Essential

4. Effective Modular Design Criteria

Design Principle Engineering Definition Architectural Impact
Functional Independence Module executes one single, distinct sub-function High cohesion and low coupling
Information Hiding Internal data structures and algorithms hidden from callers Prevents unauthorized external state tampering
Modular Decomposability System can be systematically broken into sub-problems Enables clean top-down architectural decomposition

Q21. Explain Software Maturity Index with formula and example.

1. Core Concept

Definition: The Software Maturity Index (SMI) is an IEEE standard metric (IEEE Standard 982.1) used to assess the architectural stability, quality maturity, and release readiness of a software product based on the volume of changes made between sequential releases.

2. Mathematical Formula and Parameters

SMI = [ M_t - (F_a + F_c + F_d) ] / M_t

3. Step-by-Step Multi-Release Numerical Example

Consider an enterprise banking system tracked across three development releases:

4. Release Stability Tracking Table

Software Release Total Modules (M_t) Total Changes (F_a + F_c + F_d) Calculated SMI Release Maturity Assessment
Release 2 110 40 0.636 High volatility; extensive regression testing required
Release 3 115 12 0.896 Rapidly stabilizing toward baseline maturity
Target Goal — Approaches 0 → 1.00 Mature, stable product ready for deployment

Q22. Explain the reverse engineering process in detail.

1. Core Concept

Definition: As defined by Chikofsky and Cross, reverse engineering is the systematic process of analyzing an existing target software system to identify its structural components and interrelationships, and to reconstruct representations of the system at higher levels of abstraction without modifying the underlying source code.

2. Reverse Engineering Abstraction Pyramid

                    /\
                   /  \
                  /    \   <-- [ Level 4: Business Conceptual Model ]
                 /------\
                /        \  <-- [ Level 3: System Architecture Model ]
               /----------\
              /            \ <-- [ Level 2: Data & Control Flow (DFDs / Call Graphs) ]
             /--------------\
            /                \ <-- [ Level 1: Raw Source Code & AST ]
           +------------------+
           [ DIRECTION OF ANALYSIS: BOTTOM-UP (Code to Concepts) ]

3. Four Core Phases of Reverse Engineering

4. Reverse vs Forward Engineering Comparison Table

Comparison Parameter Reverse Engineering Forward Engineering
Development Direction Bottom-up (Source Code → Design → Requirements) Top-down (Requirements → Design → Source Code)
Starting Point Existing legacy source code and binaries Customer business needs and problem statements
Primary Objective Understand and document existing architecture Build a brand-new working software system
Tool Support Decompilers, code parsers, profilers IDEs, compilers, CASE modeling tools

Q23. Explain the software risk management process.

1. Core Concept

Definition: Software risk management is a formal, proactive management discipline that identifies, assesses, monitors, and mitigates prospective uncertainties that could threaten project delivery schedules, budgets, software quality, or operational success. It is operationalized through the RMMM (Risk Mitigation, Monitoring, and Management) plan.

2. Risk Management Lifecycle Loop

+-----------------------------------------------------------------------------+
|                        Software Risk Management Process                     |
+-----------------------------------------------------------------------------+
| [ Risk Identification ] (Brainstorming, Checklists, Past Post-Mortems)      |
|           |                                                                 |
|           v                                                                 |
| [ Risk Analysis & Projection ] (Likelihood P vs Impact I: Exposure = P x I) |
|           |                                                                 |
|           v                                                                 |
| [ Risk Prioritization ] (Plotting on Criticality Risk Matrix)               |
|           |                                                                 |
|           v                                                                 |
| [ Risk Mitigation & Contingency Planning ] (Preventative Actions)           |
|           |                                                                 |
|           v                                                                 |
| [ Continuous Risk Monitoring & Tracking ] (Milestone Metric Reviews)        |
+-----------------------------------------------------------------------------+

3. Five Key Stages of the Risk Management Process

4. Sample Risk Information Table (RMMM Matrix)

Identified Risk Category Probability Impact Mitigation & Contingency Plan
Staff Turnover Project Risk High (70%) Critical Cross-training, paired programming, and modular documentation.
Scope Creep Business Risk Medium (50%) High Formal Change Control Board (CCB) and baseline requirement freezes.
Unproven Cloud API Technical Risk Low (20%) Moderate Early technical spikes, benchmarking, and alternative vendor fallbacks.

Model Question Paper – 4

Q17. Explain software engineering ethics and describe confidentiality, competence, intellectual property rights, and computer misuse.

1. Core Concept

Software engineering ethics encompasses the moral principles and professional responsibilities governing practitioners to ensure software systems safeguard public welfare, privacy, and safety. Jointly formulated by the ACM and IEEE Computer Society (ACM/IEEE-CS), the Code of Ethics establishes eight fundamental principles (Public, Client/Employer, Product, Judgment, Management, Profession, Colleagues, and Self) committing engineers to the highest ethical and professional integrity.

2. Ethical Practice Framework
+-------------------------------------------------------------+
|        ACM / IEEE-CS Software Engineering Code of Ethics     |
+------------------------------+------------------------------+
| Professional Competence      | Confidentiality & Privacy    |
| - Honest capability claims   | - Non-disclosure agreements  |
| - Continuous skill upgrading | - User data protection       |
+------------------------------+------------------------------+
| Intellectual Property (IP)   | Computer & Resource Misuse   |
| - Copyright, patents, licenses| - Zero unauthorized access   |
| - Open-source compliance     | - Anti-malware / DoS defense |
+------------------------------+------------------------------+
3. Detailed Ethical Dimensions
4. Ethical Obligations and Violation Consequences
Ethical Area Core Professional Mandate Potential Violation Scenario Real-World Consequence
Confidentiality Protect proprietary trade secrets and user PII Exposing client source code or customer data Severe litigation, loss of professional trust
Competence Accept tasks strictly within verified skill limits Falsifying readiness on critical safety systems Catastrophic system failure and legal liability
Intellectual Property Respect software patents, trademarks, and OSS terms Embedding GPL-licensed libraries into closed SaaS Copyright infringement and asset forfeiture
Computer Misuse Protect computing environments from unauthorized access Deploying unauthorized data-harvesting logic Criminal prosecution and credential revocation

Q18. Explain the Incremental Delivery Model and its development process.

1. Core Concept

The Incremental Delivery Model is an iterative software process where system requirements are prioritized and delivered to customers in successive, functioning releases termed increments. Rather than postponing delivery until complete system realization, Increment 1 delivers the core baseline product (must-have capabilities), while subsequent increments systematically add enhancements, supplementary services, and user-driven refinements. This approach is widely adopted in commercial products to enable early market entry and reduce delivery risk.

2. Incremental Delivery Architecture
[ Requirements Analysis & Prioritization ]
                   |
     +-------------+-------------+
     |             |             |
     v             v             v
+----------+  +----------+  +----------+
| Increment|  | Increment|  | Increment|
| 1: Core  |  | 2: Added |  | 3: Final |
| System   |  | Features |  | Polish   |
+----+-----+  +----+-----+  +----+-----+
     |             |             |
     v             v             v
[Release 1]   [Release 2]   [Release 3]
 (Operate)     (Feedback)    (Operation)
3. Development Process Activities
4. Model Comparison and Trade-offs
Evaluation Dimension Incremental Delivery Model Traditional Waterfall Model
Value Realization Early operational delivery of core capabilities to end users Zero business value delivered until entire final product cutover
Risk Mitigation Early exposure of architecture reduces critical late-stage failures High risk; catastrophic integration defects discovered late
Change Accommodation Customer feedback seamlessly integrated into subsequent increments Requirements locked early; alterations cause substantial rework
Stakeholder Engagement Continuous customer evaluation fosters active collaboration Limited to requirements sign-off and final acceptance testing

Q19. Explain the Activities of Requirement Validation.

1. Core Concept

Requirement validation is the formal quality assurance process that verifies whether the Software Requirements Specification (SRS) accurately defines the system that stakeholders truly expect and need. While verification evaluates specification conformance ("Are we building the product right?"), validation asks "Are we building the right product?", resolving ambiguities, omissions, and conflicts before design begins. Industry benchmarks demonstrate that discovering requirement errors during validation costs up to 100 times less than fixing them post-deployment.

2. Requirement Validation Pipeline
                [ Raw Requirements / Draft SRS ]
                               |
                               v
            +-------------------------------------+
            |     Requirement Validation Core     |
            +------------------+------------------+
                               |
         +---------------------+---------------------+
         |           |                   |           |
         v           v                   v           v
    [ Formal     [ Prototype   ]     [ Test Case ] [ Automated  ]
      Reviews ]    Evaluation        Generation      Consistency
         |           |                   |           |
         +---------------------+---------------------+
                               |
                               v
                   [ Validated Baseline SRS ]
3. Essential Validation Activities
4. Validation Quality Checklist
Quality Criterion Validation Objective Typical Defect Detected
Validity / Correctness Confirms requirements align with real operational workflows Misinterpreted user expectations and domain logic
Completeness Ensures all operational states, inputs, and exceptions are specified Missing boundary cases, exceptions, and security limits
Consistency Verifies no internal contradictions exist across functional statements Clashing functional rules and conflicting data definitions
Verifiability Confirms every requirement can be objectively proven via testing Vague subjective phrases such as "user-friendly" or "fast"

Q20. Explain UML, its features, and the types of UML diagrams.

1. Core Concept

The Unified Modeling Language (UML) is the industry-standard, object-oriented visual modeling language governed by the Object Management Group (OMG) for specifying, visualizing, constructing, and documenting software artifacts. Created by Grady Booch, James Rumbaugh, and Ivar Jacobson, UML 2.x defines 14 diagram types categorized into structural and behavioral views, enabling architects and developers to represent complex software blueprints independently of programming languages.

2. UML Diagram Classification
                     [ UML 2.x Diagram Types ]
                                 |
         +-----------------------+-----------------------+
         |                                               |
         v                                               v
[ Structural Diagrams ]                         [ Behavioral Diagrams ]
 (Static Architecture)                           (Dynamic Execution)
   |-- Class Diagram                               |-- Use Case Diagram
   |-- Object Diagram                              |-- Sequence Diagram
   |-- Component Diagram                           |-- Activity Diagram
   |-- Deployment Diagram                          |-- State Machine Diagram
3. Core Features of UML
4. Comparison of Primary Structural vs. Behavioral Diagrams
Diagram Name Classification Primary Modeling Focus Key Notational Elements
Class Diagram Structural Static class structures, attributes, methods, and relationships Classes, methods, generalization, and association
Deployment Diagram Structural Hardware execution topology and software artifact deployment Hardware nodes, artifacts, communication paths
Use Case Diagram Behavioral System functional boundary and external actor interactions Actors, use cases, boundary box, include/extend links
Sequence Diagram Behavioral Chronological message interactions exchanged between objects Object lifelines, activation bars, sync/async messages

Q21. Describe black-box testing and explain its testing techniques with suitable examples.

1. Core Concept

Black-box testing (also known as behavioral or functional testing) evaluates software functionality purely against requirements specifications without inspecting internal source code, logic structures, or internal data paths. The system is treated as an opaque box where testers apply targeted inputs and verify whether actual outputs match expected specifications. It is extensively applied during system testing and user acceptance testing (UAT) to validate compliance with business needs.

2. Black-Box Testing Model
             [ Test Input Data ]
                      |
                      v
             +-----------------+
             |   [Black Box]   |
             | Internal Code   | ===> [ Observed Output ]
             | Structure Hidden|            vs
             +-----------------+     [ Expected Output ]
3. Primary Black-Box Testing Techniques
4. Practical BVA Example: Password Length (6 to 12 Characters)

Consider an authentication module requiring passwords between 6 and 12 characters inclusive. BVA selects inputs directly at the boundary thresholds to prevent off-by-one errors:

Test Case ID Password Length Boundary Position Partition Type Expected System Action
TC-01 5 characters Min − 1 Invalid Partition Rejected with validation error: "Password too short"
TC-02 6 characters Min (Lower Edge) Valid Partition Accepted as valid password
TC-03 12 characters Max (Upper Edge) Valid Partition Accepted as valid password
TC-04 13 characters Max + 1 Invalid Partition Rejected with validation error: "Password too long"

Q22. Explain software quality metrics and Defect Removal Efficiency.

1. Core Concept

Software quality metrics provide quantitative measures of the degree to which a software system, component, or development process satisfies specified customer requirements and engineering standards. Formulated by Capers Jones, Defect Removal Efficiency (DRE) is a paramount process quality metric that measures the capability of quality assurance activities (inspections, reviews, and test phases) to eliminate defects prior to production release.

2. Defect Removal Efficiency (DRE) Formulation
+-------------------------------------------------------------+
|              Defect Removal Efficiency (DRE) Formula         |
|                                                             |
|                   E                                         |
|        DRE = -----------  x  100%                           |
|                 E + D                                       |
|                                                             |
|  Where:                                                     |
|    E = Defects detected internally prior to delivery        |
|    D = Defects detected externally by end users in field    |
|  Target Benchmark: DRE >= 90% indicates mature QA process   |
+-------------------------------------------------------------+
3. Categories of Software Quality Metrics
4. Concrete Numerical DRE Calculation Example

Scenario: An enterprise software team detects and resolves E = 450 defects during pre-release code reviews and integration testing. After production deployment, end users report D = 50 defects during the initial release quarter.


Q23. Explain the measures of software reliability and availability, including MTTF, MTTR, and MTBF.

1. Core Concept

Software reliability is the probability of failure-free software execution for a specified duration in a specified environment (expressed as R(t) = e^(-λt)). Software availability (A) is the probability that a system is operational and accessible to deliver required services at any given point in time, combining failure-free operation with rapid service restoration.

2. Reliability and Availability Architecture
+-------------------------------------------------------------+
|              Reliability & Availability Architecture         |
|                                                             |
|  |<------------------------ MTBF ------------------------->| |
|  [ Operational Running Time: MTTF ] [ Repair Down Time: MTTR] |
|                                                             |
|  1. Mean Time Between Failures: MTBF = MTTF + MTTR          |
|                                                             |
|                           MTTF                              |
|  2. Availability (A): A = ---- x 100% =  MTTF  x 100%       |
|                           MTBF         MTTF+MTTR            |
+-------------------------------------------------------------+
3. Detailed Metric Definitions
4. Concrete Numerical Calculation and Summary Comparison

Numerical Example: A cloud payment microservice operates for MTTF = 995 hours before encountering an unhandled crash. Automated recovery restores service in MTTR = 5 hours.

Reliability Metric Primary Measurement Focus Mathematical Formula Target Objective
MTTF Continuous operational failure-free uptime Total Operating Time / Total Failures Maximize (thousands of hours)
MTTR Downtime spent in diagnosis and repair Total Repair Downtime / Total Failures Minimize (minutes / seconds)
Availability (A) Percentage of time system is fully operational [MTTF / (MTTF + MTTR)] × 100% Maximize (≥ 99.9%)

Model Question Paper – 5

Q17. Explain Agile software development and its basic concepts.

1. Core Concept

Agile software development is an iterative, incremental software engineering approach governed by the 2001 Agile Manifesto. It prioritizes customer collaboration, adaptive planning, rapid delivery of working software increments, and flexible responsiveness to changing requirements over rigid procedural documentation.

2. Scrum Sprint Lifecycle Architecture Diagram
[Product Backlog] ---> [Sprint Planning] ---> [Sprint Backlog]
 (Prioritized User          |                       |
     Stories)               v                       v
                    [Sprint Execution (2-4 Weeks)] <---> [Daily Scrum (15 min)]
                            |
                            v
               [Potentially Shippable Product Increment]
                      /                  \
                     v                    v
              [Sprint Review]      [Sprint Retrospective]
             (Demo to Client)       (Process Improvement)
3. Core Concepts & Framework Pillars
4. Agile vs. Traditional Waterfall Comparison Table
DimensionAgile (Scrum)Traditional Waterfall
Development ModelIterative and incremental sprintsLinear, sequential phases
Requirement FlexibilityWelcomes changing requirements lateRigid, frozen requirements baseline
Customer EngagementContinuous throughout every sprintLimited to initial and final stages
Delivery FrequencyWorking increments every 2–4 weeksSingle final monolithic delivery

Q18. What is Requirements Management ? Explain the activities involved in Requirement Management.

1. Core Concept

Requirements Management is a systematic engineering process of eliciting, documenting, organizing, and controlling evolving software requirements throughout the entire system life cycle. Because project requirements change constantly due to emerging market needs and technical constraints, it ensures that all modifications are systematically evaluated, approved, and tracked across all design and testing artifacts.

2. Requirements Change Management Workflow Diagram
[Change Request (CR)] ---> [Impact Analysis] ---> [Change Control Board (CCB)]
                                                         |
                           +-----------------------------+-----------------------------+
                           |                                                           |
                           v (Approved)                                                v (Rejected)
        [Update Baseline & Version Control]                                  [Notify Requestor]
                           |
                           v
        [Update Traceability Matrix (RTM)] ---> [Notify Development & QA]
3. Key Requirements Management Activities
4. Summary Table
ActivityPrimary MechanismStrategic Project Benefit
Version ControlBaseline labeling & changelogsPrevents unauthorized modifications
CCB GovernanceMultidisciplinary approval gateEliminates uncontrolled scope creep
Traceability (RTM)Bidirectional linkage mappingGuarantees test coverage & zero missing features
Impact AnalysisDependency evaluation graphPrevents regression bugs & unexpected delays

Q19. Write a note on software documentation.

1. Core Concept

Software documentation encompasses all written materials, diagrams, and digital artifacts that describe the architecture, operational capabilities, design rationale, and maintenance procedures of a software system. High-quality documentation reduces maintenance costs, facilitates seamless knowledge transfer among developers, and enables end users to utilize the application effectively.

2. Documentation Architecture Hierarchy
                          +-----------------------------------+
                          |       SOFTWARE DOCUMENTATION      |
                          +-----------------+-----------------+
                                            |
                 +--------------------------+--------------------------+
                 |                                                     |
                 v                                                     v
      [ SYSTEM DOCUMENTATION ]                              [ USER DOCUMENTATION ]
  (Engineers & Maintainers)                             (Clients & End Users)
  * SRS (Requirements)                                  * User Manual / Handbook
  * Architectural Design Document (ADD)                 * Installation & Setup Guide
  * Code Docstrings & API Specs                         * Quick-Start Tutorials
  * Test Plans, Test Cases, & Bug Logs                  * Reference & Troubleshooting Guide
3. Core Categories & Best Practices
4. System vs. User Documentation Comparison Table
DimensionSystem DocumentationUser Documentation
Target AudienceSoftware engineers, maintainers, QAEnd users, system administrators, operators
Primary PurposeGuide system evolution, debugging, refactoringGuide software operation, configuration, setup
Key ArtifactsSRS, UML models, API schemas, Test PlansUser manuals, tutorials, troubleshooting guides
Technical DepthHigh (algorithms, schemas, source code links)Low to moderate (task workflows, UI screens)

Q20. Describe the different types of system testing such as recovery testing, security testing, stress testing, performance testing, and deployment testing.

1. Core Concept

System testing is a black-box testing phase that evaluates a completely integrated software system against specified business requirements. Conducted by an independent QA team in a production-like environment, it verifies end-to-end functionality, security, performance, and recovery capabilities.

2. System Testing Execution Framework
                     +-----------------------------------+
                     |       SYSTEM TESTING SUITE        |
                     +-----------------+-----------------+
                                       |
    +-----------------+----------------+----------------+-----------------+
    |                 |                |                |                 |
    v                 v                v                v                 v
[Performance]     [Stress]         [Security]       [Recovery]       [Deployment]
 (Throughput &    (Breaking Point   (Penetration &   (Fault Failover  (Installation &
 Response Times)   Peak Overload)   Authorization)    Data Rollback)   Config Checks)
3. Detailed Breakdown of Key System Testing Types
4. Summary Comparison Table
System Testing TypePrimary ObjectiveKey Evaluation Metric
Performance TestingValidate speed and efficiency under expected loadResponse time (ms), TPS throughput
Stress TestingDetermine breaking point and recovery behaviorFailure threshold, resource exhaustion
Security TestingDetect exploitable vulnerabilities and loopholesAuthorization breaches, OWASP Top 10
Recovery TestingValidate automated failover and data integrityMTTR (Mean Time to Recover), zero data loss
Deployment TestingConfirm smooth installation and environment setupClean install logs, zero configuration errors

Q21. Explain Cleanroom Software Development, its process, box structures, testing, and advantages and disadvantages.

1. Core Concept

Cleanroom Software Development is a formal engineering methodology developed by Harlan Mills emphasizing mathematical verification over defect detection to produce zero-defect software. It replaces traditional developer unit testing with formal specification, mathematical correctness proofs, and independent statistical usage testing.

2. Cleanroom Box Structure Hierarchy
+-----------------------------------------------------------------------------------------------+
| BLACK BOX : Defines external system behavior as a mathematical stimulus-response mapping.     |
+-----------------------------------------------------------------------------------------------+
                                                |  (Encapsulates internal state)
                                                v
+-----------------------------------------------------------------------------------------------+
| STATE BOX : Encapsulates state data and history; maps (Stimulus + Old State) -> (New State). |
+-----------------------------------------------------------------------------------------------+
                                                |  (Refines into procedural control logic)
                                                v
+-----------------------------------------------------------------------------------------------+
| CLEAR BOX : Contains detailed procedural logic, algorithms, and sub-box control structures.    |
+-----------------------------------------------------------------------------------------------+
3. Key Process Elements & Testing Strategy
4. Summary Table of Box Structures
Box StructureInformation FocusViewpointMathematical Basis
Black BoxExternal system behaviorUserStimulus -> Response history
State BoxInternal data & persistent stateArchitect(Stimulus + Old State) -> (New State + Response)
Clear BoxAlgorithmic & control flowProgrammerStepwise procedural refinement & correctness proofs

Q22. Explain Software Quality Assurance and describe the major activities performed by the SQA group.

1. Core Concept

Software Quality Assurance (SQA) is a planned, systematic management pattern ensuring software processes and work products conform to organizational standards. While software testing detects defects in executable code, SQA is a process-oriented prevention framework aligned with ISO 9001 and CMMI standards.

2. SQA Organizational Framework Diagram
                     +---------------------------------------------+
                     |         INDEPENDENT SQA GROUP               |
                     +----------------------+----------------------+
                                            |
      +---------------------+---------------+---------------------+---------------------+
      |                     |               |                     |                     |
      v                     v               v                     v                     v
[SQA Plan &        [Process Compliance   [FTR & Peer Review   [SCM Audit &           [Deviation Tracking
 Standards]         Audits]               Oversight]           Verification]          & Metrics Reporting]
3. Major Activities Performed by the SQA Group
4. SQA vs. Software Testing Comparison Table
DimensionSoftware Quality Assurance (SQA)Software Testing
Primary FocusProcess-oriented (How software is built)Product-oriented (Finding bugs in built code)
ObjectiveDefect prevention across the entire SDLCDefect detection in executable artifacts
Execution PhaseContinuous umbrella activity across all phasesConducted during construction and verification phases
ResponsibilityIndependent SQA Group & Project LeadershipDevelopers and dedicated QA test engineers

Q23. Explain CASE tools, their objectives, categories of support, CASE environment architecture, benefits, limitations, and selection criteria.

1. Core Concept

Computer-Aided Software Engineering (CASE) refers to a collection of automated and semi-automated software tools that provide structured support for software engineering activities across all SDLC phases. CASE tools aim to enhance developer productivity, improve software quality, enforce engineering standards, and reduce life cycle delivery costs.

2. Integrated CASE (I-CASE) Environment Architecture
+-----------------------------------------------------------------------------------------------+
| UPPER CASE TOOLS : Requirements Analysis, UML Modeling, Data Flow Diagrams, UI Wireframing    |
+-----------------------------------------------------------------------------------------------+
                                                |
                                                v
+-----------------------------------------------------------------------------------------------+
| CENTRAL CASE REPOSITORY : Shared database storing data dictionaries, schema models, and specs |
+-----------------------------------------------------------------------------------------------+
                                                ^
                                                |
+-----------------------------------------------------------------------------------------------+
| LOWER CASE TOOLS : Code Generators, Compilers, Debuggers, Static Analyzers, Test Automation   |
+-----------------------------------------------------------------------------------------------+
3. Core Categories, Benefits, and Selection Criteria
4. Summary Comparison Table
CASE CategorySDLC Phases SupportedPrimary DeliverablesTypical Tools
Upper CASEPlanning, Analysis & DesignSRS documents, UML diagrams, ERDsEnterprise Architect, StarUML
Lower CASEImplementation & TestingExecutable code, test scripts, bug logsEclipse, GCC, Selenium, JUnit
Integrated CASEFull end-to-end SDLCComplete traceable project repositoryJira + Git + Jenkins + SonarQube