Eight jobs, eight hours
You have 8 hours for the whole practice project. You have 8 jobs.
If you spend 4 hours on the first job, what happens to the rest? Many students run out of time and never finish the build.
A plan stops this. It takes 30 minutes and saves hours.
Key words
| Word | What it means | Example |
|---|---|---|
| Estimate | A careful guess of how long or how much. | Build: 120 minutes |
| Milestone | A point that shows a big step is done. | Design finished |
| Deadline | The time when the work must be finished. | 4 o'clock |
| Gantt chart | A table or picture that shows jobs against time. | rows of jobs, columns of hours |
| Risk | Something that could go wrong. | The build takes longer |
| Mitigation | What you do to make a risk smaller. | Build the must-haves first |
| Resource | Something you need for the job. | time, a computer, a tool |
| Running total | All the numbers added up so far. | 30, then 30 + 30 = 60 |
| Must-have | A part the tool cannot work without. | book a court |
| Could-have | An extra part, added only if there is time. | a colour theme |
The cells students fill in are left blank in this preview.
Worked example: add up the minutes
| Job | Minutes | Running total |
|---|---|---|
| Read the brief | 30 | 30 |
| Make the plan | 30 | 30 + 30 = 60 |
| Find and fix defects | 60 | 60 + 60 = 120 |
| Design | 60 | 120 + 60 = 180 |
| Build | 120 | 180 + 120 = 300 |
| Test | 60 | 300 + 60 = 360 |
| Evaluate | 45 | 360 + 45 = 405 |
| Check and hand in | 15 | 405 + 15 = 420 |
The cells students fill in are left blank in this preview.
Check: the arithmetic
Have a go
Check: the arithmetic
4 questionsTry it: minutes to hours
total = 420
hours = total // 60
minutes = total % 60
print(hours, "hours and", minutes, "minutes")
# // gives the whole hours.
# % gives the minutes left over.
# Change 420 to 435 and run it again.
Make a free account to save your work and track your progress.
Gantt chart: each X is 1 hour
| Job | Hour 1 | Hour 2 | Hour 3 | Hour 4 | Hour 5 | Hour 6 | Hour 7 |
|---|---|---|---|---|---|---|---|
| Read the brief and plan (60 min) | X | ||||||
| Find and fix defects (60 min) | X | ||||||
| Design (60 min) | X | ||||||
| Build (120 min) | X | X | |||||
| Test (60 min) | X | ||||||
| Evaluate and hand in (60 min) | X |
The cells students fill in are left blank in this preview.
A good plan keeps spare time
Tip
Most jobs take more time than you think. Keep some spare minutes at the end. A plan with no spare time is a plan that fails at the first problem.
Check a plan with code
Write four small functions that check a time plan. A plan is a list of jobs, each with a name and minutes, such as ("Build", 120). total_minutes adds the minutes. fits says if the plan is short enough. spare_minutes says how many minutes are left. total_cost gives the cost of the time at a price per hour. Press Run Tests to check your work.
def total_minutes(tasks):
# tasks is a list like [("Design", 60), ("Build", 120)]
# task[1] is the minutes of one job. Give back all the minutes added up.
return None
def fits(tasks, available):
# True if the plan needs no more than the available minutes.
return None
def spare_minutes(tasks, available):
# Minutes left over. Give a negative number if the plan is too long.
return None
def total_cost(tasks, pounds_per_hour):
# The cost of the time. 60 minutes at 20 pounds an hour costs 20.
return None
Make a free account to save your work, or press Start lab to work through the whole lesson.
Match the risk to the fix
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Stage 1: your time plan
This is stage 1 of the Hillside practice project. You have 8 hours (480 minutes). Make a table of at least six jobs with minutes for each and a running total. Add one milestone. Draw a Gantt chart as a table. List three risks and how you will make each one smaller. Say how many minutes you keep spare.
A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.
Make a free account to save your work, or press Start lab to work through the whole lesson.
Key words crossword
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Final check
Have a go