Conditional Statements
Functions & Coding Skills
Talking About AI
Talking About Open Source
Karel's World
100

I'd use this type of loop to stir the mixing bowl exactly 50 times.

A FOR Loop

100

This Karel command makes our fluffy friend pick up a tennis ball.

takeBall();

100

The abbreviated term for AI systems that learn from data.

ML (Machine Learning)

100

The actual code that programmers write and can read.

Source Code

100

At the beginning, Karel's first function taught him how to:

turnRight();

200

A WHILE loop will repeat its code until:

The condition becomes false

200

You can use //  or /* */ to tell the computer to ignore everything after or in-between.

Comment

200

ChatGPT and Claude are examples of this type of AI, which is trained on massive amounts of text.

Large Language Model (LLM)

200

Linux and Firefox are examples of this type of software where anyone can see and modify the code.

Open-Source Software

200

This Karel condition checks if there's a wall directly in front of Karel.

frontIsBlocked(); OR frontIsClear();

300

This is the partner of an IF statement that runs when the condition is NOT true.

An ELSE Clause

300

A small, reusable piece of code that performs one specific task.

Function

300

When an AI confidently makes up fake information that sounds believable, it's doing this.

Hallucination

300

Microsoft Windows, Adobe Photoshop and NBA 2k25 are examples of this type of software that companies keep private.

Proprietary Software

300

Fill in the blank to help Karel to move up the tower:

turnLeft();

putBall();

move();

_______________

move();

putBall();

move();

turnRight();

putBall();

400

How many times will this loop repeat?

function runFar() {

    for (var i = 1; i > 10; i++) {

        turnLeft();

    }

}

Never!

400

The process of breaking a big programming project into smaller, easier-to-manage pieces.

Top-Down Decomposition

400

This type of attack tries to trick the AI backend by adding sneaky instructions in the user's message.

Prompt Injection

400

These people help improve open-source projects by fixing bugs, adding features, or writing guides.

Contributors

400

If you want Karel to collect every ball along a path of unknown length, you'd use this type of loop with ballsPresent().

WHILE

500

This is what programmers call true/false expressions.

Condition

500

The term to describe a project's ability to easily grow or shrink with changing demands and complexity.

Scalability

500

An advanced AI might improve itself using this technique, where incorrect behavior is punished and correct behavior rewarded.

Reinforcement Learning

500

This legal document tells you what you're allowed to do with a piece of software - MIT, GPL, and Apache are common types.

License

500

This is the programming concept you're practicing when you create helper functions like turnRight() and turnAround() for Karel.

Abstraction (i.e. Top-Down Decomposition)
M
e
n
u