Pakistan's best MCQs practice hub — FPSC · PPSC · CSS · NTS · Other Exams
Login
Software Engineering

Software Engineering MCQs with Answers

Software engineering MCQs with answers and detailed explanations for NTS, GAT, university tests and IT job interviews. SDLC, testing and design covered. Take a scored quiz instead →

Software static code analysis metric that counts the total number of decision statements ($D$) in a function to compute Cyclomatic Complexity using $V(G) = D + 1$ is:

AMcCabe's Cyclomatic Complexity Formula
BHalstead's Volume Metric
CHenry-Kafura Information Flow
DChidamber & Kemerer Metric
Submitted by: mcqstutor Team 0 comments

Which black-box testing strategy selects test values from the edges or extreme limits of input domain partitions?

AEquivalence Partitioning (EP)
BBoundary Value Analysis (BVA)
CError Guessing
DRandom Testing
Submitted by: mcqstutor Team 0 comments

Testing technique where software execution is conducted by generating inputs based on formal state transition models is:

AEquivalence Partitioning
BBoundary Value Analysis
CUse Case Testing
DState Transition Testing
Submitted by: mcqstutor Team 0 comments

Black-box testing technique that uses a tabular grid to represent complex business logic rules and their corresponding system actions is:

ADecision Table Testing
BEquivalence Partitioning
CCause-Effect Graphing
DOrthogonal Array Testing
Submitted by: mcqstutor Team 0 comments

The ratio of killed mutants to total non-equivalent mutants generated during Mutation Testing is called:

ABranch Coverage Ratio
BDefect Density Ratio
CMutation Score (Mutation Indicator)
DTest Pass Index
Submitted by: mcqstutor Team 0 comments

In Mutation Testing, a mutant program is classified as ‘Killed’ when:

AAt least one test case in the test suite fails when executed against the mutant
BAll test cases pass without detecting changes
CThe compiler throws a syntax error
DThe mutant causes a deadlock
Submitted by: mcqstutor Team 0 comments