You are working on creating a data storage model for a local hotel. Each day they...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You are working on creating a data storage model for a local hotel. Each day they have people arriving who will be booked into different types of rooms: suites, standard, and executive suites they have branded as Taylor Suites. Every person arrives with a check out date. They are assigned to a type of room. The hotel however, does not care which person is in what room, and can consider each room to be either available, or unavailable until the checkout date. There are 19 suites, 89 standard rooms, and 13 Taylor Suites. Design a class structure that fits this data. Describe what attributes are needed for each object, and a selection of methods that may be useful for this data. You may include both classes and subclasses in your model. You do not need to write any code for this design. Explain your work, and what information is needed for the model. You are working on creating a data storage model for a local hotel. Each day they have people arriving who will be booked into different types of rooms: suites, standard, and executive suites they have branded as Taylor Suites. Every person arrives with a check out date. They are assigned to a type of room. The hotel however, does not care which person is in what room, and can consider each room to be either available, or unavailable until the checkout date. There are 19 suites, 89 standard rooms, and 13 Taylor Suites. Design a class structure that fits this data. Describe what attributes are needed for each object, and a selection of methods that may be useful for this data. You may include both classes and subclasses in your model. You do not need to write any code for this design. Explain your work, and what information is needed for the model.
Expert Answer:
Answer rating: 100% (QA)
To design a class structure for a local hotels data storage model you can create classes for Hotel Room and Reservation Heres a description of the att... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
For each transaction, (1) analyze the transaction using the accounting equation. (2) record the transaction in journal entry form, and (3) post the entry using T-accounts to represent ledger...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Lowell Inc. projects unit sales for a new project with a life of FOUR YEARS as follows: year 1 = Unit sales 10,000 Year 2 = Unit sales 12,000 Year 3 = Unit sales 14,000 Year 4 = Unit sales 16,000...
-
Gross Profit on Uncompleted Contract On April 1, 2010, Dougherty Inc. entered into a cost-plus- fixed-fee contract to construct an electric generator for Altom Corporation. At the contract date,...
-
Evaluate the indefinite integral sin3[(x2 + 1)] cos [(x2 + 1)4] (x2 + 1)3 x dx
-
For each of the situations listed, identify the primary standard from the IMA Statement of Ethical Professional Practice that is violated (competence, confidentiality, integrity, or credibility)....
-
1. Based on the information provided in the chapter, describe the basic features of German accounting at the time Volkswagen adopted IAS. What developmental factors cause these features? 2. What...
-
A 45-year-old man presents to the Emergency Department with a fever, widespread rash, and confusion. His only past history of note was Sydenham's chorea and a number of recent dental extractions....
-
Q4. Review the accounts receivable lead sheet memo and related workpapers (AR.3.1 to AR.3.4). Evaluate the auditors' tickmarks, comments, and explanations in the memo and on the lead sheet. Identify...
-
Funding is through federal and state block grants. Question 5 options: Private For Profit Non-Profit Public
-
Prove by induction that the recursive program given in the text makes exactly \(F_{n}\) recursive calls to fibonacci (1) when computing fibonacci( \(n\) ).
-
Add a method \(\exp ()\) to StdRandom that takes an argument \(\lambda\) and returns a random number drawn from the exponential distribution with rate \(\lambda\). If \(x\) is a random number...
-
Give the value of ex234(6): public static String ex234(int n) { } if (n
-
Write a client of Percolation and PercolationDirected that takes a site vacancy probability p from the command line and prints an estimate of the probability that a system percolates but does not...
-
Solve the following recurrence relations, all with \(T(1)=1\). Assume \(n\) is a power of 2 . - \(T(n)=T(n / 2)+1\) - \(T(n)=2 T(n / 2)+1\) - \(T(n)=2 T(n / 2)+n\) - \(T(n)=4 T(n / 2)+3\)
-
Financial statement data for Plum Crazy Boutique (a high-end clothing retail company) are given below. All figures are in dollars. Use this data to construct an Income Statement for the year ending...
-
Find the velocity, acceleration, and speed of a particle with the given position function. r(t) = (t 2 , sin t - t cos t, cos t + t sin t), t > 0
-
On December 1, 2013, Xanadu Corporation entered into a forward contract to buy 500,000 on March 1, 2014, for C$1.52. On March 1, 2013, Xanadu enters into a forward contract to sell 200,000 Chilean...
-
The parent entity, JEZ, has purchased on the open market, for an amount less than par value, some bonds previously issued at par, by its wholly owned subsidiary, Northco. The group accountant for...
-
You work in the Office of the Comptroller General. The Director to whom you report has recently returned from a conference on public sector financial reporting. Among the topics discussed was a new...
-
Eugene Fama and Robert Shiller recently won the Nobel Prize in economics. Go to http://nobelprize.org/nobel_prizes/economics/ and locate the press release on Eugene Fama and Robert Shiller. What was...
-
Visit the Bloomberg Markets website at www.bloomberg.com/markets/stocks. Their interactive graph allows you to see cumulative returns for individual stocks as well as market indices. Over the last...
-
Compute the price of a share of stock that pays a \($5\) per year dividend and that you expect to be able to sell in one year for \($40\), assuming you require a 5% return.
Study smarter with the SolutionInn App