Artificial Intelligence & Data Science 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.

Prototyping

Prototyping is the activity of building simplified versions of a user interface to explore ideas, test usability, and reduce risk before full implementation.

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

Prototyping helps engineers and designers quickly explore UI ideas, find usability problems early, and communicate designs to developers, stakeholders and test users. Good prototyping lowers cost and risk by catching design errors before expensive coding starts.

Key ideas

  • Dimensions: visual (colors, typography, layout detail), interaction/functional (click paths, microinteractions), content/data (realistic copy and data vs placeholders), and performance/timing (latency, animation timing). State which dimensions your prototype targets.

  • Low-fidelity prototype: quick, inexpensive, usually paper or simple wireframes; used for early exploration and brainstorming. Define on a diagram: draw several rough paper screens, label them "screen 1" ... "screen N" and annotate interactions with arrows.

  • Mid-fidelity prototype: more detailed layout and interaction than low-fidelity (grids, spacing, common components, some interaction states), typically grayscale or limited color; often built in tools like Figma/Sketch/Axure; used to validate user flows and information architecture without final visuals.

    • High-fidelity prototype: close to the final look and interaction, often implemented in a prototyping tool (Figma, Adobe XD, Framer) or even coded. For a diagram, draw one polished screen and annotate visual styles, microinteractions and data placeholders.
  • Wireframe: a layout blueprint showing placement of elements (headers, buttons, lists) without detailed visual styling. Wireframes are usually low- to mid-fidelity.

  • Mockup: a static, high-fidelity visual design of a screen showing color, typography and layout, but not necessarily interactive.

  • Clickable prototype: a mockup or wireframe linked so users can click/tap between screens to simulate interaction.

  • Throwaway (exploratory) prototype: built to learn and then discarded. Used early when requirements are unclear.

  • Evolutionary prototype: gradually refined and extended until it becomes the final system. Used when prototyping in code and planning to reuse components.

  • Horizontal prototype: covers many features at a shallow level (surface-level UI across the product). Draw: wide row of screens covering all main areas but with limited functionality.

  • Vertical prototype: covers a deep, small slice of functionality (one feature implemented end-to-end). Draw: one feature with screens, flow and backend or simulated data path.

  • Wizard of Oz prototype: the system appears to work automatically but a human behind the scenes simulates parts of the system (common for conversational or AI features).

Why and when to choose types (rules of thumb):

  • Use low-fidelity when you need fast ideation and wide exploration, or to involve non-technical stakeholders. Assumption: you expect many changes and want quick feedback.
  • Use high-fidelity when testing detailed interaction, visual design choices, or preparing handoff to developers. Assumption: core interaction flows are settled.
  • Choose throwaway when exploring unknown territory; choose evolutionary when building a prototype in the same environment or tech stack that will be used later.

Diagrams universities ask for and how to draw them:

  • Fidelity vs effort/cost graph: draw x-axis labelled "Fidelity (low → high)" and y-axis labelled "Effort / Cost". Draw a convex curve that rises slowly at first then steeply as fidelity approaches final product. Label three points: Low-fidelity (left, low cost), Mid-fidelity (middle), High-fidelity (right, high cost).
  • Prototype types matrix: draw a 2×2 table with rows "Horizontal / Vertical" and columns "Low / High fidelity"; place examples in each cell (e.g., top-left: low-fidelity horizontal = sketched site map; bottom-right: high-fidelity vertical = fully coded feature).

Common exam derivations: cost-of-change model. Many questions ask to reason why early prototyping saves cost. You can use a simple phase multiplier model:

  • Define phases: Requirements, Design, Implementation, Maintenance.
  • If a defect costs C in Requirements, it may cost k·C in later phases (k larger). Typical illustrative multipliers used in teaching: Requirements 1×, Design 5×, Implementation 10×, Maintenance 100×. Use them to show numeric impact of catching defects early. (These multipliers are teaching examples, not universal facts.)

Formulas

Cost_of_change = Base_cost × Phase_multiplier — Base_cost: cost to fix the issue at the phase it was introduced (currency units); Phase_multiplier: dimensionless multiplier for later phases; applies when estimating relative cost impact across phases.

Prototype_effort ≈ Screens × Effort_per_screen × Fidelity_factor — Screens: number of distinct screens; Effort_per_screen: hours to design one screen at baseline fidelity (hours); Fidelity_factor: multiplier (1 for baseline, >1 for higher fidelity); gives hours.

Prototype_time_total ≈ Screens × (Sketch_time_per_screen × (1 - Fidelity) + Implementation_time_per_screen × Fidelity) — Fidelity: normalized 0..1 where 0 is sketch, 1 is coded prototype; Sketch_time_per_screen and Implementation_time_per_screen measured in hours per screen; gives total hours.

Notes on formulas: these are conceptual, heuristic models to aid planning. Symbols use hours or currency as applicable. Exact numeric multipliers and times depend on team skill and tools.

Worked examples

Example 1 — Planning effort for a 10-screen prototype Problem: You must plan a prototype for a 10-screen mobile app. A low-fidelity screen takes 0.5 hours to sketch and annotate. A mid-fidelity interactive screen takes 2 hours. You plan a mid-fidelity clickable prototype. Estimate total time. Steps:

  1. Use the formula: Prototype_effort ≈ Screens × Effort_per_screen × Fidelity_factor.
  2. Screens = 10. Effort_per_screen (baseline low-fidelity) = 0.5 h. For mid-fidelity, choose Fidelity_factor = 4 (because 2 h / 0.5 h = 4).
  3. Compute: 10 × 0.5 h × 4 = 10 × 2 h = 20 h. Answer: 20 hours of design time.

Example 2 — Cost impact of catching a usability bug early Problem: Fixing a minor navigation bug at requirements costs ₹1,000 (analysis & design). Using teaching multipliers: Design 5×, Implementation 10×, Maintenance 100×. If the bug is found during implementation, what is the expected fix cost? If found in maintenance, what is it? Steps:

  1. Base_cost = ₹1,000.
  2. Implementation cost = 10 × ₹1,000 = ₹10,000.
  3. Maintenance cost = 100 × ₹1,000 = ₹100,000. Answer: ₹10,000 if fixed during implementation; ₹100,000 if discovered later in maintenance.

Example 3 — Choosing fidelity under a deadline Problem: Team has 24 hours to deliver a prototype for usability testing. There are 8 screens. Estimates: sketch (low-fidelity) 0.5 h/screen; interactive mockup (mid-fidelity) 2 h/screen; coded prototype (high-fidelity) 6 h/screen. Which highest fidelity can you afford? Steps:

  1. Low-fidelity total = 8 × 0.5 = 4 h.
  2. Mid-fidelity total = 8 × 2 = 16 h.
  3. High-fidelity total = 8 × 6 = 48 h.
  4. With 24 hours available, you can afford up to mid-fidelity (16 h) and still have 8 hours left for revisions and test setup. Answer: Mid-fidelity clickable prototype is the highest feasible under the deadline.

Common mistakes

  • Forgetting to define users and tasks before prototyping: prototypes must be evaluated against defined tasks; otherwise test results are meaningless.
  • Over-engineering prototypes: building full backend integrations (heavy cost) when a simulated data or Wizard of Oz would be sufficient.
  • Ignoring accessibility early: prototypes should include basic accessibility checks (labels, contrast, keyboard focus order, target sizes) to avoid costly redesign later.
  • Using arbitrary numeric multipliers without stating they are illustrative: always say these numbers are models or examples.

For your exam

Question types you will see: definitions (define prototype, fidelity, wireframe), short notes (compare low vs high fidelity), diagrams (draw fidelity vs cost graph, prototype type matrix), derivations (show how early prototyping reduces cost using a multiplier model), numericals (estimate effort or cost using simple formulas above), and practical scenarios (choose prototype type given constraints and justify).

What a full-marks answer includes:

  • Clear definitions of all key terms (bold them if the paper asks you to highlight terms).
  • A labelled diagram when requested (describe exactly what you draw if you cannot draw cleanly). For example, for a fidelity vs cost graph you must label axes, sketch the curve, and mark example points.
  • Assumptions stated explicitly (tool choice, time per screen, multipliers). If using numbers, show calculations step-by-step and units (hours, ₹).
  • Trade-off reasoning: explain why you choose a fidelity (speed, feedback quality, stakeholder buy-in, cost).
  • Evaluation methods matched to fidelity: for low/mid-fidelity use heuristic evaluation or cognitive walkthrough; for mid/high-fidelity run usability tests with think-aloud and basic metrics (time on task, errors, SUS).
  • Risks and mitigation: note what the prototype will not test and how you will handle it (e.g., use Wizard of Oz for backend-dependent interactions).

Quick check

  1. Define a prototype in one sentence.
  2. Give two reasons to choose a low-fidelity prototype.
  3. If one mid-fidelity screen takes 2 hours and you need 12 screens, how many hours are required? Answers: 1) A prototype is a simplified, provisional representation of a user interface built to explore, test or communicate design ideas. 2) Low-fidelity is fast and cheap for exploring many ideas; it reduces stakeholder bias and helps early user feedback. 3) 24 hours (12 × 2 h = 24 h).

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

Stuck on something here?