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
If an integer input field accepts values between 10 and 100 inclusive, the critical boundary values for Boundary Value Analysis (BVA) are:
A10, 50, 100
B0, 10, 100, 1000
C9, 10, 100, 101
D5, 15, 95, 105
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
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
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
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
In Mutation Testing, a mutant program that produces functionally identical output to the original program for all possible inputs is a:
ADead Mutant
BEquivalent Mutant
CSurviving Mutant
DStale Mutant
In object-oriented distributed systems, what middleware standard allows heterogeneous objects written in different languages to communicate across network boundaries?
ASOAP
BGraphQL
CODBC
DCORBA (Common Object Request Broker Architecture)
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
The process of converting a transmitted network byte stream back into in-memory object structures on the remote server is termed:
ACompilation
BParsing
CUnmarshaling (Deserialization)
DLinking
