7
Back to Problem Dungeon

Library Management System

easy

Step 1: Requirements

Requirements

Questions to Ask

  1. How many copies per book? (Multiple copies)
  2. Borrowing limit per member? (5 books at a time)
  3. Fine calculation? (Per day after due date)
  4. Reservations for checked-out books? (Yes — queue)
  5. Search by title, author, ISBN? (All three)
  6. Member types? (Student, faculty — different borrow limits and due periods)

Functional Requirements

  • Add/remove books and manage inventory (multiple copies)
  • Register members with different types (student, faculty)
  • Borrow and return books
  • Calculate overdue fines
  • Reserve books that are currently checked out
  • Search catalog by title, author, ISBN
  • Notify when reserved book becomes available

Non-Functional Requirements

  • Fine calculation must be deterministic
  • Concurrent borrow/return operations must not corrupt inventory

1 / 7 — Requirements