Reviewers9 14

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Lessons 9 – 14 Comparation comes from the Latin word comparation which

means "a putting together." Today, the word comparison is


Lesson 9: Programming Blocks: Sequence, Sound and more often used than comparation.
Lights, Loop

mBlock Blockly – is a graphical programming software


designed for use in mobile devices. Lesson 13: Numbers and Variables
Code – the option that allows you to practice graphical
programming by following a series of coding instructions. Variable - is a number, characteristic or quantity that changes
over time.
Three basic logic structure (or building blocks) you must
understand: Two types of Variables:

a. Sequence – This means that the robot follows a step-by- 1. Independent Variable - can take values and do not change
step procedure or a process during the whole set up but it can cause change in another
b. Selection or decision – the robot performs an action based variable.
on commands/ conditions 2. Dependent Variable - it depends on the change that happen
c. Loop – this means that the robot executes a code repeatedly. in independent variable.

Example:
Lesson 10: Ultrasonic and Following 1. The larger the flame, the hotter the temperature.
Ultrasonic Sensor – it serves as the eye of the robot 2. Fertilizer affects plants’ growth.
- measures distance using soundwaves. The 3. The more trash there is, the dirtier the water.
transmitter gives off soundwaves. The soundwaves then INDEPENDENT DEPENDENT
bounce back and is received by the receiver. Flame Temperature
- This is used to sense obstacles or objects in front of Fertilizer Plants
Trash Water
the robot.

Line Following Sensor - gives the robot the ability to detect


Lesson 14: Obstacle Avoidance
black or white lines (on the floor or pathway).
Obstacles – an object which makes a moving object difficult to
- Allows the robot to identify an object by means of
move where it want to want to go. It hinders the movement of
light reflected by infrared sensors.
an object because it is blocking its way.
- Used to sense things on the robot’s pathway.

Lesson 11: Condition

Condition statements – conditional blocks or conditional


expressions that are features of programming language.

- This block performs operations or series of actions


that denotes true or false. Most of the time it is
considered as an “if- check” that identifies the next
step as irrelevant or to be followed.
- conditionals "are expressions that evaluate to either
true or false. They are mostly used to determine
program flow through if statements and while loops."
- Used to construct HYPOTHESIS. The hypothesis
can be made before a test, thus making a condition
can predict what will happen to the experiment.

Lesson 12: Comparation and Lightness

You might also like