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 Interface Segregation Principle (ISP) dictates that clients should not be forced to depend upon:

AConcrete implementations of factory classes
BAbstract superclasses
CDatabase connection pools
DInterfaces that they do not use
Submitted by: mcqstutor Team 0 comments

Which type of cohesion is present when functions are placed together in a module purely because they process the same data structures or input stream?

ASequential Cohesion
BCommunicational Cohesion
CProcedural Cohesion
DLogical Cohesion
Submitted by: mcqstutor Team 0 comments

Which type of cohesion occurs when the output of one component in a module serves as the direct input to the next component?

AProcedural Cohesion
BFunctional Cohesion
CSequential Cohesion
DTemporal Cohesion
Submitted by: mcqstutor Team 0 comments

Which type of coupling occurs when one module modifies internal data or branch logic of another module directly?

ACommon Coupling
BControl Coupling
CStamp Coupling
DContent Coupling
Submitted by: mcqstutor Team 0 comments

In object-oriented design, which principle states that high-level modules should not depend on low-level modules, but both should depend on abstractions?

ADependency Inversion Principle (DIP)
BSingle Responsibility Principle (SRP)
COpen-Closed Principle (OCP)
DLiskov Substitution Principle (LSP)
Submitted by: mcqstutor Team 0 comments