SlideShare une entreprise Scribd logo
1  sur  50
This block is a :
display loop
move sound
switch wait
motor
This block is used to create conditional
statements:
IF I had got this right
THEN I would have gone to the next
question

This block is used to create loops.
Loops are used to repeat instructions. They
make programs shorter and more readable.
This block is a :
display loop
move sound
switch wait
motor

The touch sensor is triggered by touch! It has to
run into things, remember!
A touch sensor is triggered by:
a) A detection of G-forces by its accelerometer
b) Ultrasound signals being sent and received
c) The closing of a circuit when a cross-beam
is lifted
d) The simple press of a button

These are called axles. You measure an axle by
counting the LEGO bumps on a Technics beam
What are these LEGO parts called?
a) Bricks
b) Pegs
c) Axles
d) Bushings

Read the possible answers carefully. How many
of them are true?
Think about your answer.
What is the function of a loop?
a) It makes a program shorter
b) It allows you to repeat statements
c) It saves on typing
d) All of the above

‘My Files’ is highlighted, so all you need to do is
press the orange button!
Which button would you use to open ‘My Files’?
a)Left arrow
b) Right arrow
c) Either left or right arrow
d) Gray Button
e) Orange button

It’s a threshold.
A threshold divides the readings into two
categories.
In a light sensor, these are light and dark.
For a sound sensor, these are loud and soft.
Susie is writing a line follow program.
She measure the light sensor reading on the
black line, and the reading on the white
background. She finds the average of these
values. This is called :
a) An interface c) A work envelope
b) A threshold d) An inverse

Remember that it turned LEFT from position A
to get to position B.
Suppose this robot turned to its left to reach
position B. What fraction of a full turn did it
make to get from A to B?
a) One full turn
b) Three quarters of a turn
c) Half a turn
d) A quarter of a turn

Remember that one rotation is one
circumference.
Remember that circumference is
Pi times = diameter
http://commons.wikimedia.org/wiki/File:Circle_diameter_circumference.svg
One full turn of the robot’s wheel will move the
robot:
a) One rotation
b) One circumference’s distance
c) Pi times diameter
d) All of (a) through (c)
e) None of (a) through (c)

Are you sure? Take a look at some programs
you have written.
Predict what the robot will do when this
program is run:
a) The robot will move forward, then stop after the
last motor block
b) The robot will not move, because the gear blocks
are not put in order
c) The robot will not move because there is not Wait
block between commands

Think about when you were standing with your
feet on either side of the line.
If you were following the left side of the
line, you would turn right when you saw white
on your left.
If you were following the right side of the
line, you would turn left when you saw white on
your left.
When running the Line Follow program, your
program is exactly the same no matter whether
you are tracking the left or the right side of the
black line.
True
False

Remember, you add the two readings and
divide by two!
You are finding the average, or mean.
When you calibrate the light sensor, the dark
reading is 30 and the light reading is 50. What
will your threshold be?
a) 80
b) 40
c) 30
d) 20

Below the threshold will be a darker value!
If your threshold is 45, would a reading of 53
be counted as dark or light?
Dark
Light

The robot will go fastest if it has a bigger gear
on the driving gear (on the motor) and a smaller
gear on the driven gear (on the wheel)
Katrina has a box of 8-tooth gears and a box of 16-tooth
gears in her workshop. What combination of these gears on
motor and wheel will make the fastest-moving robot on a
flat, clear surface with nothing being pushed?
a) The 16-tooth gears should go on the motors and drive 16-
tooth gears on the wheels.
b) The 16-tooth gears should go on the motors and drive 8-tooth
gears on the wheels.
c) The 8-tooth gears should go on the motors and drive 8-tooth
gears on the wheels.
d) The 8-tooth gears should go on the motors and drive 16-tooth
gears on the wheels.

Gear ratio is calculated as
Driven gear / driving gear
Or driven gear : driving gear
How do you calculate the gear ratio?
a) Driving gear / Driven gear
b) Driven gear / Driving Gear
c) A ratio of the gear teeth to the motor power
d) Driving gear teeth / number of gears

Because everything is clear glass, a light sensor
won’t work well. The touch sensor would
probably break half the store. Glass does not
make a noise. So the best sensor would be the
ultrasonic sensor.
Fancy Fragile is a store that sells
expensive, breakable glassware. Everything in the
store is made of clear glass, including the walls and
shelves. The owner of Fancy Fragile wants Ann to
develop a robot to help keep the store clean and
count the items on the shelves. Which sensor would
be your best choice?
a) Light
b) Touch
c) Ultrasonic
d) Sound

Make sure that you have turned in your
annotated program for the challenge, then you
may play on CoolMath

Contenu connexe

Similaire à LEGO WeDo 2.0 coding challenges

Rotation Sensors My Version
Rotation Sensors My VersionRotation Sensors My Version
Rotation Sensors My VersionAnna Donskoy
 
Line maze solver robot
Line maze solver robot Line maze solver robot
Line maze solver robot saiharsha41
 
6. introduction to digital electronics
6. introduction to digital electronics6. introduction to digital electronics
6. introduction to digital electronicsSajjad Mehmood
 
How to make your first robot report
How to make your first robot reportHow to make your first robot report
How to make your first robot reportRamki M
 
Computer science 3rd Term Notes
Computer science 3rd Term NotesComputer science 3rd Term Notes
Computer science 3rd Term NotesJohnBernard46
 
this pdf very much useful for embedded c programming students
this pdf very much useful for embedded c programming studentsthis pdf very much useful for embedded c programming students
this pdf very much useful for embedded c programming studentspavan81088
 
Robots one day presentation
Robots one day presentationRobots one day presentation
Robots one day presentationGanesh Murugan
 
Interview questions slide deck
Interview questions slide deckInterview questions slide deck
Interview questions slide deckMikeBegley
 
How to create a robot that moves differently depending on how close you are.
How to create a robot that moves differently depending on how close you are.How to create a robot that moves differently depending on how close you are.
How to create a robot that moves differently depending on how close you are.Neil Winterburn
 
Line Following Robot Presentation
Line Following Robot PresentationLine Following Robot Presentation
Line Following Robot PresentationOli ullah
 

Similaire à LEGO WeDo 2.0 coding challenges (20)

Rotation Sensors My Version
Rotation Sensors My VersionRotation Sensors My Version
Rotation Sensors My Version
 
Sphero Write Up
Sphero Write UpSphero Write Up
Sphero Write Up
 
Line maze solver robot
Line maze solver robot Line maze solver robot
Line maze solver robot
 
Path Following Robot
Path Following RobotPath Following Robot
Path Following Robot
 
Robasics
RobasicsRobasics
Robasics
 
6. introduction to digital electronics
6. introduction to digital electronics6. introduction to digital electronics
6. introduction to digital electronics
 
ACM init() Day 3
ACM init() Day 3ACM init() Day 3
ACM init() Day 3
 
Robotics Portfolio
Robotics PortfolioRobotics Portfolio
Robotics Portfolio
 
Práctica 1 a 7 m bot ingles
Práctica 1 a 7 m bot inglesPráctica 1 a 7 m bot ingles
Práctica 1 a 7 m bot ingles
 
How to make your first robot report
How to make your first robot reportHow to make your first robot report
How to make your first robot report
 
Computer science 3rd Term Notes
Computer science 3rd Term NotesComputer science 3rd Term Notes
Computer science 3rd Term Notes
 
Follower
FollowerFollower
Follower
 
Follower
FollowerFollower
Follower
 
this pdf very much useful for embedded c programming students
this pdf very much useful for embedded c programming studentsthis pdf very much useful for embedded c programming students
this pdf very much useful for embedded c programming students
 
Robots one day presentation
Robots one day presentationRobots one day presentation
Robots one day presentation
 
Hexapod Presentation
Hexapod PresentationHexapod Presentation
Hexapod Presentation
 
Interview questions slide deck
Interview questions slide deckInterview questions slide deck
Interview questions slide deck
 
How to create a robot that moves differently depending on how close you are.
How to create a robot that moves differently depending on how close you are.How to create a robot that moves differently depending on how close you are.
How to create a robot that moves differently depending on how close you are.
 
Line Following Robot Presentation
Line Following Robot PresentationLine Following Robot Presentation
Line Following Robot Presentation
 
3.9
3.93.9
3.9
 

LEGO WeDo 2.0 coding challenges

  • 1.
  • 2. This block is a : display loop move sound switch wait motor
  • 3. This block is used to create conditional statements: IF I had got this right THEN I would have gone to the next question
  • 4.
  • 5. This block is used to create loops. Loops are used to repeat instructions. They make programs shorter and more readable.
  • 6. This block is a : display loop move sound switch wait motor
  • 7.
  • 8. The touch sensor is triggered by touch! It has to run into things, remember!
  • 9. A touch sensor is triggered by: a) A detection of G-forces by its accelerometer b) Ultrasound signals being sent and received c) The closing of a circuit when a cross-beam is lifted d) The simple press of a button
  • 10.
  • 11. These are called axles. You measure an axle by counting the LEGO bumps on a Technics beam
  • 12. What are these LEGO parts called? a) Bricks b) Pegs c) Axles d) Bushings
  • 13.
  • 14. Read the possible answers carefully. How many of them are true? Think about your answer.
  • 15. What is the function of a loop? a) It makes a program shorter b) It allows you to repeat statements c) It saves on typing d) All of the above
  • 16.
  • 17. ‘My Files’ is highlighted, so all you need to do is press the orange button!
  • 18. Which button would you use to open ‘My Files’? a)Left arrow b) Right arrow c) Either left or right arrow d) Gray Button e) Orange button
  • 19.
  • 20. It’s a threshold. A threshold divides the readings into two categories. In a light sensor, these are light and dark. For a sound sensor, these are loud and soft.
  • 21. Susie is writing a line follow program. She measure the light sensor reading on the black line, and the reading on the white background. She finds the average of these values. This is called : a) An interface c) A work envelope b) A threshold d) An inverse
  • 22.
  • 23. Remember that it turned LEFT from position A to get to position B.
  • 24. Suppose this robot turned to its left to reach position B. What fraction of a full turn did it make to get from A to B? a) One full turn b) Three quarters of a turn c) Half a turn d) A quarter of a turn
  • 25.
  • 26. Remember that one rotation is one circumference. Remember that circumference is Pi times = diameter http://commons.wikimedia.org/wiki/File:Circle_diameter_circumference.svg
  • 27. One full turn of the robot’s wheel will move the robot: a) One rotation b) One circumference’s distance c) Pi times diameter d) All of (a) through (c) e) None of (a) through (c)
  • 28.
  • 29. Are you sure? Take a look at some programs you have written.
  • 30. Predict what the robot will do when this program is run: a) The robot will move forward, then stop after the last motor block b) The robot will not move, because the gear blocks are not put in order c) The robot will not move because there is not Wait block between commands
  • 31.
  • 32. Think about when you were standing with your feet on either side of the line. If you were following the left side of the line, you would turn right when you saw white on your left. If you were following the right side of the line, you would turn left when you saw white on your left.
  • 33. When running the Line Follow program, your program is exactly the same no matter whether you are tracking the left or the right side of the black line. True False
  • 34.
  • 35. Remember, you add the two readings and divide by two! You are finding the average, or mean.
  • 36. When you calibrate the light sensor, the dark reading is 30 and the light reading is 50. What will your threshold be? a) 80 b) 40 c) 30 d) 20
  • 37.
  • 38. Below the threshold will be a darker value!
  • 39. If your threshold is 45, would a reading of 53 be counted as dark or light? Dark Light
  • 40.
  • 41. The robot will go fastest if it has a bigger gear on the driving gear (on the motor) and a smaller gear on the driven gear (on the wheel)
  • 42. Katrina has a box of 8-tooth gears and a box of 16-tooth gears in her workshop. What combination of these gears on motor and wheel will make the fastest-moving robot on a flat, clear surface with nothing being pushed? a) The 16-tooth gears should go on the motors and drive 16- tooth gears on the wheels. b) The 16-tooth gears should go on the motors and drive 8-tooth gears on the wheels. c) The 8-tooth gears should go on the motors and drive 8-tooth gears on the wheels. d) The 8-tooth gears should go on the motors and drive 16-tooth gears on the wheels.
  • 43.
  • 44. Gear ratio is calculated as Driven gear / driving gear Or driven gear : driving gear
  • 45. How do you calculate the gear ratio? a) Driving gear / Driven gear b) Driven gear / Driving Gear c) A ratio of the gear teeth to the motor power d) Driving gear teeth / number of gears
  • 46.
  • 47. Because everything is clear glass, a light sensor won’t work well. The touch sensor would probably break half the store. Glass does not make a noise. So the best sensor would be the ultrasonic sensor.
  • 48. Fancy Fragile is a store that sells expensive, breakable glassware. Everything in the store is made of clear glass, including the walls and shelves. The owner of Fancy Fragile wants Ann to develop a robot to help keep the store clean and count the items on the shelves. Which sensor would be your best choice? a) Light b) Touch c) Ultrasonic d) Sound
  • 49.
  • 50. Make sure that you have turned in your annotated program for the challenge, then you may play on CoolMath