Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Free lesson

OS 8.1 (2 of 2): Keeping a product useful

The whole lesson, free. Read it and have a go at the activities. To work the tasks and labs in the real lesson, press Start lab, with no account needed.

40 minutes

A quick check that you are not a bot, then your own lab opens on the interactive lesson.

Already have an account? Sign in

The app that never changed

A music app is popular. For five years the team changes nothing.

A new app arrives. It has shared playlists. It is cheaper. It is faster. Users move to it.

The first app did not break, but it was no longer useful enough. To stay in use, a product must keep changing.

Key words

WordWhat it meansExample
IterativeDone in small steps, each improving the last.Version 1, then 1.1, then 1.2
RelevantStill useful to the people who use it.An app that people still want
FeedbackWhat users and clients tell you about the product.The search is too slow
CompetitorA company that sells the same kind of product.A different music app that does the same job
EfficiencyDoing the same job with less time, money or work.A page that loads in 1 second, not 5
Future-proofBuilt to be easy to change later.A fee kept in one setting
TechnologyMachines, systems and software that people use.Faster phones, new browsers
VersionOne numbered release of a product.Version 2.3

The cells students fill in are left blank in this preview.

Five reasons make a product change

ReasonWhat happensExample
Review after feedbackUsers or the client say what is wrong or missingMany users ask for a dark mode
Developments in technologyNew things become possiblePhones now have face unlock
CompetitionCompetitors add things users likeA competitor adds shared playlists
The need to improve efficiencyThe same job should cost less time or moneyA slow report is made to run in seconds
The need to future-proofMake the next change cheap and easyKeep a price in one setting, not in 40 places

The cells students fill in are left blank in this preview.

Match each story to its reason

Have a go

Loading…

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Release, listen, improve, release again

flowchart LR
  release[Release a version] --> use[Users use it]
  use --> feedback[Collect feedback]
  feedback --> review[Review: what to change?]
  review --> improve[Improve the product]
  improve --> release

Try it: one setting, many uses

Code: python
FEE = 3.0

def total(basket):
    return basket + FEE

print(total(10.0))
print(total(25.0))

# Change FEE to 4.5, then press Run again.
# One change moves every price. That is future-proofing.

Make a free account to save your work and track your progress.

Write a value once, in one place

Warning

Many people think typing a price straight into the code is quicker. If a price is typed in 40 places, one change needs 40 edits, and you will miss one. Write it in one place and use it from there.

Your turn: future-proof the fee

A delivery app charges a fee of 3.0. Delivery is free when the basket is 20.0 or more. Do not write these numbers inside the functions. Keep them in one settings dictionary. Fill in default_settings, delivery_fee and order_total. The hidden tests also change the settings, to check that your functions read them. Press Run Tests.

Code: python
# A food delivery app charges a delivery fee. Today the fee is 3.00 and
# delivery is free when the basket is 20.00 or more.
# These numbers are written inside the code in many places. Next year they will change.
# Put them in ONE settings dictionary, and make the functions read it.

def default_settings():
    # Give back a dictionary with two keys: "fee" (3.0) and "free_over" (20.0).
    return {}


def delivery_fee(basket_total, settings):
    # 0 if basket_total is free_over or more, otherwise the fee.
    return 0


def order_total(basket_total, settings):
    # The basket plus the delivery fee.
    return 0

Make a free account to save your work, or press Start lab to work through the whole lesson.

Check: why does it change?

Have a go

Check: why does it change?

4 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Key words crossword

Have a go

Loading…

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Write a change proposal

Choose an app you use every day. 1. Describe one change you would make to it, in one sentence. 2. Say which of the five reasons is the cause: feedback, technology, competition, efficiency or future-proofing. 3. Write two sentences on why the change keeps the app relevant.

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.

Final check

Have a go

Final check

5 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Teach this lesson with your class

On a college account your students work the tasks and the labs as well, and every mark is kept for you.