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.

Information architecture and sitemaps

How to organise website/app content so users find things easily: concepts, methods (card sorting, tree testing), sitemap design, and practical steps for exams.

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

Engineers design interactive systems that people use. Good information architecture and clear sitemaps make content findable, reduce user errors, shorten task time and guide the layout and development of pages and routes. In practice you use these when planning website navigation, APIs for content, mobile menus, and when writing requirements for front-end and back-end teams.

Key ideas

Start from first principles and simple definitions. I define every term before using it.

  • Information architecture (IA) — the art and science of organising, labelling and structuring content so that users can find and understand it. IA covers hierarchy, navigation, metadata, and relationships between pieces of content.
  • Sitemap — a diagram or file that shows the structure of a website or app: pages (nodes) and the links or navigation paths (edges) between them. In design, a sitemap is usually a tree or directed graph drawn top-down with the home/root at the top. In web engineering, “sitemap” can also mean the XML sitemap (sitemap.xml) submitted to search engines; it lists canonical URLs (with optional lastmod/changefreq/priority metadata) for crawling and is distinct from the IA/visual sitemap used in design.
  • Taxonomy — a structured classification system of content categories (for example, Genres > Subgenres). A taxonomy is usually hierarchical and mutually exclusive where possible.
  • Faceted classification — a system where content is described by multiple independent attributes (facets) like colour, size, price. It allows multi-parameter filtering and multiple navigation paths.
  • Content inventory — a complete list of all pages or content items on a site, usually in a spreadsheet with URL, title, content type, owner and last updated.
  • Content audit — review of content inventory to decide keep/update/delete/merge; it measures quality, relevance and gaps.
  • Card sorting — a user research method where participants group labelled cards (content items) to reveal users' mental models. There are two kinds: open card sorting (participants create their own category names) and closed card sorting (participants place cards into a predefined set of categories). Analyze results using a similarity matrix and dendrogram to propose groupings; ensure enough participants to reveal stable patterns.
  • Tree testing — an unmoderated or moderated test of a proposed IA: participants are asked to find items using the site's navigation structure (without visual design) to measure findability and path choices. Key metrics include task success rate, time to first click, time to success, path length/directness, and backtracks.
  • Labeling — the choice of words for menu items, links and headings. Good labels are short, familiar to the user, unambiguous and consistent.
  • Findability — how easily a user can locate content; it depends on IA, labels, search, and metadata (tags).
  • Wayfinding — how users move through an information space; good wayfinding uses clear hierarchy, persistent landmarks (like top navigation), and breadcrumbs.
  • Information scent — the cues (labels, snippets) that tell users whether following a link will lead to what they want. Strong scent improves efficiency.

Formal statements and derivations often asked in exams

  • Sitemap as a tree model: assume each level branches into at most b child nodes and the tree has depth d (root is level 0). The total number of nodes N in a full b-ary tree of depth d is the geometric series sum:
    • N = 1 + b + b^2 + ... + b^d.
    • Derive using geometric series: multiply both sides by b, subtract to get closed form (see Formulas section).
  • Design trade-off (qualitative): depth vs breadth. If you increase breadth (more choices at a level) you shorten depth (fewer clicks) but at cost of more options to scan per level. If you increase depth you force more clicks but fewer choices per view. Optimal balance depends on users' error rate, working memory (see Hick's law and Miller's observations in other topic), and content grouping.

What to draw in exams when asked for a sitemap diagram

  • Draw a rooted tree: a box at top labelled "Home" or "Root". From it draw downward branches to first-level pages (e.g., About, Products, Support, Contact). For each first-level node draw children boxes below and connect with straight lines. Label each box with the page name and write its depth number (Home=0, children=1, etc.). If showing a faceted structure, draw a matrix or separate facet boxes showing independent filters (Colour, Brand, Price) and arrows from product listing to each facet.

Formulas

N = 1 + b + b^2 + ... + b^d — N: total number of nodes/pages (unitless); b: branching factor (average child nodes per parent, unitless); d: depth (maximum number of links from root to leaf, integer). Applies to a full b-ary tree of depth d.

N = (b^(d+1) - 1) / (b - 1) — same symbols and units; applies when b ≠ 1. This is the closed-form of the geometric series above.

If b = 1 then N = d + 1 — linear chain of pages. Units unitless; applies when each node has exactly one child.

avg_clicks ≈ average depth of target nodes — average number of navigation clicks to reach content equals the mean level index of targets, assuming the user starts at Home (root) and follows the tree (unitless); this is an approximation that ignores decision time and is invalidated by search, shortcuts, or cross-links.

Note: these are counting formulas (dimensionless) used to reason about scale of IA. Practical navigation cost must include search, cross-links and indexing which break pure tree assumptions.

Worked examples

Example 1 — numeric count of pages for an e-commerce sitemap

Problem: Suppose you design a product category tree with branching factor b = 4 and you allow depth d = 3 (levels: Home=0, Category=1, Subcategory=2, Product list=3). How many nodes/pages in the sitemap if the tree is full?

Steps:

  1. Use the formula N = (b^(d+1) - 1) / (b - 1).
  2. Substitute b = 4 and d = 3.
  3. Compute b^(d+1) = 4^(4) = 256.
  4. Compute numerator 256 - 1 = 255.
  5. Compute denominator b - 1 = 3.
  6. N = 255 / 3 = 85.

Answer: 85 pages (unitless count). This includes Home, all category and product-list pages in a full tree.

Example 2 — model answer: produce a sitemap for a small university department website (exam-style long question)

Question: Describe the steps you would take to create an IA and a sitemap for a Computer Engineering department site and produce a simple sitemap structure.

Model answer (step-by-step):

  1. Create a content inventory: list existing pages and files (Home, Vision, Faculty profiles, Courses, Labs, Research, Notices, Contact, Admissions, Alumni, Downloads). Use a spreadsheet with columns: URL, title, owner, last updated, content type.
  2. Run a content audit: mark pages to keep, update, merge or remove. E.g., merge several old lab pages into single "Labs" section.
  3. Conduct card sorting with students and faculty (open sorting) to learn natural groupings (teaching vs research vs people vs resources). Record common labels.
  4. Decide on top-level categories using results and stakeholders: Home; About; People; Teaching; Research; Facilities; Students; News & Events; Contact.
  5. Sketch sitemap: draw Home at root (depth 0). Depth 1 nodes: About, People, Teaching, Research, Students, Facilities, News, Contact. Under People (depth 2): Faculty, Staff, PhD Students. Under Teaching (depth 2): Undergraduate, Postgraduate; under Undergraduate (depth 3): Courses, Syllabus, Timetable.
  6. Check depth vs breadth: aim to minimize steps to key tasks (apply, contact faculty, view timetable), typically keeping them within 2–3 steps where feasible while maintaining clear labels and strong information scent; add search and a persistent header to reduce navigation cost.
  7. Label review: select short familiar labels (e.g., "People" not "Human Resources and Academic Staff").
  8. Validate with tree testing and iterate.

Sitemap diagram description to draw: Home → eight first-level boxes; draw People → Faculty → individual profiles (leaves). Mark depth numbers on the right of the boxes. Explain that search and breadcrumbs are global helpers.

A full-marks answer includes content inventory evidence, card-sorting summary, final sitemap diagram with depths and one example of tree testing result and iteration.

Common mistakes

  • Making the tree too broad: offering too many choices at once overwhelms users; balance is required.
  • Using internal jargon in labels: labels should use users' words, not technical department terms.
  • Forgetting metadata and search indexing: a well-structured IA still needs tags and consistent metadata for search and faceted navigation.
  • Not testing with users: relying only on stakeholders leads to mismatch with users' mental models.
  • Treating taxonomy categories as strictly mutually exclusive when content naturally belongs to multiple categories — then prefer faceted classification.

For your exam

Question types you will see

  • Definitions and short notes: define IA, sitemap, taxonomy, card sorting, tree testing.
  • Design steps / process: list and explain content inventory, audit, card sorting, sitemap sketching, tree testing and iteration.
  • Diagram question: draw a sitemap for given content and label depths; show a faceted navigation sketch.
  • Derivation / formula: derive the geometric-series formula for node count in a full b-ary tree and explain assumptions (uniform branching; no cross-links).
  • Case study / long answer: given a content list, produce grouping and final sitemap and justify decisions (labels, depth limits, search use).

What a full-marks answer includes

  • Clear definitions of terms used.
  • A step-by-step method (inventory → audit → grouping → sitemap → test → iterate).
  • A correct diagram with root, levels and labels (depths shown) when asked.
  • If numeric, show formula derivation and correct substitution, with units (counts are unitless) and final bold answer.
  • Consideration of usability trade-offs (depth vs breadth, search, metadata) and a user-testing plan.

Quick check

  1. What is the main difference between a taxonomy and faceted classification?
  2. Name two user research methods used to validate a sitemap.
  3. If a sitemap has branching factor b = 3 and depth d = 2, how many nodes in a full tree?

Answers: 1) Taxonomy is a single hierarchical classification; faceted classification uses multiple independent attributes (facets) allowing multiple paths. 2) Card sorting and tree testing. 3) N = (3^(2+1) - 1)/(3 - 1) = (27 - 1)/2 = 13.

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

Stuck on something here?