Separate requirements from preferences

A library is planning a program to assign study rooms to groups. Match each problem-solving concept to the planning decision that illustrates it. Use each decision once. When comparing suitable rooms, every required condition still applies.

Match each term
A.

Represent a room by its capacity and availability while leaving out its wall colour.

B.

Treat checking availability, selecting a room, and preparing a confirmation as separate subtasks.

C.

Reject a room whenever its capacity is smaller than the group's size.

D.

Among suitable rooms, prefer the one with the fewest unused seats.

Decomposition

Abstraction

Constraint

Optimization objective

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Problem Solving and Algorithms Questions: