Skip to content

Software Engineering

DSSSB TGT CS — Section B P2 (Rank ~13). Focus: SDLC, models, coupling/cohesion, testing, UML keywords, quality.


1. SDLC Phases

Typical waterfall-style phases:

  1. Requirement analysis
  2. Design (HLD / LLD)
  3. Implementation / coding
  4. Testing
  5. Deployment
  6. Maintenance

Also: feasibility, planning, documentation throughout.


2. Process Models

ModelIdeaWhen
WaterfallSequential phases; little backtrackClear, stable requirements
PrototypeBuild throwaway/evolving mock to clarify needsUnclear UI/requirements
SpiralIterations + risk analysis each loopLarge, high-risk projects
AgileIterative, incremental, customer collaborationChanging requirements
Scrum (Agile)Sprints, Product Owner, Scrum Master, backlog, daily stand-upAgile teams
  • Incremental / iterative / V-model — awareness.
  • Trap: Spiral’s distinctive feature = risk evaluation each cycle.

Scrum keywords

  • Sprint — time-boxed iteration
  • Product backlog / sprint backlog
  • Daily scrum, sprint review, retrospective
  • Roles: Product Owner, Scrum Master, Development Team

3. SRS (Software Requirement Specification)

  • Formal document of what the system should do (not how).
  • Functional vs non-functional requirements (performance, security, usability).
  • Qualities: unambiguous, complete, consistent, verifiable, modifiable.
  • Basis for design, testing, contracts.

4. Coupling & Cohesion

GoalMeaning
CohesionHighHow closely elements of a module belong together
CouplingLowHow interdependent modules are

Cohesion types (high→low exam order often): functional > sequential > communicational > procedural > temporal > logical > coincidental.

Coupling types (low→high loosely): data < stamp < control < common < content.

  • Good design: high cohesion, low coupling.

5. Testing Levels

LevelFocus
UnitSmallest piece (function/class)
IntegrationInterfaces between modules
SystemWhole system vs requirements
AcceptanceCustomer/user validation (UAT)

Order usually bottom-up: unit → integration → system → acceptance.


6. Black-Box vs White-Box

Black-boxWhite-box
SeesInputs/outputs onlyInternal code/logic
Based onSpecs / requirementsStructure (paths, branches)
ExamplesEquivalence partitioning, boundary valueStatement, branch, path coverage
  • Regression testing: retest after changes.
  • Alpha (in-house) vs beta (external users) — common MCQ.

7. UML (brief)

DiagramShows
Use-caseActors ↔ system capabilities
ClassClasses, attributes, methods, relationships
SequenceObjects + messages over time (interaction)
Also (awareness)Activity, state, component, deployment
  • Use-case = functional view; class = static structure; sequence = dynamic interaction.

8. Maintenance Types

TypeMeaning
CorrectiveFix faults
AdaptiveNew environment/OS/platform
PerfectiveImprove performance/usability/features
PreventiveReduce future faults (reengineering)

Maintenance often dominates life-cycle cost.


9. CASE Tools

CASE = Computer-Aided Software Engineering.

  • Upper CASE: requirements/design
  • Lower CASE: coding/testing/support
  • Integrated CASE: broader life cycle

Examples (generic): diagramming, debuggers, config management, test tools.


10. Software Metrics (brief)

MetricIdea
LOCLines of Code — size (simple, flawed)
EffortPerson-months; models like COCOMO (awareness)
Function pointsSize by functionality (awareness)
Defect densityDefects per size unit
  • More LOC ≠ better quality.

11. Quality Keywords

TermIdea
ISO 9000 / 9001Quality management standards family
CMMICapability Maturity Model Integration — process maturity levels
CMMI levels (classic)Initial → Managed → Defined → Quantitatively Managed → Optimizing
  • Quality assurance (process) vs quality control (product checks) — exam distinction.

Quick Revision Traps

  1. Waterfall = linear; Spiral = risk-driven loops; Agile = adaptive iterations.
  2. SRS = what, design = how.
  3. High cohesion + low coupling.
  4. Black-box ignores code; white-box uses structure.
  5. Acceptance testing = user/customer side.
  6. Corrective vs adaptive vs perfective maintenance.
  7. CMMI = maturity levels; ISO = quality management standards.