Quiz Space

Software Engineering · End Term · 10 May 2026 · January 2026 term

Question 21: A company is building a custom laptop ordering system. E…

Question 21

+4 marksOne correct option

A company is building a custom laptop ordering system. Every laptop must have: • Processor • RAM Additionally, customers may optionally choose: • Graphics card • Storage type • Operating system • Extended warranty • Pre-installed software Originally, the development team tried to handle all combinations by creating many versions of the laptop constructor for different combinations of options, which quickly became unmanageable. They then redesigned the system so that: • The customer first chooses the mandatory features • Then selects any number of optional features in any order Which design pattern best fits this redesign?

  1. A

    Factory Pattern

  2. B

    Builder Pattern

  3. C

    Adapter Pattern

  4. D

    Facade Pattern

Show answer

Correct answer

  • B

    Builder Pattern

Question 21 of 25 in the IIT Madras BS Software Engineering (Software Engineering) End Term paper sat on 10 May 2026, in the January 2026 term (Software Engineering 06 May 26). It carries 4 marks.

More questions from this paper

  1. Q1A developer wants to understand why a function was written in a particular way but the original developer has left the …
  2. Q2A software company wants to build a new Seller Portal. Before writing any code, a team studies competitors, identifies …
  3. Q3A software team wants to run integration tests and system tests and automatically remove faulty code and roll back if a…
  4. Q4A company releases a new version of its website to only 5% of users first, monitors its behavior, and later rolls it ou…
  5. Q5A startup rents a virtual machine with 2 CPU cores and 8 GB RAM from AWS and installs its own web server and database. …
  6. Q6A website responds very slowly when thousands of users request the same product page. The team stores the result of thi…
  7. Q7Which of the following best describes system testing?
  8. Q8A banking application has five modules. Each module has already passed unit testing. The team integrates all five modul…
  9. Q9Consider the Python function below. What is the cyclomatic complexity of function ?
  10. Q10Consider the Python function below. Which inputs belong to the same equivalence class?
  11. Q11A development team builds a simplified working version of a system with limited functionality to help customers underst…
  12. Q12A seller requests the ability to but does not specify whether this includes shipped, returned, or in-transit orders. Th…
  13. Q13Different sales managers from various industries discuss their expectations from a seller portal. Some emphasize daily …
  14. Q14A development team realizes that a user story cannot be completed within a single 2-week sprint. They divide it into sm…
  15. Q15A word processor places the “Save” and “Close” buttons far apart to reduce accidental file closure. Which usability goa…
  16. Q16A file manager allows users to move files by dragging icons instead of typing commands. This primarily supports which d…
  17. Q17A project manager asks senior developers who have worked on similar systems to provide cost and effort estimates based …
  18. Q18At the end of a sprint, the team demonstrates completed features to stakeholders. This activity is called:
  19. Q19Before creating a schedule, a team identifies all major project activities and divides them into smaller, assignable ta…
  20. Q20A Seller object calls the method of an Inventory object. What type of relationship does this represent?
  21. Q22Originally, the Seller class directly uses: Later, the company wants to support Google Pay, UPI, and Paytm. Each time a…
  22. Q23A developer finishes work on branch and wants to include it in the main project. Which command achieves this?
  23. Q24A module calls a function in the module. • If , the module displays account details • If , it updates account informati…
  24. Q25During requirement analysis of a digital wallet system, the development team identifies multiple types of clients. Whic…