Faculty of Engineering & Technology.

Added on - 22 Sep 2019

  • 6


  • 1286


  • 170


  • 0


Showing pages 1 to 3 of 6 pages
FacultyofEngineering & TechnologyDepartmentofComputer ScienceCoursework Title:Hotel Tax SystemModule Name:IntroductiontoComputer ProgrammingModule Code:4100COMPLevel:4Credit Rating:20Weighting:40%Maximum Mark Available:100Lecturer:Dr. Denis ReillyContact:If you have any issues with this coursework you may contact your lecturer (theacademic who delivers your lectures), if there are any outstanding issues you maycontact the module co-ordinator whose contact details are:eMail:d.reilly@ljmu.ac.ukRoom:731Hand-Out Date:17thOct 2016Hand-In Date:11thNov 2016Hand-In Method:BlackBoardFeedBack Date:2ndDec 2016FeedBack Method:eMailProgramme(s):CS, CSc, SE, MC, CF, CSeIntroduction:This coursework is to be attemptedindividually.You are required to apply basic computer programming concepts and techniques to solve acomputing problem. The coursework is supported by tutorial sessions up to the submissiondate.Learning Outcome(s) Being Assessed:
1.Apply knowledge of programming constructs and basic algorithms.2.Demonstrate problem solving skills by producing simple programming solutions.3.<not assessed in this coursework>4.<not assessed in this coursework>5.<not assessed in this coursework>DetailsofTask:A new hotel tax system is required to help managers determine how much tax they must paycalculated by the number of bookings multiplied with the room price for different room types.Every time the system runs, the tax rate may be specified by the managers or set to a suitabledefault. You are thusly required to produce a console application (using Java) that is ready toopen the fileM:\data\rooms.txtwhich contains the room’s data.NOTE : Therooms.txtfile (i.e. Appendix A) is provided onBlackBoardin theAssignmentssection.You should download the file to a new folder calleddataon yourM:drive.It contains three sample rooms. The format of each room’s data is as follows :room typenumber of bookingsroom priceUpon application launch, the system should ask the managers if they wish to specify a customtax rate, this should be in the form of a yes / no question. When the managers say yes, thesystem should request the tax rate as input (from the keyboard) which will then overwrite thedefault tax rate (i.e. Appendix B). When the managers say no, the system should report (to thescreen) the default tax rate (i.e. Appendix C). Next, the system should loop through the room’sdata, calculating and printing (to the screen) the room type, number of bookings, room price,income and tax, the latter two requiring some basic calculations.Running totals for the income and tax should be calculated and printed before the systemgracefully exits.What you should hand in:The properly formatted & commented code in a ZIP file. Specifically, a single Java (.java) file.Instructions will be provided on how to use Blackboard Assignment Handling.
Marking Scheme/Assessment Criteria:AssessmentAssessment Criteria% weightingforpart1Solution’s FunctionalityConstants & VariablesReading InputFormatting Outputif, if-else Statementswhile, for Statements1020201515802Best Practice103Commenting10Guidelines:It is not necessary to develop your system outside the specification above, marks areavailable for answering the question, the whole question and nothing but the question, thatsaid see below regarding best practice.This coursework is explicitly assessing the following aspects of programming:oConstants & Variables (int, double & string)oReading Input (from keyboard & files).oFormatting Output (to screen).oSelection Statements (if, if-else).oIterative Statements (while, for).The code should employ best practice (i.e. indentation, spacing & camelCase).The code should also be suitably commented (i.e. non self-explanatory).Resources Required:You may use the computing labs on the 6th& 7thfloors of the Byrom Street Campus as well asthe 1stfloor of the Henry Cotton Campus.You should make use of these specific tools & resources:Eclipse (Neon).Lecture Materials.The Internet.
You’re reading a preview

To View Complete Document

Become a Desklib Library Member.
Subscribe to our plans

Download This Document