📞 0339-0387701 (WhatsApp)
Contact
☰
🔍
Home
Important MCQs
Computer
Current Affairs
Data Science & AI (NCCIA)
Database & Data Handling (NCCIA)
English
Everyday Science
General Knowledge
General Science
Information & Networking (NCCIA)
Islamic Studies MCQs
Maths MCQs
Pak Study
Pedagogy
Software Engineering (NCCIA)
Telecom / Electrical Fundamentals (NCCIA)
Urdu MCQs
Past Papers
ASF Past Papers
FIA Past Papers
FPSC Past Papers
NCCIA Past Papers
NTS Past Papers
PPSC Past Papers
Latest Jobs
Army Jobs
Education Department
Federal Govt Jobs
Health Department
Police Jobs
Sindh Govt Jobs
Resources
About Us
Contact
🔍
Home
» Which design pattern defines a family of interchangeable algorithms?
« Back to Software Engineering (NCCIA)
Which design pattern defines a family of interchangeable algorithms?
A. Strategy Pattern ✅
B. Singleton Pattern
C. Decorator Pattern
D. Adapter Pattern
Correct Answer:
A. Strategy Pattern
Explanation
Strategy lets an algorithm be selected at runtime
It encapsulates each algorithm so it can vary independently.
« Which design pattern ensures only one instance of a class…
Which design pattern allows an object to notify many dependents… »
Related MCQs
What is the main advantage of using UML diagrams?
Which term describes the ability of Agile teams to adapt quickly to changing requirements?
Security testing aims to find what?
A non-functional requirement describes:
Which is true about the spiral model’s documentation?
Which statement is TRUE about the V-model?
When are questionnaires most suitable for requirements elicitation?
Coupling is a measure of: