Computer Engineering is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Interaction design

Interaction design studies how people and interactive systems communicate, and gives principles, models and procedures to design effective, usable interactive products.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Interaction design helps engineers decide how a user will accomplish tasks with a system. Good interaction design reduces errors, speeds up task performance, and makes software and devices easier to learn and pleasant to use — important for product success and exam questions in UI/UX courses.

Key ideas

Start from first principles: an interactive system connects a human who has goals with a computer that changes the world. Interaction design organizes the structure and behaviour of that connection.

  • Interaction design: the discipline of defining how users and interactive systems communicate through actions and feedback. It covers what users can do, how they do it, and how the system responds.

  • User: the person or people who will use the system. Define user roles (student, cashier, admin) and their goals.

  • Task: a unit of work the user performs to reach a goal (for example: withdraw cash from an ATM). A task can be decomposed into subtasks and actions.

  • Context: the physical, social and technical environment where interaction happens (for example: noisy railway station, slow network).

  • Affordance: a possible action that an object supports (independent of whether the user notices it). Example: a button affords pressing; its raised appearance and a label like “Press” are signifiers that indicate this affordance.

  • Signifier: a signal that guides the user to the affordance (for example, a label “Press” on a button). Use signifiers when affordances are not obvious.

  • Feedback: information returned to the user about the effect of an action (visual highlight, sound). Feedback must be timely and perceivable.

  • Mapping: the relationship between controls and their effects. Good mapping reduces the user's mental effort (e.g., stove knobs arranged spatially like burners).

  • Constraints: restrictions that limit possible actions to reduce errors: physical constraints (a plug fits only one way), semantic constraints (meaning of the situation, e.g., only future dates allowed for booking), logical constraints (only actions that are logically possible are enabled, e.g., menu items enabled only when applicable), and cultural constraints (red = stop).

  • Visibility (Discoverability): items that the user can see and understand are discoverable. Make important actions visible without clutter.

  • Consistency: using the same operations and similar elements for similar tasks across the interface (e.g., same icon for save everywhere).

  • Reversibility (Undo): allow users to recover from mistakes. This reduces anxiety and exploratory friction.

  • Direct manipulation: an interaction style where users operate on visible objects and see immediate results (dragging files). Formal properties: continuous representation of objects, rapid incremental reversible operations, and replacement of complex command languages by direct actions.

  • Norman’s Seven Stages of Action — exact statement (universities expect these names in order):

    1. Forming the goal (decide what to achieve)
    2. Forming the intention (decide what to do)
    3. Specifying an action sequence (plan the steps)
    4. Executing the action (perform the steps)
    5. Perceiving the state of the world (observe output)
    6. Interpreting the perception (understand what happened)
    7. Evaluating the outcome (compare with goal)

    Assumption: the user and system form a loop — errors come from gaps between stages. Two named gaps: the Gulf of Execution (user’s difficulty to perform actions) and the Gulf of Evaluation (user’s difficulty to understand system state). To draw: place the user on the left and the system/world on the right; depict two gaps at the interface: the Gulf of Execution (from user goals/intentions/specification to available controls) and the Gulf of Evaluation (from system output/state to the user’s perception/interpretation). Below, list the seven user stages in order, grouped into Execution (first four) and Evaluation (last three).

  • Interaction styles (short definitions):

    • Command language: user types commands (e.g., shell). Good for expert users.
    • Menu selection: user chooses from lists. Good for discoverability and constrained tasks.
    • Form fill / data entry: structured inputs for records.
    • Direct manipulation (defined above).
    • Natural language / conversational: user speaks or types sentences.
    • Gesture / touch: physical gestures as input (swipe, pinch).
  • Design process (interaction-focused): define users and tasks (user research, personas — see other topic: User research and personas), create scenarios and task flows, sketch wireframes (see topics: Wireframes and Prototyping), prototype interactive sequences, and test with users (Usability testing and UX metrics).

  • Evaluation criteria: learnability, efficiency, memorability, error rate and satisfaction. These are standard usability goals.

Formulas

T_task = Σ t_i — total task time is the sum of the times of each interaction step (applies when estimating time-on-task; each t_i is the time of an operator or subtask in seconds).

T_KLM = Σ t(op_i) — Keystroke-Level Model total time equals the sum of the times for each operator instance op_i used in the task, where op_i ∈ {K, P, H, M, R}. Symbols:

  • K = keystroke or button press time (s)
  • P = pointing time to target (s)
  • H = homing time between devices (keyboard/mouse) (s)
  • M = mental operator time (thinking) (s)
  • R = system response time where user waits (s) Applies for low-level expert user tasks where cognitive loads are small and behaviour is routine.

Efficiency = (successful task completions) / (time spent) — units: completions per second. Use for comparative measures in usability tests.

Note: KLM and operator times are empirical; typical numeric values are used in worked examples but verify with texts when precise numbers are required.

Also commonly examined:

Fitts’ Law: MT = a + b * log2(D/W + 1) — pointing/movement time MT (s) increases with index of difficulty ID = log2(D/W + 1) bits, where D is movement distance and W is target width (same units). Applies to rapid, aimed pointing with the same device/technique.

Hick–Hyman Law: RT = a + b * H — decision/reaction time RT (s) increases with information H (bits). For equiprobable choices, H = log2(n) where n is the number of choices; for unequal probabilities, H = Σ p_i * log2(1/p_i). Applies to choice-reaction tasks before action execution.

Worked examples

  1. KLM numeric example (typical classroom calculation)

Task: Type a short numeric code “12345”, move mouse and click a Submit button.

Operators and assumed typical times (classroom example — verify values with your course handout or textbook; see the Note in Formulas):

  • K (each keystroke) = 0.2 s
  • H (homing keyboard→mouse) = 0.4 s
  • P (pointing to target) = 1.1 s
  • K (click) treated as keystroke = 0.2 s

Steps and calculation:

  1. Type five digits: 5 × K = 5 × 0.2 = 1.0 s
  2. Homing to mouse: H = 0.4 s
  3. Point to button and click: P + K = 1.1 + 0.2 = 1.3 s
  4. Sum formula: T_KLM = 1.0 + 0.4 + 1.3 = 2.7 s

Final answer: Total predicted task time = 2.7 s

(Use this method in exams: list operators, plug typical times, add.)

  1. Design-analysis example (short-answer style)

Question: Design the main screen for a train-ticket vending kiosk to minimise errors for first-time users. Provide a brief justification.

Model answer (points to include for full marks):

  • Show the user's primary goal (buy ticket) as a large clearly labelled button on the home screen — visibility and signifier.
  • Use a linear step-by-step flow (select origin, destination, class, payment) to reduce cognitive load — mapping and constrained choices.
  • Provide immediate feedback on selection (highlight choice, show fare) — feedback.
  • Disable or hide irrelevant options to avoid error — constraints.
  • Provide an undo/back action on each screen and a clear Cancel button — reversibility.
  • Use large touch targets (minimum 9–10 mm finger size) and high contrast labels for public kiosks (context: public, possibly gloved fingers).
  1. Theory/diagram example: Norman’s gulfs (exam diagram answer)

What to draw: two columns. Left column: user stages (Form goal → Intention → Specification → Execution). Right column: user evaluation stages (Perceive → Interpret → Evaluate). Indicate the two gaps at the interface: label the gap between the user’s intentions/specification and the available controls as the Gulf of Execution; label the gap between the system’s output/state and the user’s ability to perceive and interpret it as the Gulf of Evaluation. Annotate with examples (e.g., Gulf of Execution: unclear controls; Gulf of Evaluation: ambiguous status indicator). Explain how reducing each gulf improves usability.

Common mistakes

  • Drawing Norman’s stages without labelling which belong to user vs system, or omitting the two gulfs.
  • Proposing features (e.g., animations) without explaining how they help discoverability or feedback.
  • Treating consistency as an aesthetic rule only; exams expect mention of reduced cognitive load and transfer of learning.
  • Confusing slips (execution errors) with mistakes (goal/plan errors); use Norman’s stages to locate the cause.

For your exam

Question types you will get:

  • Definitions and short notes (define affordance, feedback, mapping, direct manipulation).
  • Diagrams (draw and label Norman’s Seven Stages, Gulf of Execution/Evaluation, or a flow for a simple interaction).
  • Design justification (short design of a screen or control with principles applied).
  • Simple calculations with KLM or time-on-task (list operators, typical times, sum).
  • Evaluation questions (identify usability problems and recommend improvements using interaction principles).

What a full-marks answer includes:

  • Precise definition of terms (bold them mentally when writing), clear assumptions, and named principles.
  • For diagrams: neatly drawn boxes/arrows with labels and a short explanation of each part.
  • For KLM numeric problems: list operators, show numeric values used, present formula and step-by-step arithmetic, and give final unit.
  • For design questions: state the user and context, show how at least three interaction principles are applied, and explain why each reduces error or effort.

Quick check

  1. What is the difference between an affordance and a signifier?
  2. Name Norman’s first and last stages of action.
  3. In KLM, which operator represents the time to move the hand between devices?

Answers: Affordance is a possible action; signifier is a cue that shows the affordance. First stage: Forming the goal. Last stage: Evaluating the outcome. Homing (H) is the operator for moving the hand between devices.

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?