codeexercise

noun
UK /ˈkəʊd ˌeksəsaɪz/
US /ˈkoʊd ˌeksərsaɪz/

A code exercise is a small practice task where you write computer code to solve a problem.

The teacher gave us a code exercise to practice making loops.


OTHER MEANINGS

2. A test in a coding class that checks if you can write a program correctly.

I finished the code exercise in ten minutes and got full marks.

3. A workout for your brain where you solve puzzles using code.

Solving a code exercise every morning keeps my mind sharp.

4. A short piece of code written to show how something works.

The tutorial includes a code exercise that prints hello world.