CSE Roadmap

Core tier · about 3 hours · 9 parts

Part 9 of 9 · 3 min read

Exercises

Easy

Easy 1: Sort the qualities (15 minutes)

Sort into operational, structural or cross-cutting: availability, maintainability, privacy, performance, portability, authentication, recoverability, localization.

Done when: eight qualities in three groups.

Hint

Operational is felt while running. Structural is felt by developers. Cross-cutting touches everything.

Easy 2: Scalability or elasticity? (15 minutes)

Decide which quality matters most for each: (a) a payroll system used by the same 500 staff every month, (b) a food delivery app during a football match, (c) a university results page on result day, (d) a library catalogue.

Done when: four answers with one reason each.

Hint

Steady growth is scalability. A sudden spike that fades is elasticity.

Easy 3: Translate the wish (20 minutes)

Write the qualities behind each business wish: (a) "the firm must beat the competition to the market", (b) "the firm is expanding to five countries", (c) "customers' health data is involved", (d) "not a single order may be lost".

Done when: four lines, each with two or more qualities.

Hint

Start with "what would go wrong if this fails?".

Medium

Medium 1: Pick the top three (25 minutes)

Pick the top three driving qualities for each: a video call app for schools, an airline booking site, a smart-home door lock. Give a reason for each choice, and one quality you gave less weight.

Done when: nine qualities with reasons, and three lower-weight qualities named.

Hint

Ask what the worst thing that could happen is, then pick qualities that stop it.

Medium 2: Trade-off table (30 minutes)

A shop can store images inside its database or on a separate file store. Build a table comparing the two on at least five qualities. Choose one for a shop with 500 products, and one for a shop with 5 million.

Done when: a table with five or more rows, and two choices with reasons.

Hint

Think of backups, speed, cost, ease of change and scale.

Medium 3: Measure it (25 minutes)

Write a measurable statement for each: availability, performance, recoverability, maintainability, elasticity. Include a number and a unit.

Done when: five measurable sentences, each with a number and a unit.

Hint

Use the pattern "N out of 100 under X milliseconds" or "up N percent of the year".

Hard

Hard 1: Qualities of your daily app (40 minutes)

Pick an app you use daily. List at least ten qualities and mark the three it must have. Explain what the designers likely gave up.

Done when: ten qualities, three marked, and two stated sacrifices with reasons. Mark guesses as guesses.

Hint

Look for signs of qualities: fast sign-in, sync across devices, offline mode.

Hard 2: A conflict between qualities (40 minutes)

A bank wants fast response, the strongest security and the lowest cost. Show where these conflict, using at least three specific design choices (for example, extra checks on each request). Propose a least worst design and say what the bank gives up.

Done when: three conflicts described, a chosen design, and a stated sacrifice.

Hint

Extra security checks add time. Extra copies add cost.

Hard 3: Write a fitness function plan (40 minutes)

For a news site, write five automatic checks that guard five qualities: speed, availability, security, maintainability and cost. For each, give the number that fails the check, when it runs and who is told.

Done when: five checks, each with a threshold, a schedule and an owner.

Hint

A good check has a number that fails, runs automatically and tells a named person.