Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Task

Your task is to design, implement and test a program to calculate the cost of different types of student trips.

Non-Functional Specification

• The program should provide the user with an appropriate textual interface, providing instruction and help.

• The program should execute until the user decides to terminate it.

• The program should output results in a readable and meaningful format

• The cheapest option should always be suggested Functional specification:

• Calculate the cost of the total mileage for the trip (outward and inward bound)

• Include the hire cost of an appropriate sized vehicle

• Include the travel expenses for the appropriate number of accompanying tutors

• Calculate the total cost of food depending on the type of trip:
o Short day trip requires only lunch
o Long day trip requires lunch and dinner
o An overnight trip requires lunch, dinner and breakfast

• Any child requiring special dietary requirements is identified and additional cost incurred Known data values:

• Cost per mile = 40p

• Mini bus = £40 per day holds 12 children and one adult

• Coach = £60 per day holds 36 children and 3 tutors

• There should be 1 accompanying tutor for every group of 12 children

• Breakfast costs £1.50 per child

• Lunch costs £2.00 per child

• Dinner costs £3.50 per child

• Special dietary requirements are charged at an extra 8% per meal

• Accompanying tutors are charged an extra 20% for each meal (they are not charged extra for special diets)

Test data:

• 32 children on a short day trip 6 have special dietary requirements

• 10 children on an overnight stay 1 has special dietary requirements

Part 1: Pseudo-­-code and first stage formal design -:

• Any assumptions made

• A breakdown of the problem into key sub-­-problems,

• Pseudo-­-code solutions for those sub-­problems

• An initial high-level formal flow chart of how you intend your program to work.

Part 2: Your final working program and design documentation. This should include:

• Your source code (.cpp files only) zipped in a single file and submitted to the separate Moodle box

• A final formal report, submitted to Turnitin, that includes:

• A formal flow chart of your final design indicating any major changes from your initial design and your rational for them.

• A testing table that demonstrates your program development and the results of the given test data.

• Identifies any limitations you have placed on your program, or functionality in which it has not yet been successful.

• Details of any research undertaken and a relevant supporting bibliography

Part 3: Demonstration of your working program with test data.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91558591
  • Price:- $80

Priced at Now at $80, Verified Solution

Have any Question?


Related Questions in Computer Engineering

In a competitive market the market demand is qd 60- 6p and

In a competitive market, the market demand is Qd= 60- 6P and the market supply is the Qs= 4P the full economic price under a price ceiling of $3 is:?

Question why we still study computer graphics whats the

Question : Why we still study computer graphics ? Whats the benefits of this science ? can you give a practical examples that employs computer graphics ? What is the best book to learn computer graphics in details and cl ...

A resistor selected at random from a bin containing 1 k ohm

A resistor selected at random from a bin containing 1 K Ohm 5% tolerance resistors is measured with an ohmmeter. The ohmmeter is old fashioned pointer type that introduces measurement error and operator error (it is hard ...

Question suppose that a computer can execute 1 billion

Question : Suppose that a computer can execute 1 billion instructions/sec and that a system call takes 1000 instructions, including the trap and all the context switching. How many system calls can the computer execute p ...

Question students will turn a basic python set of files

Question : Students will turn a basic Python set of files into one single batch file. This will demonstrate students understanding of sequential scripting. Student will developed a simple 3-6 line code script file. Using ...

If we believe the percent to be 75 how many police officers

If we believe the percent to be 75%, how many police officers must we survey to estimate the proportion of officers who graduated from a police academy if we want to ensure we can be 99% we are within 2% of the true prop ...

Taskwrite an essay according to the following

Task Write an essay according to the following instructions. Your lecturer will provide few links for relevant articles and/or case studies. These will be available to you just after your second assignment submission dat ...

You work in a veterinarians office and need to organize the

You work in a Veterinarian's office and need to organize the data on pets that you treat. In your database, you want to keep track of the following information: Customer information: Name Address City State ZIP Phone # Y ...

Question cybersecurity policy design issues1describe

Question: Cybersecurity Policy Design Issues 1. Describe cybersecurity roles and responsibilities to protect security for the corporate business mission (for example, the Insider threat, Access Controls, Biometric Authen ...

For the following c statement what is the corresponding

For the following C statement, what is the corresponding RISC-V assembly code? Assume that the variables f, g, h, and i are given and could be considered integers as declared in a C program. Use a minimal number of assem ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As