Recall & Review
beginner
What is the main responsibility of the <strong>Book</strong> class in a library system?The Book class represents a book's details such as title, author, ISBN, and availability status. It manages information about the book itself.Click to reveal answer
beginner
What attributes would you expect in a Member class?
Typical attributes include member ID, name, contact information, and a list of current loans. It represents a library user who can borrow books.
Click to reveal answer
intermediate
What role does the <strong>Librarian</strong> class play in the system?The Librarian class handles administrative tasks like managing books, approving loans, and maintaining member records. It acts as a system operator.Click to reveal answer
intermediate
Explain the purpose of the <strong>Loan</strong> class in the library system.The Loan class tracks the borrowing of a book by a member, including loan date, due date, and return status. It connects books and members through borrowing activity.Click to reveal answer
advanced
How do the classes Book, Member, Librarian, and Loan interact in a library system?
Members borrow Books through Loans, which track the borrowing details. Librarians manage Books and Members, approving loans and updating records.
Click to reveal answer
Which class is responsible for storing the due date of a borrowed book?
✗ Incorrect
The Loan class tracks borrowing details including the due date.
Who typically approves a book loan in the system?
✗ Incorrect
Librarians handle administrative tasks such as approving loans.
Which attribute would NOT belong in the Member class?
✗ Incorrect
Book title belongs to the Book class, not Member.
What is the main purpose of the Book class?
✗ Incorrect
The Book class stores details like title, author, and ISBN.
Which class connects a Member and a Book in the system?
✗ Incorrect
Loan represents the borrowing relationship between Member and Book.
Describe the key attributes and responsibilities of the Book, Member, Librarian, and Loan classes in a library system.
Think about what each class represents and what information it needs to hold.
You got /4 concepts.
Explain how the classes Book, Member, Librarian, and Loan work together to support borrowing books in a library.
Focus on the flow of borrowing from request to return.
You got /4 concepts.
