∑GateAndNet
Practice MCQs
UGC NET CS / Unit 6: Software Engineering
Edit
INTERMEDIATE🔥 High-Yield Exam Topic 4 min read 2 views

SDLC Agile/Spiral Models, Function Point Analysis (FPA) & Black/White-Box Testing

Spiral risk-driven SDLC vs Scrum Agile, Albrecht Function Point UFP & CAF calculation, Boundary Value Analysis (4n + 1 vs 6n + 1), Mutation Testing, and ISO/CMMI maturity levels.

1. Software Process Models Quick Selector

  • Waterfall Model: Rigid sequential phases; suitable ONLY when requirements are 100% frozen upfront.
  • Prototyping Model: Best when customer requirements are unclear or UI-heavy.
  • Boehm’s Spiral Model: Meta-model explicitly incorporating Risk Analysis & Resolution in every quadrant loop — mandatory choice for high-risk, large-scale safety-critical systems.
  • Agile / Scrum: Iterative time-boxed Sprints (2–4 weeks), Daily Standups, Product Backlog, Sprint Retrospective, working software over exhaustive documentation.

2. Albrecht Function Point Analysis (FPA)

Unlike LOC, Function Points are programming-language independent and computable directly from the SRS! Count 5 user-visible domains weighted by complexity (Simple / Average / Complex):

  1. External Inputs (EI) — e.g. weights 3,4,63, 4, 6
  2. External Outputs (EO) — e.g. weights 4,5,74, 5, 7
  3. External Inquiries (EQ) — e.g. weights 3,4,63, 4, 6
  4. Internal Logical Files (ILF) — e.g. weights 7,10,157, 10, 15
  5. External Interface Files (EIF) — e.g. weights 5,7,105, 7, 10

Multiply Unadjusted Function Points (UFP\text{UFP}) by Complexity Adjustment Factor CAF=0.65+0.01×TDI\text{CAF} = 0.65 + 0.01 \times \text{TDI} (where 0≤TDI≤700 \le \text{TDI} \le 70, so 0.65≤CAF≤1.350.65 \le \text{CAF} \le 1.35).

3. Software Testing & Maintenance Distribution

  • Black-Box (Functional) Testing: Equivalence Partitioning, Boundary Value Analysis (4n+14n + 1), Cause-Effect Graphing, Decision Tables.
  • White-Box (Structural) Testing: Statement coverage ≤\le Branch/Decision coverage ≤\le Condition/Path coverage; Basis Path Testing requires V(G)=E−N+2V(G) = E - N + 2 independent paths.
  • Alpha vs Beta Testing: Alpha = at developer’s site by end-users in controlled environment; Beta = at customer’s own real site without developer present!
  • Software Maintenance Effort: Perfective maintenance (enhancing features/performance) accounts for the largest share (~50–55%) of lifecycle maintenance cost, ahead of Adaptive (~25%) and Corrective (~20%)!
📐 Quick Revision Formula Sheet
Function Point (FP) Calculation
FP=UFP×CAF,CAF=0.65+0.01∑i=114Fi\text{FP} = \text{UFP} \times \text{CAF}, \quad \text{CAF} = 0.65 + 0.01 \sum_{i=1}^{14} F_i
💡 Each of the 14 General System Characteristics F_i ranges from 0 to 5, so CAF ranges from 0.65 to 1.35
Boundary Value Analysis (BVA) Test Cases for n Variables
Standard BVA=4n+1,Robust BVA=6n+1\text{Standard BVA} = 4n + 1, \quad \text{Robust BVA} = 6n + 1
💡 Worst-case BVA (all combinations of min, min+, nom, max-, max) = 5^n
#Software Engineering#SDLC#Function Points#BVA#Testing#CMMI#UGC NET CS

🎯 Practice PYQs on This Topic (3)

Q1.UGC NET CS SEMCQMEDIUM
+2 Marks • No Negative

A program takes n=4n = 4 independent integer inputs, each constrained to a closed range [ai,bi][a_i, b_i]. Under standard Single-Fault Boundary Value Analysis (BVA), how many test cases are generated?

Q2.UGC NET CS SEMCQEASY
+2 Marks • No Negative

Which software lifecycle process model explicitly integrates Iterative Risk Analysis and Risk Resolution as a dedicated quadrant in every cycle?

Q3.UGC NET CS SEMCQMEDIUM
+2 Marks • No Negative

In Albrecht’s Function Point Analysis, if Unadjusted Function Points UFP=200\text{UFP} = 200 and all 1414 General System Characteristics have an average rating of 33, what is the final Function Point (FP) count?

Previous TopicSoftware Engineering: COCOMO, Function Points, Cyclomatic Complexity & CohesionNext Topic Nyquist vs Shannon Capacity & RSA Public-Key Cryptography Numericals