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

Engineering MCQs With Answers

0 Engineering MCQs for CSS, PPSC, FPSC, NTS and entry-test preparation. Take a scored quiz instead →

The systematic technique used to analyze failure modes, their immediate effects on system operation, and criticality ranking is:

AFault Tree Analysis (FTA)
BHazard and Operability Study (HAZOP)
CCause-Effect Analysis
DFailure Mode and Effects Analysis (FMEA)
Submitted by: mcqstutor Team 0 comments

In PERT scheduling, the variance ($sigma^2$) of a task duration estimate is mathematically given by:

A$sigma^2 = rac{b - a}{6}$
B$sigma^2 = left( rac{b - a}{6} ight)^2$
C$sigma^2 = rac{b + a}{2}$
D$sigma^2 = (b - m)^2$
Submitted by: mcqstutor Team 0 comments

In PERT project estimation, the expected activity duration ($T_e$) is calculated using Optimistic ($a$), Most Likely ($m$), and Pessimistic ($b$) estimates as:

A$T_e = rac{a + 4m + b}{6}$
B$T_e = rac{a + m + b}{3}$
C$T_e = rac{a + 2m + b}{4}$
D$T_e = rac{a + 6m + b}{4}$
Submitted by: mcqstutor Team 0 comments

In Chidamber & Kemerer (C&K) Object-Oriented metrics, Weighted Methods per Class (WMC) measures:

ATotal lines of code in a class
BNumber of subclass children
CSum of complexities of all methods defined within a class
DNumber of inherited interfaces
Submitted by: mcqstutor Team 0 comments

In C&K OO metrics, Depth of Inheritance Tree (DIT) measures:

AThe total number of subclasses inheriting from a base class
BThe number of private fields
CThe total overriding methods
DThe maximum structural length from the class node to the root of the inheritance hierarchy
Submitted by: mcqstutor Team 0 comments

In Halstead’s Software Science, program length ($N$) is calculated using total operators ($N_1$) and total operands ($N_2$) as:

A$N = N_1 imes N_2$
B$N = N_1 + N_2$
C$N = log_2(N_1 + N_2)$
D$N = N_1 / N_2$
Submitted by: mcqstutor Team 0 comments

Testing technique where input data domain is divided into contiguous partitions where software is expected to process all members within a partition identically is:

ABoundary Value Analysis
BCombinatorial Testing
CMutation Testing
DEquivalence Partitioning (EP)
Submitted by: mcqstutor Team 0 comments

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