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.4 (1 of 2): Communicating with your users

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

Same news, wrong words

A developer tells the college manager: "The server threw a null pointer, so the session expired."

The manager does not understand a word. Then the developer tells a team member: "Some people cannot log in. We will fix it by Friday." The team member wants more detail: which people, and what is the cause?

The news was right. The words were wrong for each person. Good communication means choosing the words for the listener.

Key words

WordWhat it meansExample
AudienceThe people you are talking or writing to.Students, developers
ToneHow your words sound.Friendly, formal or urgent
JargonSpecial words that only experts know.null pointer
Release notesA short list of what is new or fixed in a version.Version 2.1: dark mode
FAQFrequently asked questions: common questions with their answers.How do I reset my password?
ScreencastA video of a screen, often with a voice.A two-minute how-to video
APIA way for programs to talk to each other.A weather service
API contractA file that describes an API for programs to read.An OpenAPI file

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

Each format suits a different job

GroupFormatGood for
SpeakingFace-to-faceA quick talk, a difficult message, building trust
SpeakingRemote conferencingA meeting with people in other places, with screen sharing
WrittenBlogNews and stories for a wide audience
WrittenFormal reportA full record for managers, with facts and what was decided
WrittenTechnical documentationHow the system works, for developers
WrittenRelease notesWhat changed in a version, for users
WrittenUser guide or help fileStep-by-step help for users
WrittenFAQQuick answers to common questions
Visual and audioUser demonstrationShow people how to use it, live
Visual and audioScreencast videoShow the steps, for people to watch later
Visual and audioNarration (a person or a computer voice reads the words aloud)A spoken guide, also for people who cannot read the screen
For programsAPI contractTells other programs exactly how to use the API

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

Match each situation to its best format

Have a go

Loading…

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

Choose words for the listener

Choose your words for the listener.

For a non-technical person: short sentences, everyday words, what it means for them, what to do next. For a technical person: exact names, numbers, steps and links.

Be polite and clear in both. Do not make a user feel stupid.

One problem, three messages

To whomMessage
A userSorry, the app was not working for about an hour this morning. It works now. You do not need to do anything.
A managerThe login service was down from 9:05 to 10:10. About 200 users were affected. The cause is found and the fix is already in the app.
A developerThe login service ran out of memory at 09:05. I raised the memory limit and added an alert. See ticket 412.

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

Check: choose the words

Have a go

Check: choose the words

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

An API contract is for programs

A person reads a user guide. A program reads an API contract.

It lists each address, the methods it allows and what it sends back. Because it is written in a strict format, tools can read it. They can make code, tests and documentation from it.

Try it: a tiny API contract

Code: python
contract = {
    "paths": {
        "/users": {"get": "List the users", "post": "Make a new user"},
        "/users/1": {"get": "Show one user"},
    }
}

for address in contract["paths"]:
    for method in contract["paths"][address]:
        print(method.upper(), address)

# A program just read the contract.
# Add "delete": "Remove the user" to /users/1, then press Run again.

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

Your turn: read a contract

An API contract can be read by a program. Here it is a Python dictionary. Fill in list_endpoints. It gives a list of text like GET /users, one for each address and method. Write the method in capital letters and sort the list. Press Run Tests.

Code: python
# An API contract is a file that describes an API so that PROGRAMS can read it.
# Here it is a Python dictionary. The keys under "paths" are addresses.
# Under each address are the methods allowed, for example "get" or "post".
#
# contract = {"paths": {"/users": {"get": {}, "post": {}}, "/users/1": {"get": {}}}}
#
# Give back a list of text like "GET /users", one for each address and method.
# Write the method in capital letters. Sort the list in alphabetical order.

def list_endpoints(contract):
    return []

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

Write the release notes

Release notes tell users what changed, in plain words. Fill in release_notes. It gets a version and a list of changes, and gives back the text. The groups are New, Fixed and Changed, in that order. Leave out a group with no items. Read the starter for an example. Press Run Tests.

Code: python
# Release notes tell USERS what changed, in plain words.
# changes is a list of dictionaries: {"kind": "Added", "text": "Dark mode"}
# kind is "Added", "Fixed" or "Changed".
#
# Give back text like this (a new line between the lines):
#   Version 2.1.0
#   New:
#   - Dark mode
#   Fixed:
#   - Login accepts spaces
# "Added" is shown as "New:". "Fixed" is "Fixed:". "Changed" is "Changed:".
# The groups come in the order New, Fixed, Changed. A group with no items is left out.

def release_notes(version, changes):
    return ""

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

Write an FAQ

A school has a new app for homework. The readers are students and parents, not developers. 1. Write 5 questions that a real student or parent would ask. 2. Write a short answer to each one. Use short sentences and no jargon. 3. Write one sentence about the same app for a developer. Say how your words for the developer differ from your words for the students and parents.

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

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.