Enrichment · STEM Explorations

A test case, a hint,
and fifteen minutes.

Choose a level and the kinds of problems your club likes: puzzles and algorithms, games, text and data, or numbers. Every challenge works in any language and comes with a test case so members know when they are right, a hint for when they are stuck and a twist for when they finish.

Deal a set of coding challenges

The worked example is made up: a starter set for new members and a stretch night. Saved on this device only.

Loading the set maker. If nothing appears, turn on JavaScript.

What you get

Enrichment · STEM ExplorationsOpen to everyone

What you finish with
A set of 3, 6 or 9 programming challenges, each with a checked test case, a hint and a twist, with a plan-then-code timer, solved and starred challenges, and notes.
Who it is for
Coding club members and leaders, computer science teachers, homeschool families and anyone practicing a programming language.
Format
Browser challenge generator with saved sets and a timer. Prints the challenges to cut out or as a list; presents one at a time; downloads a spreadsheet (.csv); exports and imports a file.
Access
Open to everyone · no sign-in. Everything you type stays in this browser; nothing is sent to Caveat.
Where it lives
The STEM Explorations space in Caveat Enrichment.
Support
Questions about access, an order or a correction: team@caveatacademic.com.

How to use it

  1. Choose a level and, if you like, the kinds of problems.
  2. Swap any challenge the group has already done.
  3. Present it, read the test case aloud and start the timer: plan first, then code.
  4. Check every solution against the test case before marking it solved.
  5. Give finishers the twist; star the challenges to revisit.

Get challenges

How programmers practice

Solve it like a programmer1Read the test caseKnow the right answer beforeyou write a line2Plan on paperSteps in plain words, thenpseudocode3Code a little, run a lotRun after every few lines4Test the edgesEmpty input, one item, a hugenumber5Explain itIf you can explain it, youunderstand itSolve it like a programmer1Read the test caseKnow the right answer before you write aline2Plan on paperSteps in plain words, then pseudocode3Code a little, run a lotRun after every few lines4Test the edgesEmpty input, one item, a huge number5Explain itIf you can explain it, you understand it
Drawn for this page. The plan-then-code timer on the tool covers steps 2 and 3.

Any language

The challenges describe what to build, not how to write it in one language, so the same card works in Python, JavaScript, Java, Scratch or anything else your club uses.

Pair up

Two people at one keyboard, swapping who types, catch mistakes earlier and explain more. Studies of pair programming in classes have found students produce better code and are more likely to stick with it.

Transfer is real but modest

A large analysis of studies found that learning to program helps with some other thinking skills, such as reasoning and problem solving, though less than it helps with coding itself.

Sources

  1. Scherer, R., Siddiq, F., & Sánchez Viveros, B. (2019). The cognitive benefits of learning computer programming: A meta-analysis of transfer effects. Journal of Educational Psychology, 111(5), 764 to 792.
  2. McDowell, C., Werner, L., Bullock, H. E., & Fernald, J. (2006). Pair programming improves student retention, confidence, and program quality. Communications of the ACM, 49(8), 90 to 95.
  3. CSTA K-12 Computer Science Standards (2017), Algorithms and Programming (csteachers.org).
  4. Every test case on the cards was checked by running a reference solution (Collatz steps for 27, primes, change-making, run-length encoding, Fibonacci, FizzBuzz).

Challenges were written for this page; the example sets are made up. Nothing you type is sent to Caveat. Support: team@caveatacademic.com.

Written with AI, then checked before it is published. How we checkFound a mistake? Report it and we fix it, or refund you.Cancel anytime.