Question: A client wishes to construct a three-storey office building of approximately 4,500 square metres gross floor area on a site that has a high water
A client wishes to construct a three-storey office building of approximately 4,500 square metres gross floor area on a site that has a high water level (approximately 600mm below ground level) with the bedrock approximately 3m below ground level. The proposed works will also include the formation of a new roadway and alterations to the existing public highway. Allowing for design, planning and procurement procedures the proposed commencement date will be 12 months from now. Consider the options available for the foundation design: Part 1. Consider the options available for the foundation design and make a recommendation to the client of your preferred choice including the reasoning behind your choice. Word guidance: 500 to 1,000 words. Marking scheme Part 1 - requires a practical consideration of the alternative types of foundation solutions that are available. Part 2 - make a report for the client advising on the choice of the construction solution for the frame of the building, reporting on the impact of different design solutions and constructional processes on cost and time. Word guidance: 1,000 to 1,500 words Marking scheme Part 2 requires a detailed consideration of the alternative types of frame solutions that could be used with an appraisal of their strengths and weaknesses for the proposed building. With regard to costs, try and carry out some research on this. Part 3 - Advise the client of the legal obligations and procedures that will have to be met to ensure the carriageway is up to an adoptable standard and the potential costs that could be levied for the roadway alterations to the public highway. Word guidance: 500 to 1,000 words Marking scheme Part 3 requires a study of the Highway Act 1980 to determine the legal obligations and procedures.Key considerations 1 2 3 4 Identifies alternative foundation options Considers the practical advantages of each Indicates preferred choice with reasons for the choice Key considerations 1 2 3 4 Considers the alternative frames available identifying the strengths and weaknesses of each Considers the effect of time and cost on choices Presents results and recommendations in a structured report format Key considerations 1 2 3 4 Investigates the requirements of the Highways Act 1980 Identifies the relevant sections of the Act that apply Prepares a list of potential costs that could be levied against the client
Question 2 THIS QUESTION HAS TWO PARTS. Part (a) is to write some simple test code, and part (b) is the complete class implementation, described in detail below. Write both parts in the provided text box. Consider a class DrinkMachine that models a vending machine. We will assume it only sells one type of drink. It is constructed with a maximum capacity (number of drinks it can hold). There is a method insertCoin to put money in the machine, and at any time the machine has a balance representing the amount of money inserted but not spent. If the balance is greater than or equal to the drink price, AND if there is at least one drink in the machine, the dispense() method decreases the number of drinks by 1 and sets the balance to zero. If the balance was greater than the drink price, the excess goes into the can return. On the other hand, if the machine is empty, or the balance is less than the drink price, the dispense() method just transfers the balance to the coin return. Detailed specification: A constructor DrinkMachine(int givenCapacity), constructs a machine that can hold the given number of drinks but initially contains no drinks and has a balance of zero. O . A method getCount() that returns the number of drinks in the machine 35 pts . A public integer constant PRICE with value 150 cents, representing the drink price A method insertCoin(int value) that adds the given amount, in cents, to the balance. A method restock(int howMany) that adds the given number of drinks to the machine without going over the maximum capacity A method getBalance() that returns the current balance, in cents Canvas XO + A method getCount() that returns the number of drinks in the machine X A method getBalance() that returns the current balance, in cents A method getCoin Return() that returns the amount of money, in cents, currently in the coin return tray A method clearCoin Return() that sets the amount in the coin return to zero D A method dispense() that works as follows: If the balance is greater than or equal to the drink price, and if there is at least one drink in the machine, the dispense() method decreases the number of drinks by 1 and sets the balance to zero. If the balance was greater than the drink price, the excess goes into the coin return. On the other hand, if the machine is empty, or the balance is less than the drink price, the dispense() method just transfers the balance to the coin return. a) (10 pts) CLICK TO EXPAND/MINIMIZE PART A b) (25 pts) CLICK TO EXPAND/MINIMIZE PART B CLICK TO EXPAND/MINIMIZE PART A Write a class MachineTest with a main method that tests the DrinkMachine class above for the following cases: For a machine containing no drinks, after calling insertCoin(100) twice, the balance is 200. Then after calling dispense() the balance is zero and the coin return is 200 For a machine that contains 9 drinks, has a balance of 100, and has 50 cents sitting in the coin return, after calling dispense() it still contains 9 drinks and has 150 in the coin return In each case print out the actual value returned by the appropriate accessor method, and print out the correct value that you expect. You can just print the numbers, no labels or explanations are required. You can write "SOP" to abbreviate "System.out.println". DO NOT USE JUNIT, this is just a main method. } public class MachineTest { public static void main(String[] args) { } CLICK TO EXPAND/MINIMIZE PART B Write a complete implementation of the DrinkMachine class described above. You can copy and paste the following template: public class DrinkMachine public public static final int PRICE = 150; public DrinkMachine (int givenCapacity) {. } public void insertCoin (int value) { } public void restock(int howMany) { } public int getCount() { } public int getBalance() { } public int getCoinReturn() { 67 M *** } } public int getBalance() { } public int getCoinReturn() { } public void clearCoinReturn() } public void dispense() { } Edit Format Table 12pt Paragraph BIU A 2 T v Bv :
Step by Step Solution
3.43 Rating (153 Votes )
There are 3 Steps involved in it
Part 1 Foundation Design Recommendation In selecting a suitable foundation design for the threestorey office building project several options need to be considered The foundation choice will significa... View full answer
Get step-by-step solutions from verified subject matter experts
