Coding_1
Coding_1
OF CODING!
"Get ready to become coding superheroes! We’re going to learn how
to give instructions to computers and make fun things happen!"
WHAT IS CODING?
• "Coding is like telling a computer what to do by giving it instructions!“
• Imagine telling a robot: "Go forward, turn left."
• Coding lets us make things happen in games, apps, and robots!
CODING IS EVERYWHERE!
• "We use coding every day in things like games, phones, and even smart
TVs!“
• Games like Minecraft use coding.
• Phones, cars, and even automatic doors work because of code!
HOW COMPUTERS THINK
• "Computers follow instructions step by step, just like following a recipe!“
• If you want the computer to turn on a light, it needs to know exactly how to
do it.
• Computers only do what we tell them – no guessing!
COMMANDS IN CODING
• "A command is an instruction you give to a computer.
• "For example, "Turn on the light" is a command.
• Computers can do cool things like move, blink lights, or play sounds – but
only if you give them commands.
VARIABLES IN CODING
• "Variables are like boxes where we store information.
• "You can store things like numbers, names, or even a score from a game.
• Variable name: "Score", Variable value: 10 points.
LOOPS IN CODING
• "Loops help us repeat things over and over!“
• A loop is like pressing repeat on your favorite song.
• For example, a loop can make a light blink or a character in a game jump
many times.
CAN YOU SOLVE THE CODING
PUZZLE?
• "Let’s solve a puzzle! What command should come next?“
• Example: First step, "Turn on the light", second step, "Turn it off." What’s next?
FUN WITH LOOPS!
• "Let’s create a loop that makes something repeat!“
• Example: A loop that makes a character in a game keep jumping.
• Command:
• “Run and Jump 10 times”
DEBUGGING – FINDING MISTAKES
IN CODE
• "Debugging is when we find and fix mistakes in our code.“
• Computers sometimes don’t do what we want because we gave them the
wrong instructions.
• Debugging is like solving a mystery: What went wrong, and how can we fix
it?
CONGRATULATIONS, YOU’RE A CODER
NOW!
• "Congratulations! You’ve learned how to think like a coder.
• "Now you know how to write commands, use variables, and create loops!
• You’re ready to start creating awesome projects with code!