Independent Preparation Bank for Pakistani Computing Graduates • 100% Free • No Signup
NSCTTest.
Simulator
All Articles
Home/Articles/Technical Guide
Technical Guide

Software Engineering & Agile Lifecycle: Design Patterns, Testing & CI/CD

A high-yield summary of Software Engineering principles (10% of NSCT): Agile vs Waterfall, SOLID object principles, Creational/Structural design patterns, and testing hierarchies.

NSCT Editorial & Syllabus Hub
Curated Technical Curriculum & Testing Benchmarks
6 min readNov 16, 2026Mock Exam

Software Engineering & Agile Lifecycle: Design Patterns, Testing & CI/CD

Software Engineering accounts for 10% of the NSCT, evaluating professional industry readiness. Questions focus on the Software Development Life Cycle (SDLC), Agile ceremonies, architectural design patterns, and quality assurance methodologies.


1. SDLC Models: Waterfall vs Agile

AttributeTraditional WaterfallAgile (Scrum / Kanban)
RequirementsFixed upfront, documented exhaustivelyFlexible, evolving via User Stories
DeliverySingle monolithic release at end of projectIncremental working software every 1–4 week Sprint
Risk ManagementHigh risk of late-stage failureContinuous feedback and early risk mitigation
Customer InvolvementPrimarily at requirements and final UATActive participation in Sprint Demos and Backlog refinement

Scrum Ceremonies & Roles

  • Product Owner: Defines features, maintains and prioritizes the Product Backlog.
  • Scrum Master: Facilitates processes, removes team blockers (impediments), protects team from external scope creep.
  • Sprint Planning: Selects user stories from product backlog into sprint backlog.
  • Daily Standup: 15-minute sync (What did I do yesterday? What will I do today? Any blockers?).
  • Sprint Review: Demo of working software to stakeholders.
  • Sprint Retrospective: Continuous internal team improvement (What went well? What needs improvement?).

2. SOLID Design Principles

  • S - Single Responsibility Principle (SRP): A class should have one, and only one, reason to change.
  • O - Open/Closed Principle (OCP): Software entities should be open for extension, but closed for modification.
  • L - Liskov Substitution Principle (LSP): Subtypes must be substitutable for their base types without altering program correctness.
  • I - Interface Segregation Principle (ISP): Clients should not be forced to depend on interfaces they do not use.
  • D - Dependency Inversion Principle (DIP): High-level modules should not depend on low-level modules; both should depend on abstractions.

3. GoF Design Patterns Commonly Tested

  1. Creational:
    • Singleton: Ensures a class has only one instance and provides a global access point.
    • Factory Method: Creates objects without specifying the exact class to create.
    • Builder: Separates complex object construction from its representation.
  2. Structural:
    • Adapter: Converts the interface of a class into another interface clients expect.
    • Decorator: Attaches additional responsibilities to an object dynamically without subclassing.
    • Facade: Provides a simplified high-level interface to a complex subsystem.
  3. Behavioral:
    • Observer: Defines a one-to-many dependency so that when one object changes state, all dependents are notified automatically (Pub/Sub).
    • Strategy: Defines a family of algorithms, encapsulates each one, and makes them interchangeable at runtime.

4. Testing Hierarchy & Levels

  • Unit Testing: Tests individual methods/classes in isolation (using Mocks/Stubs).
  • Integration Testing: Verifies multiple modules or services communicate correctly.
  • System Testing: End-to-end testing of the complete software system against functional requirements.
  • Acceptance Testing (UAT): Evaluates whether the product satisfies business user acceptance criteria.
  • Regression Testing: Re-running existing tests to verify recent code changes have not broken existing functionality.
Indexed Competency Concepts:
#Software Engineering#Agile#Scrum#Design Patterns#CI/CD#Testing
Official Standards Verification

Content structured in accordance with Higher Education Commission (HEC) Computing National Curriculum, PSEB TechLift competency standards, and the 120-minute Virtual University assessment model.