P5 - Final Term To Review
P5 - Final Term To Review
P5
Spreadsheet
Spreadsheet
Spreadsheet software
• A spreadsheet is used to store information and make
calculations. It is a grid of rows and columns.
• Move your cursor to the bottom edge of the row, below the
number. The cursor changes from an arrow to an icon like this
• Click and drag the cursor symbol to the row height you want.
Two types of data in a spreadsheet
1. Values are numbers. They are on the right side of the cell.
2. Labels are texts. They show what the values mean. They are on
the left side of the cell.
Multiple sheets
How to use cell reference from another sheet
Challenges:
1. What are the benefits of using a spreadsheet?
Microsoft Makecode
Microsoft Makecode Interface
Micro:bit Connected to the Computer to download the program
What is Arduino?
• Arduino is similar to Micro:bit so it can be programmed to
take input, process the information and produce output to
interact with the real world.
71
What is a Syntax Error?
• A syntax error happens when the computer doesn't understand
the code because of typing something incorrectly.
74
Repetition or Iteration
• Repetition in coding gives the computer the command to
repeat a specific task or set of instructions a certain number of
times or until a particular condition is met.
Forever loop
Conditional Statements
• A conditional statement in coding helps the robot or computer
to make a decision.
• It allows them to do different things based on whether a
certain condition is true or false.
➔ If the logical test is true, the computer does one thing.
➔ If the logical test is false, the computer does nothing or
another thing.
Conditional in a Flowchart
• If I’m hungry, then I’ll eat cookies, else I’ll drink water.
• If it rains, then stay home, else go outside.
• If you feel sleepy, then sleep, else read books.
• If I have 500$, then I’ll buy clothes, else I’ll buy snacks.
• If you have homework, then do it, else watch movie.
Variables
• In coding, variables are considered as a placeholder for a value
that can be manipulated.
https://www.tinkercad.com/
Turning on/of LED
Turning on/of LED with slideswitch
Traffic Light in Tinkercad