event_horizon
n00b
- Joined
- Mar 12, 2010
- Messages
- 52
Nevermind.
Last edited:
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I don't want to sound mean or anything but this really reads like a homework problem but maybe I am the only one.
Looping. Iteration.
Oh and that I found this exact problem in an assessment booklet. Is your friend named bob?
Assessment Task 1: Plan a Computer Program to Provide a Solution
Element 1 Plan a computer program to provide a solution.
The Scenario
Bob is a carpet layer. He needs a way of calculating how much carpet he needs to take with him to be able to cover the floor in a room. The carpet he has is supplied in rolls that are 5 metres wide and 30 metres long. Any excess width gets discarded. This means that rooms that are wider than 5 metres need several strips of carpet. The smallest space that Bob will carpet is 1m x 1m, the biggest 20m x 20m.
Example:
For example, a room is 11 metres wide and 15 metres long.
Each roll of carpet is 30 meters long by 5 metres wide when it is unrolled.
Any excess width is discarded. This room will therefore need 3 strips of carpet. Each strip will be 15 metres long. The first two strips will be the full 5 metres wide, but the final strip will have to be cut so that it is only 1 metre wide.
Bob’s Problem:
Bob needs to know
The length of carpet to cover the floor of a room,
How many rolls of carpet he will need to do the job,
How much carpet of full width he will have left on the last roll of carpet.
Bob charges for his carpet by the metre, so he only works in whole metre lengths (e.g. If Bob needed to use 1.6 metres of carpet, he would charge for 2). He presently has to draw diagrams to work all this out, and would like a computer program to work this out for him. Bob has limited IT knowledge and would like his program to be easy to use, so he needs a user manual to explain how to use the program.
Write a brief to determine how you will solve Bob’s problem. Your brief must identify the problem, describe the program in terms of its purpose, target users and also outline its specifications (including constraints) to be met in order to provide a solution.
Write an action plan that describes what methods you will use to solve the problem, including: what testing you will do to ensure your method is correct; what resources you will need; and how long you expect to take to solve the problem. Include a sketch of your proposed application’s screen layout.
Design and draw a structure diagram for your program. Use pseudo code to describe the more complex parts of the program on the following page.
I told him that I could get a computer program to work this out for him.
VS 2008 Code? What language would that be (you have narrowed it down to about half a dozen)?Complete novice here. Can anyone tell me the Visual Studio 2008 code to run a simple program that will do ...
lol, nice find.Oh and that I found this exact problem in an assessment booklet. Is your friend named bob?
You should, you are missing out!This is one of the funniest things I've seen on these forums in a long time... and I have a genmay subscription.
event_horizon, why would you offer to do something for someone when you don't know how to do it?
Nevermind.
Another happy customerOwned
Another happy customer
Do you think this post was about his own house, or was it another homework assignment?
http://nz.answers.yahoo.com/question/index?qid=20110817231527AAVQdBY
http://www.vbforums.com/showthread.php?t=658032
event_horizon is going to great lengths to help his carpet laying buddy. Commendable.