Human–computer interaction
Human–computer interaction (HCI) in pervasive computing studies how people and computing systems communicate, using laws (Fitts', Hick's), models (GOMS, KLM), design principles (affordance, feedback, mapping) and evaluation metrics to create usable, efficient pervasive systems.
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
Human–computer interaction (HCI) matters because engineers design pervasive systems (smart devices, wearables, context-aware services) that real people use. Good HCI reduces errors, increases efficiency and user satisfaction, and is essential for safety and adoption in pervasive computing environments.
Key ideas
Start with clear definitions. Define each bold term before using it further.
- Human–computer interaction (HCI): the study of how people interact with computers and other digital devices, and how to design interfaces that make those interactions effective and pleasant.
- Usability: how well users can learn, use, and find satisfaction in a product. Usability is commonly broken into five components: learnability, efficiency, memorability, errors, and satisfaction — define each briefly in exam answers.
- Affordance: a property of an object that indicates how it can be used. In interfaces, an affordance suggests possible actions (for example, a button affords pressing).
- Signifier: a signal that communicates where actions should take place (a visual cue like an underline for a link). Signifiers make affordances visible.
- Feedback: information returned to the user after an action (visual, auditory, haptic) so the user knows the result.
- Mapping: how controls relate to their effects; good mapping matches the user’s mental model to system behaviour.
- Mental model: the user’s internal understanding of how a system works.
- System image: the representation of the system (screens, controls) that the user perceives; designers must align the system image with the desired mental model.
Classic cognitive laws and models used in HCI (state them exactly and give assumptions):
Fitts' law (movement time model) — exact statement used in HCI: Let MT be the average time to move a pointing device to a target. Then
MT = a + b · IDwhereID = log2(D/W + 1). Assumptions: users perform aimed, ballistic movements; target width W is measured along the axis of motion; D is distance from start to target center; a and b are empirically fitted constants for device and user population. Commonly asked derivation: show how index of difficulty (ID) arises from an information-theoretic view: ID ∝ log2(2D/W). Two common forms areID = log2(D/W + 1)(Shannon formulation) andID = log2(2D/W)(Fitts' original). They are monotonically related but not separated by a constant over all D/W; switching forms requires refitting bothaandb. For exams, state the version your course uses and note the assumption about W and D; in empirical evaluations, W is often replaced by the effective widthWecomputed from endpoint variability.Hick's law (choice reaction time) — commonly used statement: Let RT be choice reaction time for making one decision among n alternatives. Then
RT = a + b · log2(n + 1)(many texts uselog2 n; state the version your course uses). Assumptions: choices are equally probable, independent, and the decision process follows information accumulation;aandbare empirical constants. For unequal choice probabilities, the general form uses entropyH = Σ p_i · log2(1/p_i):RT = a + b · H.Throughput (TP) for pointing tasks — exact definition used in performance comparison:
TP = ID / MT. Units: bits per second. Assumes ID computed as above, MT measured. In practice (e.g., ISO 9241-9/411), compute effective index of difficultyIDe = log2(D/We + 1)using effective widthWefrom endpoint variability, and report TP as meanIDedivided by meanMT.GOMS (Goals, Operators, Methods, Selection rules) — formal model of skilled user behaviour. Exact elements:
- Goals: what the user wants to achieve.
- Operators: low-level actions (e.g., press key, move mouse).
- Methods: procedures to achieve goals.
- Selection rules: how a user chooses between methods. Use GOMS to predict expert task time by decomposing tasks.
Keystroke-Level Model (KLM) — a simplified GOMS variant listing operators and average times to estimate expert execution time by summation of operators. Common operators (define): K = keystroke or button press, P = point with a pointing device, H = homing between devices (keyboard ↔ mouse), M = mental preparation, R = system response/wait. Note: operator times are empirical and depend on user/device; list values only if your course provides them.
Norman's seven stages of action — exact list to memorize and write in answers:
- Forming the goal
- Forming the intention
- Specifying an action sequence
- Executing the action
- Perceiving the system state
- Interpreting the system state
- Evaluating the outcome These stages underlie design principles like feedback, signifiers, and visibility.
Gestalt principles of visual perception — common ones to state and use in layout: proximity, similarity, closure, continuity, common fate, figure–ground. Define each in one line: e.g. proximity: items near each other are perceived as a group.
Diagrams to draw in exams (describe exactly):
- For Fitts' law: draw a hand cursor at left, rectangular target at right. Label
D(distance from cursor start to target centre), labelW(target width along motion axis). Add arrow showing motion and annotateMTabove arrow. - For Norman's gulf diagram: draw user on left, system image on right, two gulfs between them labelled Gulf of Execution and Gulf of Evaluation; show arrows for intentions -> actions and system state -> interpretation.
Formulas
MT = a + b · ID — Fitts' law movement time; MT in seconds (s); a is an empirical constant in seconds (s) and b is in seconds per bit (s/bit); ID is index of difficulty in bits; applies to aimed pointing tasks.
ID = log2(D / W + 1) — index of difficulty; D is distance (m), W is target width (m); units: bits (dimensionless); applies when W measured along motion axis.
TP = ID / MT — throughput in bits per second (bit/s); applies to compare pointing device performance. In ISO-style analyses, use IDe = log2(D/We + 1) with effective width We and compute TP as mean IDe / mean MT.
RT = a + b · log2(n + 1) — Hick's law for choice reaction time; RT in seconds; n = number of options (dimensionless); a, b empirical.
KLM operator list (syntax to remember):
K(keystroke/button press),P(pointing),H(homing),M(mental),R(system response). Times: course-specific; do not assume fixed values unless given.
Worked examples
Fitts' law numeric example (standard exam style). Given: distance D = 400 mm, target width W = 50 mm, empirical constants a = 0.20 s, b = 0.10 s/bit. Convert to metres if you want SI: D = 0.400 m, W = 0.050 m (but ratio D/W is unitless so conversion not necessary). Steps:
- Compute ID:
ID = log2(D/W + 1) = log2(400/50 + 1) = log2(8 + 1) = log2(9) = 3.1699 bits. - Compute MT:
MT = a + b · ID = 0.20 + 0.10 × 3.1699 = 0.20 + 0.31699 = 0.51699 s. Answer (bold): MT = 0.517 s.
- Compute ID:
Hick's law example. Given: number of choices n = 8, a = 0.20 s, b = 0.15 s/bit. Steps:
- Compute log term:
log2(n + 1) = log2(9) = 3.1699. - Compute RT:
RT = 0.20 + 0.15 × 3.1699 = 0.20 + 0.4755 = 0.6755 s. Answer (bold): RT = 0.676 s.
- Compute log term:
KLM trace (expert user) — algorithmic example. Task: open a browser (assume browser icon on desktop), type URL, press Enter. Operators assumed (example only):
P(point to icon),K(click icon), systemRwait for browser,Pmove to address bar (orKif focused), keystrokes for URL (say 10K),Kfor Enter. Steps:- Sequence: P + K + R + P + (10 × K) + K.
- If your course gives operator times, multiply and sum. (Do this only with course-provided times.) Model answer should show operator sequence and a sum giving total predicted task time.
Common mistakes
- Treating Hick's n as probability-weighted without stating assumptions; Hick's law above assumes choices equally probable.
- Omitting mental preparation (
M) in KLM when the task requires thinking; KLM requires placingMwhere necessary. - Ignoring device and user variability: empirical constants
aandbdepend on device, user expertise and context (e.g., wearable vs desktop). - Confusing affordance and signifier: affordance is a property; signifier is the cue.
For your exam
Question types you will see: definitions (affordance, signifier, mental model), short notes (Fitts' law, Hick's law, KLM, GOMS), derivations or explanations (derive ID variant, explain assumptions), numerical problems (compute MT, RT, throughput), model traces (KLM trace), and diagrams (draw Fitts' law setup, Norman's gulfs). A full-marks answer includes:
- For definitions: concise definition and one short example.
- For laws: the formula, clear definitions of symbols, assumptions, and a short comment on applicability/limits.
- For numericals: show steps, units, intermediate values, and final answer with units.
- For KLM/GOMS: list operators, show sequence, and compute time when operator times are provided.
- For design questions: state principles (affordance, feedback, mapping), justify choices using Norman's stages and Gestalt principles, and draw a sketch if asked.
Quick check
- What does
IDstand for in Fitts' law and how is it computed? - Name three elements of usability.
- Give Norman's final two stages of action (the evaluation side).
Answers: ID = index of difficulty; ID = log2(D/W + 1); Usability elements: learnability, efficiency, memorability (also errors, satisfaction); Norman's final two stages: 6) Interpreting the system state, 7) Evaluating the outcome.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?