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.2 (1 of 2): Planning a software change

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.

45 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

Fifty messages, one app

A college has a timetable app. In one week the team gets 50 messages. Students want dark mode. A teacher found a login bug. The principal wants the college logo changed.

The team cannot do everything today. What do they do first? Who do they tell?

Key words

WordWhat it meansExample
Change requestA written request for a change to the software.Add dark mode
PriorityHow urgent or important a change is.1 is the most urgent
ImpactWhat a change will affect.The login page and the database
ScheduleA plan of what is done and when.Login bug on Monday and Tuesday
StakeholderA person the product matters to or affects.Students, teachers, the principal
Technical audiencePeople who know how the software is built.Other developers
Non-technical audiencePeople who use the software but do not know how it is built.The principal
DocumentationWritten records of what was asked, decided and done.A change log
Regression testRunning old tests again to check a change broke nothing else.
Control and releaseChecking and approving a change, then giving it to users.

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

Change management follows seven stages

flowchart TD
  identify[1. Identify the issue or change] --> document[2. Document it]
  document --> communicate[3. Communicate to the right people]
  communicate --> plan[4. Plan the work]
  plan --> schedule[5. Schedule the work]
  schedule --> test[6. Regression test]
  test --> release[7. Control and release]

Match each action to its stage

Have a go

Loading…

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

Write every change in a request

Changes come from feedback and reviews: messages, surveys, bug reports, meetings.

Write each one down in a change request. A good request says: what is wrong or wanted, who asked, how urgent it is, and what it might affect. Without a record, work gets lost and people argue about what was agreed.

A change request has six fields

FieldExample
NumberCR-014
WhatStudents cannot log in when the password has a space
Asked byA teacher, by email, on Monday
Priority1 (most urgent): students cannot use the app
ImpactLogin page and password check
StatusPlanned: fix on Tuesday

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

Write down more than the request

Note

Also write what the team decided, who agreed and the date. A change log is a list of every change, with its date. Later, nobody has to guess what happened.

Check: read the change request

Have a go

Check: read the change request

3 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

Tell the right people the right way

Different people need different words. A technical audience wants details. A non-technical audience wants to know: what is happening, when it will be done, and what they must do.

Use short sentences. Do not use hard technical words with people who do not know them.

The same news, two ways

AudienceThe message
Technical (the developers)CR-014: the password check trims spaces. Remove the trim in login.py line 42. Add a test with a space. Merge by Tuesday.
Non-technical (the principal)Some students cannot log in. We know why. We will fix it on Tuesday. You do not need to do anything.

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

Check: who gets which message?

Have a go

Check: who gets which message?

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

Urgent first, then quick ones first

Planning says what the work is, who does it and what they need. Scheduling puts the work in order with dates.

Start with the priority: urgent changes go first. For the same priority, do the quick ones first, so the team finishes more changes.

Your turn: build the schedule

A team has a list of change requests. Each has a name, a priority (1 is the most urgent) and a number of days. schedule gives the names in the right order. Priority 1 goes first, then 2, then 3. For the same priority, the change with fewer days goes first. The function put_in_order is finished for you: it puts the requests in that order. Loop over it. fits goes down that order and adds each change while it fits in the days left. Stop at the first one that does not fit. Press Run Tests.

Code: python
# Each change request is a dictionary:
#   {"name": "Fix login bug", "priority": 1, "days": 2}
# priority 1 is the most urgent. 3 is the least urgent.
# days is how long the change takes.

def put_in_order(requests):
    # Finished for you. Gives back a new list in schedule order:
    # priority 1 first. For the same priority, fewer days first.
    ordered = []
    for one in requests:
        place = len(ordered)
        for i in range(len(ordered)):
            other = ordered[i]
            if one["priority"] < other["priority"]:
                place = i
                break
            if one["priority"] == other["priority"] and one["days"] < other["days"]:
                place = i
                break
        ordered.insert(place, one)
    return ordered


def schedule(requests):
    # Give back the NAMES in the order we should do them.
    # Hint: loop over put_in_order(requests) and add one["name"] to a list.
    return []


def fits(requests, days_available):
    # Go through put_in_order(requests). Add each name
    # while it still fits in the days left. Stop at the first one that does not fit.
    # Give back the list of names that fit.
    return []

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

Complete the process diagram

The diagram shows the seven stages of the change process, but six names are missing (the question marks). Replace each ??? with the right stage: Document, Communicate, Plan, Schedule, Regression test, Control and release. Then add one more arrow: from Regression test back to Plan, for when a test fails.

flowchart TD
  identify[1. Identify the change] --> document[2. ???]
  document --> communicate[3. ???]
  communicate --> plan[4. ???]
  plan --> schedule[5. ???]
  schedule --> test[6. ???]
  test --> release[7. ???]

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

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.