Skip to content
Unit 1 Syllabus Note· Software Engineering

Software Engineering

Comprehensive exam revision notes for BCA-423E Unit 1 (Introduction to Software Engineering & Life Cycle Models). Includes Section A (2M), Section B (5M), and Section C (15M) questions, answers, and diagrams.

Software Engineering

Introduction to Software Engineering & Life Cycle Models

Core Definitions & Key Concepts

What is the formal IEEE definition of Software Engineering

IEEE Standard 610.12 defines Software Engineering as: 'The application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software; that is, the application of engineering to software.'

What was the 'Software Crisis' that emerged in the late 1960s

The Software Crisis referred to widespread project failures characterized by massive budget overruns, missed deadlines, unreliable bug-ridden software, and exorbitant post-delivery maintenance costs.

How does software differ fundamentally from manufactured physical hardware

  1. Software is engineered and developed logically; it is not manufactured on an assembly line.
  2. Software does not wear out mechanically over time (does not follow the hardware 'bathtub curve').
  3. Software is predominantly custom-built rather than assembled from standard hardware components.

What is the primary drawback of the Classical Waterfall Model

It is strictly linear and sequential, assuming all requirements are frozen at inception. It provides no feedback loops and delays testing until the very end, making mid-course requirement changes catastrophic.

When is the Prototyping Model most suitable for software projects

When the customer has vague, uncertain, or incompletely understood requirements. A mock-up working model allows users to visualize and refine requirements interactively.

Name the four quadrants in each cycle of Barry Boehm's Spiral Model

  1. Determine objectives, alternatives, and constraints.
  2. Evaluate alternatives, identify and resolve risks.
  3. Develop and verify next-level product.
  4. Review and plan next phase.

List the five maturity levels of the SEI CMM/CMMI framework

  1. Level 1 (Initial): Ad-hoc, chaotic processes.
  2. Level 2 (Repeatable / Managed): Basic project management policies.
  3. Level 3 (Defined): Standardized, documented organization-wide engineering processes.
  4. Level 4 (Quantitatively Managed): Quantitative quality metrics and statistical process control.
  5. Level 5 (Optimizing): Continuous process improvement through innovative technology.

What is Function Point Analysis (FPA) and who created it

Developed by Allan Albrecht in 1979 at IBM, FPA measures the functional size of software delivered to users based on business functionality, completely independent of programming language.

Conceptual & Architectural Analysis

Compare Classical Waterfall, Prototyping, Spiral, and Agile Models in a Detailed Matrix

DimensionClassical WaterfallPrototyping ModelSpiral ModelAgile (Scrum)
Requirement ClarityMust be 100% frozen upfrontVague / EvolvingMedium to complex with high riskHighly dynamic / Changing
Risk ManagementVery Poor (Late testing)Moderate (Visual feedback)Exceptional (Systematic risk analysis per loop)High (Continuous delivery)
Customer InvolvementAt start and delivery onlyHigh during prototype phaseHigh at milestone reviewsContinuous in every sprint
Delivery TimelineOne Big Bang release at endIntermediate prototypesIncremental versions per cycleWorking software every 2–4 weeks
Ideal Project TypeWell-understood, stable systemsNew domain with unclear UILarge, complex, mission-critical systemsDynamic commercial web/mobile apps

The Agile Scrum Framework: Roles, Ceremonies (Events), and Artifacts

1. Scrum Core Roles

  • Product Owner: Defines product vision, manages Product Backlog, maximizes ROI.
  • Scrum Master: Servant-leader who coaches the team, facilitates events, and removes roadblocks.
  • Development Team: Cross-functional, self-organizing professionals (developers, testers, designers).

2. Scrum Ceremonies

  • Sprint Planning: Selects committed backlog items for upcoming sprint.
  • Daily Standup: 15-minute daily sync: What did I do yesterday? What will I do today? Any blockers?
  • Sprint Review: Demo of working increment to stakeholders.
  • Sprint Retrospective: Team reflection: What went well? What can be improved?

3. Scrum Artifacts

  • Product Backlog: Prioritized list of all desired product features.
  • Sprint Backlog: Subset of tasks committed for the current sprint.
  • Burndown Chart: Visual graph of remaining work vs time.

ISO 9126 Software Quality Characteristics with Sub-Characteristics

ISO/IEC 9126 Quality Model

  1. Functionality: Suitability, Accuracy, Interoperability, Security, Compliance.
  2. Reliability: Maturity, Fault tolerance, Recoverability.
  3. Usability: Understandability, Learnability, Operability, Attractiveness.
  4. Efficiency: Time behavior (response latency), Resource utilization (CPU/RAM).
  5. Maintainability: Analyzability, Changeability, Stability, Testability.
  6. Portability: Adaptability, Installability, Co-existence, Replaceability.

Function Point Analysis (FPA): The 5 Information Domains and Formula

1. Five Function Point Components (Unadjusted FP - UFP)

  1. External Inputs (EI): Input screens, forms updating internal data.
  2. External Outputs (EO): Reports, calculations, invoices sent to users.
  3. External Inquiries (EQ): Simple read-only queries with interactive output.
  4. Internal Logical Files (ILF): Major user data tables maintained inside application.
  5. External Interface Files (EIF): Data tables maintained by external systems referenced for reading.

2. Function Point Formula:

$FP = UFP × ≤ft[ 0.65 + 0.01 × \sum_{i=1}^{14} C_i \right] Where \sum C_i$ is the sum of 14 General System Characteristics (GSCs) scored 0 to 5.

In-Depth Analysis & Implementation

The Architecture and Four Quadrants of Barry Boehm's Spiral Model with a Diagram

Barry Boehm's Risk-Driven Spiral Model

System Architecture / Concept DiagramHorizontal Scroll Enabled
                      Quadrant 1: Determine Objectives, Constraints
                                   |
                                   v
         +---------------------------------------------------+
         |  Accumulating Cost, Angular Progress = Iteration   |
         +---------------------------------------------------+
            ^                                             |
Quadrant 4: |                                             v Quadrant 2:
Plan Next   |                                               Risk Analysis,
Phases      |                                               Prototyping
(Customer   |                                             |
Review)     +---------------------------------------------+
                                   ^
                                   |
                      Quadrant 3: Develop, Test, Verify Code

Detailed Quadrant Breakdown:

  1. Quadrant 1 (Top Left - Objective Setting):
  • Identifies goals for the iteration, alternative technical approaches, and managerial constraints (budget, schedule).
  1. Quadrant 2 (Top Right - Risk Assessment & Resolution):
  • Identifies technical, managerial, and operational risks.
  • Develops prototypes, simulations, or benchmarks to eliminate risk uncertainty.
  1. Quadrant 3 (Bottom Right - Engineering Development & Verification):
  • Selects appropriate development model (Waterfall, Prototyping) for the cycle.
  • Executes design, coding, unit testing, and integration testing of the release.
  1. Quadrant 4 (Bottom Left - Review & Planning):
  • Customer reviews deliverables; team plans subsequent spiral iteration or deployment.

The 5 Maturity Levels of SEI CMM/CMMI and Their Key Process Areas (KPAs)

SEI Capability Maturity Model (CMM)

System Architecture / Concept DiagramHorizontal Scroll Enabled
Level 5: OPTIMIZING       ---> Defect Prevention, Technology Change Management
Level 4: MANAGED          ---> Quantitative Process Management, Software Quality Management
Level 3: DEFINED          ---> Peer Reviews, Intergroup Coordination, Training Program
Level 2: REPEATABLE       ---> Requirements Management, Project Planning, SCM, SQA
Level 1: INITIAL          ---> Ad-hoc, chaotic heroics

Level Details & KPAs:

  1. Level 1 (Initial): Chaotic, unmanaged; success depends on brilliant individuals. If key developers leave, projects collapse.
  2. Level 2 (Repeatable): Basic project management tracking cost, schedule, and functionality. KPAs: Requirements Management, Software Project Planning, Software Project Tracking, Software Subcontract Management, Software Quality Assurance (SQA), Software Configuration Management (SCM).
  3. Level 3 (Defined): Documented and standardized across entire organization. KPAs: Organization Process Focus, Organization Process Definition, Training Program, Integrated Software Management, Software Product Engineering, Peer Reviews.
  4. Level 4 (Managed): Quantitative, statistical measurements of process quality. KPAs: Quantitative Process Management, Software Quality Management.
  5. Level 5 (Optimizing): Continuous incremental improvement. KPAs: Defect Prevention, Technology Change Management, Process Change Management.

Halstead's Software Science Metrics with Mathematical Formulations and a Solved Code Example

Halstead's Software Science

Maurice Halstead formulated metrics based on counts of syntactic tokens in source code:

  • \eta_1: Number of distinct unique operators
  • \eta_2: Number of distinct unique operands
  • N_1: Total occurrences of operators
  • N_2: Total occurrences of operands

Core Halstead Formulas:

  1. Program Vocabulary: \eta = \eta_1 + \eta_2
  2. Program Length: N = N_1 + N_2
  3. Calculated Program Length: \hat{N} = \eta_1 \log_2 \eta_1 + \eta_2 \log_2 \eta_2
  4. Program Volume: V = N \log_2 \eta (bits of information)
  5. Program Difficulty: D = (\eta_1 / 2) × (N_2 / \eta_2)
  6. Mental Effort: E = D × V

Solved Example for C Code Fragment:

C
1int max(int a, int b) {
2 int m;
3 if (a > b) m = a;
4 else m = b;
5 return m;
6}
  • Operators: int, (), {}, ,, if, >, =, else, return, ; \implies \eta_1 = 10, N_1 = 16.
  • Operands: max, a, b, m \implies \eta_2 = 4, N_2 = 9.
  • \eta = 10 + 4 = \mathbf{14}.
  • N = 16 + 9 = \mathbf{25}.
  • V = 25 × \log_2(14) = 25 × 3.807 = \mathbf{95.18 bits}.
  • D = (10 / 2) × (9 / 4) = 5 × 2.25 = \mathbf{11.25}.
  • E = 11.25 × 95.18 = \mathbf{1,070.78 mental discrimination operations}.

Important Exam Points & Quick Revision

Draw Barry Boehm's Spiral Model with all 4 quadrants and memorize the 5 CMM levels with KPAs.

Your reading progress
0%

100% left on this page — finishing it closes the gap for Introduction to Software Engineering & Life Cycle Models.

Weak topic hint

Introduction to Software Engineering & Life Cycle Models still counts as a weak topic until you finish this note and answer its questions.

Practise this unit
What Should You Do Next?

Test Your Understanding

Now that you've read through these notes, practice unit MCQs to identify weak points and solidify your learning before exams.