Ahh! I didn’t know that word 🤯
- Algorithms: A set of instructions
- Imagine you need to write down a set of instructions for your little brother on how to brush his teeth. For example:
- Turn the tap on
- Put the brush under the tap
- Turn off tap to save water
- Open the toothpaste
- Put toothpaste onto brush
- Close toothpaste
- Brush teeth for three minutes
- Wash toothbrush under the tap
- Sequence: The order of your actions
- When getting ready for bed, you do things in a certain order, right? Like brushing your teeth before getting into bed. Computers also need to follow steps in the right order when they're running our code!
- Events: Something which causes something else to happen
- Think of events as triggers for a surprise! Like when you open a pop-up book, and a character jumps out. In coding, an event could be clicking a button that makes something exciting happen.
- Loops: Making something repeat
- Do you like singing the same song or playing the same game again and again? That's like a loop in coding. It tells the computer to do something over and over.
- Conditionals: A result based on an outcome
- Imagine you're getting dressed. If it's cold, you put on a sweater. If it's hot, you wear a T-shirt. That's what conditionals are in coding - making a choice based on what's happening.
- Debugging: Fixing problems
- Let's say you're building a tower of blocks, and it keeps falling over. You'd try to find out why and fix it, right? That's what debugging in coding is - finding mistakes and fixing them.
- Problem Solving: Finding a solution to a challenge
- Just like when you're figuring out how to build the tallest block tower or finish a tricky puzzle, problem-solving in coding is about finding solutions to challenges.
- Creativity: Using your imagination
- This is just like drawing, coloring, or creating your own make-believe games. In coding, you get to create your own fun projects and games too! It's all about using your imagination.