QuizzesDesign a Library Management System — Concept Check
intermediate
lld

Design a Library Management System — Concept Check

Questions on Design a Library Management System. Model a library that manages physical book copies, member loans, reservations, and automated overdue fine calculation.

8 minutes 8 questions Pass at 70%
Time Limit
8 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

8 questions on Design a Library Management System — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A library member tries to borrow a book, but all copies are checked out. What happens next?

    • AThe member is fined for unavailability.
    • BThe member is denied borrowing.
    • CThe book is marked as lost.
    • DThe member is added to a reservation queue.
  2. 2.A library system uses a FlatRateFine strategy. If a book is 10 days overdue, what is the fine if the rate is $2 per day?

    • A$20
    • B$5
    • C$10
    • D$30
  3. 3.A member returns a book 5 days late. Which FineStrategy implementation results in the lowest fine?

    • ANo fine is applied
    • BTieredFine
    • CBoth result in the same fine
    • DFlatRateFine
  4. 4.What happens when a book is returned late in the library system?

    • AThe member's borrowing limit is permanently reduced.
    • BThe book is marked as lost.
    • CThe book is removed from the catalog.
    • DA fine is calculated and observers are notified.
  5. 5.A member has reached their borrow limit. What will happen if they try to check out another book?

    • AThe member is allowed one more loan.
    • BThe book is marked as LOANED.
    • CThe system throws an exception.
    • DThe book is automatically reserved.
  6. 6.Which pattern is used to notify members of overdue items?

    • AFactory
    • BStrategy
    • CSingleton
    • DObserver
  7. 7.A library uses a TieredFine strategy. How much is the fine for a book overdue by 20 days?

    • A$27
    • B$40
    • C$60
    • D$20
  8. 8.What is the role of the Catalog in the Library Management System?

    • ATo manage member reservations.
    • BTo store overdue fine calculations.
    • CTo handle book item status updates.
    • DTo support searching by title, author, or ISBN.