AlgoViz

Design a parking lot

medium 90 min

Model a car park with several levels as classes: vehicles, spaces of different sizes, tickets and a replaceable price rule.

Watch lesson4:48

Check yourself

One question at a time. Each answer explains why.

Question 1 of 12

Score 0
conceptual

The business wants a new 'first 15 minutes free' rule. In a good design, what changes?

Pick an answer to see why.

Flashcards

Say your answer, then reveal it.

Card 1 of 13

Recall

Why use the Strategy pattern for parking fees?

Say your answer, then reveal it.

These cards come back in Today, just before you would forget them.