Quiz Space

Software Engineering · Quiz 2 · 3 Dec 2023 · September 2023 term

Question 22: Consider creating a class named Employee which has the f…

Question 22

+3 marksOne or more correct options

Consider creating a class named Employee which has the following mandatory attributes: employee id, employee name, employee salary, and optional attributes TA and HRA.
Which design pattern(s) can significantly reduce the complexity of the code due to the use of telescopic constructors?

Select all that apply.

  1. A

    Factory design pattern

  2. B

    Builder design pattern

  3. C

    Adapter design pattern

  4. D

    Facade design pattern

Show answer

Correct answer

  • B

    Builder design pattern

Question 22 of 22 in the IIT Madras BS Software Engineering (Software Engineering) Quiz 2 paper sat on 3 Dec 2023, in the September 2023 term (IIT M DEGREE AN2 EXAM QDB2 03 Dec 2023). It carries 3 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2What is one of the main advantages of Agile development over the Waterfall model?
  3. Q3What is the primary goal of "regression testing" in software development?
  4. Q4In Behavior Driven Design (BDD), what are "user stories"?
  5. Q5An organisation wants to develop a mobile app to receive orders for grocery items online and deliver them within an hou…
  6. Q6When creating a Software Requirement Specification (SRS), what should be the primary focus regarding the clarity of req…
  7. Q7Usability goals in interaction design aim to enhance the overall user experience. Which of the following is NOT a commo…
  8. Q8Prototyping is a crucial step in interaction design. Which prototyping technique is often used for simulating the look …
  9. Q9In the context of software user interface design, how can "consistency" be described as a heuristic for feedback?
  10. Q10In software project estimation, what is the primary goal of using the "Delphi Technique"?
  11. Q11In the context of software project risk management, what does the term "mitigation" mean?
  12. Q12Which role in Agile is responsible for prioritizing and maintaining the product backlog, ensuring that the development …
  13. Q13In Agile project management, what is the purpose of a "daily stand-up" or "daily scrum" meeting?
  14. Q14In the context of software design comprehension, what is the primary goal of VeriSIM?
  15. Q15Which Unified Modeling Language (UML) diagram is primarily used to depict the interactions between objects in a system?
  16. Q16In a UML "component diagram," what does a component represent?
  17. Q17While debugging, a developer identifies the event responsible for causing an undesirable behavior and traces the data c…
  18. Q18Which type of software metrics assess code quality by considering parameters such as LOC, LLOC, SLOC, and others in the…
  19. Q19Identify the statements that are true regarding debugging in software development:
  20. Q20Figure question
  21. Q21Select the design patterns that fall under the "Creational" category of design patterns: