🧪 Javascript Design Patterns MCQ Quiz Hub

Javascript Design Patterns Mcq Question Set 1

Choose a topic to test your knowledge and improve your Javascript Design Patterns skills

1. Most object-oriented languages and systems provide which of these ways to create new objects?




2. Which of the following truly describes the structure of Generator pattern?




3. Which of the following is true about factory method?




4. When a generator assumes responsibility for product object creation in a factory method,which of the following capabilities become available?




5. Which are the several reasons for using generator patterns?




6. The Factory patterns decouple clients from products by taking advantage of interfaces in two ways?




7. What are the types of factory pattern?




8. Which class that can have only one instance?




9. What are the drawbacks for singleton class?




10. Which of the following are true for the singleton class?




11. Which of the following is true for Adapter pattern?




12. The Adapter patterns provide object-oriented adapters in which of theses varieties?




13. A class (the adapter class) may be given a new interface by an adapter class in which of the two ways?




14. A class (the adapter class) may be given a new interface by an adapter class in which of these ways?




15. Which of these states about Object Adapter pattern?




16. Which of the following is true for proxy pattern?




17. Which of the following is not followed by proxy pattern?




18. What are stand-ins for objects not yet created are called?




19. Which of the following is incorrect with respect to the proxy pattern?




20. Which of the following is consequence for proxy pattern?




21. Which of the following are true for pattern?




22. Patterns are mostly used in which of the following?




23. Which of the following can a pattern operate on?




24. What does emphasizing solution actually mean for patterns to operate?




25. Which of the factors make a pattern portable?




26. When there is a need to implement strategy pattern?




27. Which of the following is used in Decorator design pattern?




28. Which of the following is strategy pattern dependent on?




29. Which of the following is for factory method behavioral characteristic?




30. How does a use of template allowed in components simplify things?




31. How is reliability enhanced when a template is allowed in component?




32. How is Testing simplified when a template is allowed in component?




33. How is Flexibility enhanced when a template is allowed in the component?




34. Why are Patterns important?




35. What benefits does patterns provide?




36. Which of the following Choices and standardizes patterns for a problem domain promotes software reuse and, hence, quality and productivity?




37. Which among the following are the arguments made by Alexander?




38. Which of these are the part of 253 patterns in pattern book by Alexander?




39. What is a pattern?




40. Which among these are the design patterns?




41. Which design pattern focus on the design patterns movement?




42. Which of the following represents The (static) structure and (dynamic) behavior of the pattern?




43. Which of the following steps are followed for the Overview of SAAM?




44. Which of the following relates to Scenarios?




45. What are the procedure followed for description of candidate architecture?




46. What are the classifications of Scenarios?




47. Which of the following is true?




48. What is done while performing scenario evaluation?




49. Which of the following is true?




50. Why is scenario interaction important?