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 →

In Software Cost Estimation, COCOMO II replaces KLOC with which alternative early-stage size metric when source code is not yet written?

AUnadjusted Function Points (UFP) / Object Points
BCyclomatic Complexity
CNumber of Database Tables
DClass Inheritance Depth
Submitted by: mcqstutor Team 0 comments

In Software Maintenance, Lehman’s Law of Increasing Complexity states that as an evolving system changes, its structural complexity:

ADecreases automatically with each patch
BIncreases unless active work is done to maintain or simplify it
CRemains perfectly static
DIs unaffected by bug fixes
Submitted by: mcqstutor Team 0 comments

In Object-Oriented metrics, the Lack of Cohesion in Methods (LCOM) metric measures:

AThe number of subclasses
BThe execution speed of class methods
CThe degree of dissimilarity or un-relatedness among methods in a class based on shared instance variables
DThe total lines of code in a class
Submitted by: mcqstutor Team 0 comments

In Software Maintenance, Lehman’s Law of Continuing Change states that a software application used in a real-world environment must:

AContinually evolve and adapt, or become progressively less useful
BDecrease in complexity over time automatically
CMaintain fixed cost structures
DRequire zero corrective patches
Submitted by: mcqstutor Team 0 comments

In Object-Oriented Design, the principle that clients should not be forced to depend on interface methods they do not use is the:

ADependency Inversion Principle (DIP)
BSingle Responsibility Principle (SRP)
CInterface Segregation Principle (ISP)
DOpen-Closed Principle (OCP)
Submitted by: mcqstutor Team 0 comments

In Object-Oriented Design, the principle that high-level modules should not depend on low-level modules, but both should depend on abstractions is the:

AInterface Segregation Principle (ISP)
BLiskov Substitution Principle (LSP)
CSingle Responsibility Principle (SRP)
DDependency Inversion Principle (DIP)
Submitted by: mcqstutor Team 0 comments

In Object-Oriented Design, the principle that software entities should be open for extension but closed for modification is the:

ALiskov Substitution Principle (LSP)
BOpen-Closed Principle (OCP)
CDependency Inversion Principle (DIP)
DSingle Responsibility Principle (SRP)
Submitted by: mcqstutor Team 0 comments

In Object-Oriented Design, the principle that derived classes must be completely substitutable for their base classes without breaking system behavior is the:

ALiskov Substitution Principle (LSP)
BSingle Responsibility Principle (SRP)
COpen-Closed Principle (OCP)
DInterface Segregation Principle (ISP)
Submitted by: mcqstutor Team 0 comments

In Function Point Analysis, files generated, owned, and maintained entirely within the boundaries of the application being measured are:

AExternal Interface Files (EIF)
BExternal Inputs (EI)
CInternal Logical Files (ILF)
DExternal Outputs (EO)
Submitted by: mcqstutor Team 0 comments

In Function Point Analysis, user-data files referenced by the application but maintained and updated by an external application are:

AInternal Logical Files (ILF)
BExternal Inquiries (EQ)
CExternal Outputs (EO)
DExternal Interface Files (EIF)
Submitted by: mcqstutor Team 0 comments