Intermediate checkpoint

Complete the questions and the coding check, then submit. The result is stored in your LMS progress cookie (this browser).

Part A — concepts (6 questions)

1. def is used to…
2. A dictionary stores…
3. Filtering a list usually produces…
4. Linear search worst-case cost grows…
5. JSON-like telemetry is typically…
6. A test compares…

Part B — Double helper

Write double(n) that returns n * 2. Print double(21) so 42 appears. Use Check exercise, then confirm below.

Python sandboxlesson://workspace
console

Edit the example, press Run, then Build if you want a compile check.

build

Press Build to compile.