In which case there are no pricing changes

Assignment Help Basic Computer Science
Reference no: EM13219763

A friend of yours owns two houses at Football City, the site of the next Super Bowl. Your friend wants to rent those two houses for the Friday, Saturday, and Sunday of the Super Bowl weekend. House #1 has 3BR (3 Bedrooms), 3BA (3 Baths), and house #2 has 1 BR, 1BA. For this project, concurrency is not an issue; you should assume that two customers will never access your system at exactly the same time. You should also assume that the management-side software and the customer-side software will never run at the same time. We can assume that we run the management-side software first, then the customer-side software. This friend has asked you to build a file-based reservation system enabling the following: A. Management-side software: Your friend controls the rental price and may change it every day. He/she sends you a change file every day; this file may be empty, in which case there are no pricing changes. If the file is not empty, pricing has changed (for one or more houses, or for one or more days). You are in charge of this project, and therefore, you are in charge of specifying the file format; however, this must be simple text file because your friend is not a computer person. You do not have to simulate the act of sending the file by your friend; you should assume that the file is a text file in your directory and that you only need to read the data. Your management-side software needs to read this file and update a different file, with which you control the reservation system. You can create your own design for the structure of that file. Of course, prices for existing reservations cannot be changed. Finally, your management-side software should write to a file the status of the reservations; that is, which house is rented to whom, when, and for what price.

Reference no: EM13219763

Questions Cloud

Use one supper class and two sub classes : Give a UML example illustrating aggregation. Include classes, fields, methods, instance fields, etc.Use one supper class and two sub classes.inlcude pseudo code for at least one method of each class l. Also explain the whole part relationship and ..
State the difference in density of the air at the top : What is the difference in density of the air at the top and bottom of the room? (Hint: assume that the volume and pressure is the same, if you like, you can take the volume to be 1L and the pressure to be 1atm, but if you think carefully you may r..
Discuss what makes a successful information security : Discuss what makes a successful information security awareness program and how a security awareness program can be one of an organization's most powerful protection strategies.
Calculate the percentage changes using the midpoint formula : Suppose that the price elasticity for hip replacement surgeries is 0.2. Further suppose that hip replacement surgeries are originally not covered by health insurance and that at a price of $50,000 each, 10,000 such surgeries are demanded each year..
In which case there are no pricing changes : Finally, your management-side software should write to a file the status of the reservations; that is, which house is rented to whom, when, and for what price.
What is maximum drug developer should be willing to invest : Suppose a drug developer just received a patent on a new chemical compound, which could be used in developing a new drug to control cholesterol. The developer knows (with certainty) that it could successfully develop the compound into a safe
Explain a cobalt compound has an observed magnetic : A cobalt compound has an observed magnetic moment of 5.2 B.M. What can you deduce about the compound?
How much will venesa be able to spend on health insurance : The Federal tax code allows businesses but not individuals to deduct the cost of health insurance premiums from their taxable income. Consider a company named HeadBook that could either spend $5000 on an insurance policy for an employee named Vane..
What is called a whitespace character : Given an int variable modelYear write a statement that assigns true to norecall if the value of modelYear does NOT fall within the two recall ranges and assigns false otherwise. Do not use an if statement in this exercise!

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Case of healthy people pharmacy

Consider the case of Healthy People Pharmacy. Healthy People Pharmacy is a small town pharmacy that not only sells pharmaceuticals but also sells items ranging from milk to socks

  Servlet to return randomly chosen greeting

Write a servlet that returns a randomly chosen greeting from a list of five different greetings.

  Question about flight function

An airline vice president in charge of operations requires to determine whether the current estimates of flight times are accurate. because there is a larger possiblity of variations due to wether and air traffic in the longer flights.

  Procedural considerations

The processes and procedural considerations the organization would/will need to understand to mitigate your key points?

  How many different types of sundaes can be ordered

If a sundae is allowed to have three scoops of ice cream where each scoop must be a different flavor (order of scoops doesn't matter), and either a syrup or a topping (but not both) are required, how many different types of sundaes can be ordered?

  What is chained exceptions in java

What is chained exceptions in java? Explain different layout manager in Java.

  Discuss difference between microcontroler and microprocessor

Discuss the differences between microcontrollers and microprocessors.

  Use jsp to display current date & time

Fail authentication page will ask user to create the new account if the user does not have an account on the system.

  Write a test program that prompts the user

public static int binaryToDecimal(String binaryString)Write a test program that prompts the user to enter a binary string and displays its decimal equivalent.

  What are some domains in which they can be used

What are some domains in which they can be used? Justify your answers with examples and reasoning.

  Numbers as 4-bit words in 2''s complement form

Q. Assume the following numbers are represented as 4-bit words in 2's complement form. Perform the following operations and identify, in each case, whether or not an overflow occurs

  Structure stack that represents

Design a structure stack that represents a stack of elements of some arbitrary type. Include the functions: create(returns an empty stack), push(add an element to the top of the stack and return the resulting stack)

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