Paper Tayyari

Lecture 26: Introduction to Design Patterns

MCQs, short and long questions from lecture 26.Lecture 26 ki MCQs, short aur long sawal.

8 MCQs · 1 long question · 8 MCQs from past papers8 MCQs · 1 long sawal · 8 MCQs past papers se

Start mock testMock test shuru karein
DoneHal kiye 0/8
– correctsahi
1.
★ VU quiz

Anti- Patterns is another concept that corresponds to common ______ in analysis and design.

  1. AMistake
  2. BIssues
  3. CProblems
  4. DAll of the given

Anti-patterns describe common mistakes made in analysis and design.

2.
★ VU quiz

Description of communicating objects and classes that are customized to solved a general problem in a particular context is called

  1. ADesign Pattern
  2. BSystem Patter
  3. CSystem Design
  4. DNone of the Given

This is the GoF definition of a design pattern.

3.
★ VU quiz

Which of following is/are among ten things,which the basic template of GOF design pattern includes.

  1. AProblem
  2. BContext
  3. CForces
  4. DAll of the given

The GoF pattern template includes problem, context and forces among its elements.

4.
★ VU quiz

Patterns are devices that allow programs to share knowledge about their ————-.

  1. ACode
  2. BDesign
  3. CAnalysis
  4. DNone of the given

Patterns let programs share knowledge about their design.

5.
★ VU quiz

Which of the is/are among ten things which the basis template of GOF design pattern includes.

  1. AProblem
  2. BContext
  3. CForces
  4. DAll of the above

The GoF pattern template includes problem, context and forces among its elements.

6.
★ VU quiz

-----provides a unified interface to a set of interfaces in a sub-system.

  1. AObserver Pattern
  2. BSingleton Pattern
  3. CFaçade Pattern
  4. DAll of the above

The Façade pattern gives one unified interface to a subsystem.

7.
★ VU quiz

It ensures that a class only has one instance and provides a global point of access to it.

  1. ASingleton Pattern
  2. BObserver Pattern
  3. CReal Pattern
  4. DNone of the given

This is the definition of the Singleton pattern.

8.
★ VU quiz

“Description of communicating objects and classes that are customized to solve a general design problem in a particular context.” is called ----------

  1. ADesign Pattren
  2. BSystem Pattren
  3. CSystem Design
  4. DNone of the given

This is the GoF definition of a design pattern.