Spread the word.

Share the link on social media.

Share
  • Facebook
Have an account? Sign In Now

Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

SIKSHAPATH

SIKSHAPATH Navigation

  • Home
  • Questions
  • Blog
    • Computer Science(CSE)
    • NPTEL
    • Startup
  • Shop
    • Internshala Answers
Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Home
  • Questions
  • Blog
    • Computer Science(CSE)
    • NPTEL
    • Startup
  • Shop
    • Internshala Answers
Home/ Questions/Q 26562
In Process

SIKSHAPATH Latest Questions

romeela
  • 0
  • 0
romeela
Asked: November 12, 20232023-11-12T10:19:51+05:30 2023-11-12T10:19:51+05:30In: Data Structure

domain model

  • 0
  • 0

Library is an important aspect of any educational institute. A library is controlled by a librarian. Apart from
librarian there should be minimum of 4 library staff members. A library should contain books on at least 10
different subjects like English, IT, Chemistry etc. Library can have either faculty members or students as teaching
members. Librarian can issue books to both member types. However, a student can get a maximum of three books
at a time while a faculty member can get a maximum of 6 books. Librarian has to enter details in library register.

draw a domain model
  • 1 1 Answer
  • 59 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. I'M ADMIN
      I'M ADMIN
      2023-11-16T12:59:33+05:30Added an answer on November 16, 2023 at 12:59 pm

      Click on the attachment link below to download the Diagram file.

       

      1. Library – Librarian Relationship:

      The “Library” class contains a “librarian” attribute, indicating that a library has a librarian.

      2. Library – Staff Relationship:

      The “Library” class has a “staffMembers” attribute, indicating a composition relationship with the “Staff” class. This suggests that the staff members are part of the library.

      3. Library – Book Relationship:

      The “Library” class has a “books” attribute, indicating a composition relationship with the “Book” class. This suggests that the books are part of the library’s collection.

      4. Librarian – Book Relationship:

      The “Librarian” class has a method “issueBook(Book)” and is expected to interact with books, representing an association.

      5. Member – Book Relationship:

      The “Member” class has methods “borrowBook(Book)” and “returnBook(Book),” indicating an association with books.

      6. Member – Subject Relationship:

      The “Member” class may have an interest in certain subjects, represented by the “Subject” class. This relationship is not explicitly shown in the model, but it can be inferred based on the “Subject” class’s association with books.

      7. Book – Subject Relationship:

      The “Book” class has a “subject” attribute, representing an association with the “Subject” class. This indicates that a book is related to a particular subject.

      Attachment

        • 0
      • Reply
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    Sidebar

    store ads

    Stats

    • Questions 1k
    • Answers 1k
    • Posts 149
    • Best Answers 89
    • This Free AI Tool Translates Entire Books in Minute !
    • AI News: 🎬 Hollywood’s AI Studios, 🎓 OpenAI’s Latest Gift to Educators, 🚚 Class8 Bags $22M, 🧠 Google Gemini’s Memory Upgrade
    • AI NEWS: Legal Action Against OpenAI, $16M Paid, & Elon Musk’s Praise from Investor 🤖💰📑 | AI Boosts Cloud Seeding for Water Security 🌱💧
    • AI News: 🎬AI Video Tool Scam Exposed🤯, 🛰️ AI-Powered Drones to Ukraine 😱, Google’s $20M AI Push, Sam Altman Joins SF’s Leadership Team
    • AI News: 🤝 Biden Meets Xi on AI Talks, 💡 Xavier Niel’s Advice for Europe, ♻️ Hong Kong’s Smart Bin Revolution, 🚀 AI x Huawei

    Explore

    • Recent Questions
    • Questions For You
    • Answers With Time
    • Most Visited
    • New Questions
    • Recent Questions With Time

    Footer

    SIKSHAPATH

    Helpful Links

    • Contact
    • Disclaimer
    • Privacy Policy Notice
    • TERMS OF USE
    • FAQs
    • Refund/Cancellation Policy
    • Delivery Policy for Sikshapath

    Follow Us

    © 2021-24 Sikshapath. All Rights Reserved

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.