Skip to content
Tactiverge

Open Lab investigation · OL-04

One Switch, Many Choices

Model a single-switch scanning interface and investigate how item order and layout change the time to make a choice.

About 1.5 h · introductory · 6 steps · Free

This is a learning investigation, not peer-reviewed research. Unexpected results are welcome: what matters is a clear hypothesis, honest data and careful interpretation.

The question

Research question

For a single-switch scanning interface, how much do the order of items and the layout (one long list versus rows and columns) change the average time it takes to select a command?

Why it matters

Some people control computers, communication aids or home devices with a single switch, for example a large button pressed with a hand, head or foot. A common method is scanning: the interface highlights each option in turn, and the user presses the switch when the one they want is highlighted. It works with very little movement, but it can be slow, because you wait for the highlight to reach your choice.

How the options are arranged decides how long that wait is. This investigation builds a simple model of scanning and uses it to compare arrangements. A model can show how arrangements compare in principle. It cannot tell you what is comfortable, tiring or confusing for a real person. That only comes from working with the people who use such systems, so part of your task is to say what the model misses.

This is a learning exercise, not peer-reviewed research. Unexpected results are welcome: a prediction that turns out wrong, honestly reported, is a good outcome.

You will learn to

  • Model a user interface as a simple calculation and state its assumptions.
  • Test a hypothesis by changing one design variable at a time.
  • Use expected-value reasoning with made-up frequencies.
  • Explain why model results must be checked with real users before design decisions.

Limits

  • C1Use the provided model in free Python, or the same calculation on paper.
  • C2Frequencies are made up for illustration; you may change them, but must say so and label them as made up.
  • C3Change one variable at a time: order, layout, or step time.
  • C4Do not simulate a disability yourself or present the model's output as evidence about real users.

Background

Linear scanning

In linear scanning, the highlight steps through the items one at a time, every step_s seconds. If the item you want is in position i (counting from 1), you wait i steps. If you know how often each item is used, the average selection time is the sum over items of (frequency × position × step time). This is called an expected value.

For example, with three items used 50%, 30% and 20% of the time, in that order, and a 1-second step: 0.5 × 1 + 0.3 × 2 + 0.2 × 3 = 1.7 seconds on average. Reverse the order and it becomes 0.2 × 1 + 0.3 × 2 + 0.5 × 3 = 2.3 seconds.

Row–column scanning

With many items, linear scanning gets slow. In row–column scanning, items sit in a grid. The highlight first steps through rows; the user presses to pick a row; then it steps through the items in that row; the user presses again. An item in row r and column c takes r + c steps. For 16 items in a 4 × 4 grid, the worst case is 8 steps rather than 16, but every selection needs two presses instead of one.

The model

Here is a starting script with made-up usage frequencies for a home-control panel. They are invented for illustration, not data from real users.

# Made-up command frequencies for a home-control panel (fractions of all uses)
commands = {"lights": 0.30, "call for help": 0.05, "door": 0.15,
            "temperature": 0.10, "music": 0.25, "blinds": 0.15}
step_s = 1.0   # the highlight moves to the next item every second

def linear_scan_time(order):
    """Average seconds until the wanted item is highlighted (item 1 takes one step)."""
    return sum(commands[name] * step_s * (i + 1) for i, name in enumerate(order))

as_listed = list(commands)
print(f"as listed: {linear_scan_time(as_listed):.2f} s")
as listed: 3.40 s

What a model cannot capture

This model ignores mistakes (pressing a moment too late), fatigue, how quickly a person can react, learning over time, and how much an option matters as opposed to how often it is used. A rarely used option such as "call for help" might matter more than any other. Real systems are designed and tested with their users, who are the experts on what works for them.

How to approach it

  1. 01

    Understand the model

    Check the three-item example in the background by hand. Then run the script and confirm the 3.40 s figure by working it out on paper from the frequencies and positions.

  2. 02

    Write your hypothesis

    Before changing anything, predict: how much faster will the panel be if items are sorted by frequency? Will a 2 × 3 row–column layout be faster or slower on average than the best linear order, once you count its extra press? Give reasons and rough numbers.

  3. 03

    Plan your comparisons

    List the arrangements you will test: at least the listed order, sorted by frequency, and one row–column layout. Decide how to count the time of the second press in row–column scanning, and write that assumption down.

  4. 04

    Collect data

    Extend the script with a function for row–column scanning, and calculate the average time for every arrangement. Also record the time for "call for help" alone in each arrangement.

  5. 05

    Interpret

    Which arrangement is fastest on average? What happens to "call for help" in the fastest arrangement? Does the fastest arrangement on average make sense as a design? Explain the conflict between average time and the importance of particular choices.

  6. 06

    Limitations and users

    List what the model leaves out. Then write three questions you would want to ask people who use scanning interfaces, through a teacher or other responsible adult, to find out whether your conclusion holds.

Your work

Everything above is free to read and use. To save drafts, submit versions and get feedback, sign in.

You can also work on paper: the prompts below are what a submission asks for.

  1. Hypothesis (written before you collect any data)
  2. Method
  3. Data and observations
  4. Interpretation
  5. Limitations

How it's judged

There is more than one good answer. This rubric describes what strong work looks like.

Question and hypothesis

Beginning
No clear hypothesis, or it was clearly written after seeing the data.
Developing
A hypothesis is stated before data but is vague, so almost any result would fit it.
Proficient
A specific, falsifiable hypothesis with a reason behind it, written before data collection.
Exemplary
As Proficient, plus a stated prediction of how big the effect should be and what result would count against it.

Method and control of variables

Beginning
The method is missing or too vague to repeat.
Developing
The changed variable is clear, but other variables drift between runs or repeats are missing.
Proficient
One variable is changed at a time, others are held fixed and listed, with repeats and a decision rule set in advance.
Exemplary
As Proficient, plus a pilot run that led to a documented change of method, and a check that the measurement itself is reliable.

Data quality and honesty

Beginning
Data are missing, unitless or only summarised, with no raw values.
Developing
Raw data are present but inconvenient runs are silently dropped or units are inconsistent.
Proficient
All runs are reported with units, including failed or surprising ones, with a note on each exclusion.
Exemplary
As Proficient, plus variability between repeats is quantified (for example a range or standard deviation) and used in the interpretation.

Interpretation and limitations

Beginning
Claims go beyond the data or ignore the hypothesis.
Developing
The result is described but not connected to the hypothesis, or limitations are generic.
Proficient
The conclusion follows from specific numbers, and the most important limitation is named with its likely effect.
Exemplary
As Proficient, plus alternative explanations are considered and the student says exactly what further test would distinguish them.

Reflect

  • Did your fastest arrangement turn out to be the one you would actually recommend? Why or why not?
  • What did the model make easy to compare, and what did it hide?
  • How would you involve users to decide where 'call for help' belongs?

Go further

Add a simple error model: with some made-up probability the user presses one step too late and must wait for a full cycle to come round again. Investigate how this changes which arrangement is best, and whether shorter step times still help.