Interpreting overlapping booking conditions

A shuttle has 12 seats. Its booking system stores the number already reserved as ss, an integer from 0 to 12, and receives a request for qq seats, an integer from 1 to 12. Two proposed functional clauses state: if s+q≤12s+q\leq12, accept the request and set the reserved count to s+qs+q; if s+q≥12s+q\geq12, reject the request and leave the reserved count unchanged. Acceptance and rejection are mutually exclusive responses. Which statements correctly describe these clauses or the proposed changes? Select all that apply.

Choose an answer

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 Functional Requirements Questions: