Consider the world of libraries

Assignment Help C/C++ Programming
Reference no: EM131100262

Question 1: Consider the world of libraries. A library has books, videos, and CDs that it loans to its users. All library material has an id# and a title. In addition, books have one or more authors, videos have one producer and one or more actors, while CDs have one or more entertainers. The library maintains one or more copies of each library item (book, video or CD). Copies of all library material can be loaned to users. Reference-only material is loaned for 2hrs and can't be removed from the library. Other material can be loaned for 2 weeks. For every loan, the library records the user, the loan date and time, and the return date and time. For users, the library maintains their name, address and phone number.

Question 2: Draw a class diagram (or two, if this is more convenient) for the description above. Make sure to show attributes, multiplicities and aggregations/compositions, where appropriate. No need to show any operations.

To give an exam, an instructor first notifies the students of the exam date and the material to be covered. She then prepares the exam paper (with sample solutions), gets it copied to produce enough copies for the class, and hands it out to students on the designated time and location. The students write their answers to exam questions and hand in their papers to the instructor. The instructor then gives the exam papers to the TAs, along with sample solutions to each question, and gets them to mark it. She then records all marks and returns the papers to the students.

Draw a sequence diagram that represents this process. Make sure to show when is each actor participating in the process. Also, show the operation that is carried out during each interaction, and what its arguments are.

Reference no: EM131100262

Questions Cloud

Logic in main and modularize : Classes (use hiding, getters and setters, multiple constructors and methods). Use functions - make your main very short. Try not to use any long detailed logic in main and modularize your application.
Discuss the sophist according to epistemic peculiarity : Explain Plato's perspective regarding the arts, music, sexuality, and the role these things should occupy in Plato's ideal state.
Do you have access to reading the american past : Do you have access to Reading the American Past: Selected Historical Documents, Volume 2: Since 1865.? If so i need two 1.5 page essays and a discussion board of about 8 lines done by 11:30 pm central tonight.
Concerned with the fact that the cancellation : Make the given changes in the indicated examples of this section. Then solve the resulting problems. In Example 11, change the denominator to t + 2 and then find the limit as t → -2.
Consider the world of libraries : Consider the world of libraries. A library has books, videos, and CDs that it loans to its users. All library material has an id# and a title.
Explain the rublevs place in medieval russia : Watch Andrei Rublev and write a one-page paper explaining Rublev's place in medieval Russia. Watch either Ivan the Terrible part. 1 or Ivan the Terrible part. 2 and write a one-page paper in which you analyze the historical accuracy of the film.
Locate an article about object modeling : Search the Web for online "trade magazines" related to computers and technology. Locate an article about object modeling. To be considered current, the article must have been published within the last 90 days. Anything older is considered out-date..
Write as if you are directly speaking to them : Respond to the below person's DQ. Write as if you are directly speaking to them. Provide additional insight or thoughts or offer a different approach.
What is the magnitude of the maximum gravitational force : at what rate would it accelerate towards the surface, assuming Moon B has no atmosphere?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a function that computes length of a character string

Write a function that computes the length of a character string (i.e. write your own implementation of the strlen function.

  Find the truth table of a three-variable exclusive-or(odd)

Find the truth table of a three-variable exclusive-OR(odd) function

  Write a program to find the middle element in a linked list

1. Write a program to check if there is a loop in a linked list. Create a loop in a linked list and use your method 'isLoop' to identify that the loop exists. The method isLoop should return a Boolean type.2.

  Implement a version of the zombiedash

For this assignment you must implement a version of the 'ZombieDash' video game on the Teensy LCD board. The game is to be written in the C programming language. The implementation will make use of the LCD screen, buttons, LEDs, potentiometer, and..

  Represents the nth fibonacci number

Prove by induction that the number of nodes in the activation tree for the Fibonacci function is 2F(n + 1) - 1.

  Write a program to open a file in c++

Write a program to open a file in C++

  Static field holds rent due date for an office

// static field holds rent due date for an office - // rents are due on the 1st

  Write a program which adjusted bill with a sales tax

Write a program which accepts the total of food and drink purchased for a restaurant bill as input. The output should be adjusted bill with a sales tax of six percent 6% and a tip (gratuity) of 15%.

  What are the values of *ptr and **ptrptr

Using no other objects besides those already declared, how can you alter ptrPtr so that is points to a pointer to b withoutdirectly touching ptr?

  Program to output value of tenth component of array

Write a C++ statements to perform the following: Set value of fourth component of array alpha to three times  value of eight component minus 57.

  Displays your name in the titlebar of the browser

Lab Assignment 1: Beginning HTML Due Week 2 and worth 40 points Deliverable: One (1) Web page (.htm) Follow the directions below to complete Lab Assignment 1: Using Notepad, or a similar text editor, create an .htm file that: displays your name an..

  How will you do the shrink operation

How will you do the shrink operation and how will you do the expand operation -

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd