Tech Fair Links
The Ozobots we have are called Evo.
The Science of Ozobots using optical sensors on the bottom and motion sensor on the front and back. This allows Evo to sense color and an object in front of it and behind it. The earlier model was called Bit and only followed color could not connect to an IOS device to be controlled.
Ozobots use optical color sensors to follow color patterns.
Brainpop movie on robots https://www.brainpop.com/technology/computerscience/robots/
Let’s Make the Google doodle dance
1st select a song ( don’t take too much time doing this)
2nd. Choose the Play sound button
Now Copy this code to all the letters. All the sprites dance to the music.
Our day .
Remember you are responsible for what you do no one else.
810 820 practice math sheet
8;30 to 10:20 . Explorers of North America
10:20 to 10:50 Student Council meeting
Lunch ( you have to earn playing outside)
12:30 Coding and Scratch and Circuits
1:20 Choice time
Watch the Brainpop movie On Electricity https://www.brainpop.com/science/energy/electricity/
What is electricity/ Blog here what you have learned.
Conditions (conditional expressions) are the second of three basic flow control structures in programming. Like sequence, conditions influence a computer program’s decision-making process.
Also known as “if, then” logic statements, conditions enable a computer program to act differently each time it is executed; depending on if an input is evaluated to be either true or false.
In a programming language, conditions are classic “if, then” logic statements and possess both a hypothesis and conclusion.
If I have the proper ingredients for my sandwich…
…then I can get a knife.
If I do not spread the peanut butter …
…then I cannot make my sandwich.
Conditional statements are important to any computer program because they enable programmers to develop more dynamic programs. What makes computer programs so great is that they can interact with the user. Without conditions, this type of interaction would be impossible.
Can you see conditionals on this page below?
In order to prepare our peanut butter and jelly sandwich, we had to evaluate whether or not the necessary conditions were met as we went through
our algorithm. If any of these conditions were evaluated to be false, then our peanut butter and jelly sandwich could not be made.
The exact same principles apply when using conditions in computer programming:
A classic example of a simple condition is a password. A password secures your computer and all of your personal information. When a user enters a password, the program needs to evaluate this input, and check whether or not the password entered matches the correct one saved for the user.
If the user input matches the password stored in the database…
…then the user can access their profile and personal information.
A rule is a set of guidelines in a programming language that instruct a computer program what operations to execute or perform. For example, the rule in a password program is to never let users access secured and private data.
Conditions modify programs and are rule breakers, or exceptions, to the rule.
For example, we would create a condition for a password program that would enable specific users to access their secured information.
If a user input matches the password stored in the database…
…then the user can access their secured profile/information.