Bug Session Three. Session description In this session, pupils will discover how the Bug software makes drawing shapes easier (this is based on the use.

Slides:



Advertisements
Similar presentations
Sprite-visual object (actor on the stage) Scripts- Tells actors (sprites) what to do.
Advertisements

Digital Blue Cameras Inset Tuesday 3 rd June 2008.
Bug Session One. Session description In this session, pupils are introduced to a programming sequence which will make a light pattern on their Bug. Objectives.
Basics of Computer Programming Web Design Section 8-1.
Programming – Touch Sensors Intro to Robotics. The Limit Switch When designing robotic arms there is always the chance the arm will move too far up or.
Bug Session Two. Session description In this session the use of algorithms is reinforced to help pupils plan out what they will need to program on their.
INTRODUCTION TO SCRATCH. About Me Resources Scratch Website Learn Scratch Washington-Lee Computer.
Sequencing Miss Regan. Blood Hound  Does anyone know what the Bloodhound project is?  Video 1 Video 1  Video 2 Video 2  Link to website Link to website.
Bug Session Three. Session description In this session, pupils will discover how the Bug software makes drawing shapes easier (this is based on the use.
Loops and Switches. 1. What kind of blocks are these? 2. Name two kinds of controls that can be specified to determine how long a loop repeats. 3. Give.
Bug Session One. Session description In this session, pupils are introduced to a programming sequence which will make a light pattern on their Bug. Objectives.
Tell the robot exactly how to draw a square on the board.
1. Know the different types of flow block 2. Understand how problems can be broken down into smaller problems.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Programming 101 The Common Palette Content provided by Connor Statham (6 th Grade Student) Formatting by Shannon Sieber.
Introduction to Robo Pro
 Make sure you are subscribed to announcements on Moodle.  Activity 4 will be due 48hrs after your lab ends.
Bug Session Four. Session description Objectives Session activities summary Resources Prior knowledge of sequencing instructions using Bug Bug website.
Programming for Beginners Martin Nelson Elizabeth FitzGerald Lecture 5: Software Design & Testing; Revision Session.
Psychology AS– An Introduction Memory. Welcome The purpose of this session is to: 1)Introduce Psychology at BHASVIC 2) Introduce the first topic you will.
Scratch Programming Lesson 4 Question asking and answering.
Scratch Programming Lesson 5 Programming logic. We are going to learn… Initialize the variables SET VS CHANGE Operator (Part II) Use a variable as a counter.
Variables. Todays Lesson  In todays lesson you are going to:  Learn to use variables  Learn to ask for user input  Learn to save the users response.
Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks.
Rotate each shape as described in the diagram. What letter do you get?
SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
Mindstorm NXT-G Introduction Towson University Robotics.
Objective of the lesson Use Blockly to make a dice for Snakes and Ladders All of you will: – Make an image which displays when you press a button Most.
11 Making Decisions in a Program Session 2.3. Session Overview  Introduce the idea of an algorithm  Show how a program can make logical decisions based.
An Introduction to VEX IQ Programming with Modkit
Basics of Computer Programming
Basics of Computer Programming
Basics of Computer Programming
Using a Stack Chapter 6 introduces the stack data type.
Programming – Touch Sensors
BBC Microbit.
Loops and Switches Pre-Quiz
Using a Stack Chapter 6 introduces the stack data type.
Objective of the lesson
Global Challenge Flashing Wheels Lesson 2.
Global Challenge Love Heart Lesson 2.
Global Challenge Love Heart Lesson 2.
Global Challenge Love Heart Lesson 2.
Global Challenge Flashing Wheels Lesson 2.
Global Challenge Love Heart Lesson 2.
Global Challenge Love Heart Lesson 2.
Using a Stack Chapter 6 introduces the stack data type.
Global Challenge Love Heart Lesson 2.
Using a Stack Chapter 6 introduces the stack data type.
Global Challenge Love Heart Lesson 2.
Rotations.
Global Challenge Love Heart Lesson 2.
Global Challenge Love Heart Lesson 2.
Revisions pour le français!
Global Challenge Flashing Wheels Lesson 2.
An Introduction to VEX IQ Programming with Modkit
Global Challenge Flashing Wheels Lesson 2.
Global Challenge Flashing Wheels Lesson 2.
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Global Challenge Flashing Wheels Lesson 2.
Global Challenge Flashing Wheels Lesson 2.
Rotations.
Global Challenge Flashing Wheels Lesson 2.
Global Challenge Flashing Wheels Lesson 2.
Global Challenge Flashing Wheels Lesson 2.
Rotations.
Global Challenge Love Heart Lesson 2.
Objective of the lesson
Presentation transcript:

Bug Session Three

Session description In this session, pupils will discover how the Bug software makes drawing shapes easier (this is based on the use of variables to draw lines that they used in session two). They will be introduced to the idea of selection by using 'if' … 'then' … 'else' programming blocks. They will use this to help them play a ‘Battle Bug’ game. Objectives The students will: Revise the use of repeat loops Use an algorithm to plan a sequence which includes choice of actions Use 'if' programming blocks Use different methods to control the display of LEDs Session activities summary Use images to create letters and shapes (and consider how the images are programmed to appear) Use repeat loops to make images flash on and off Use A and B sensors to display Y and N as yes and no in ‘Battle Bug’ game Resources Bug website Bug software Battle Bug worksheets Bug Bug cables Bug: Session Three 1

Activities In session 2 we saw how we could use a variable to create lines on our Bug. The Bug software uses this to help you easily create images which can save you a lot of time programming each LED. Show pupils the ‘make image’ block in the Images menu. Show them how it fits in the 'show image’ block. Time 5 minutes 2 Show them how it fits in the ‘show image’ block.

Challenge: Create a flashing image program What is your algorithm for a flashing image? Which programming blocks will you use to keep your image flashing on and off? 10 minutes Bug: Session Three 1.Turn on LEDs in the image 2.Turn off the LEDs 3.Keep repeating this Pupils may need guidance to change from the image with coordinates ticked to the empty image.

Bug: Session Three 3 You have told your image how many times to keep flashing. We can keep it flashing ‘forever’ minutes

Bug: Session Three 4 What happens if you use the drop down arrow next to 'true' to change it to 'false'? The Bug will stop flashing. (This can be downloaded to your Bug to have a flashing badge.) Play ‘Bug Battle’ If pupils did not get a chance to do this in Session minutes

Bug: Session Three Rather than tell your partner out loud whether they have lit up your LEDs, you are going to get your Bug to tell them. From Logic menu From Input menu From If menu The Bug will need to keep checking whether you have pressed A or B so we will need to use the ‘repeat while true’ blocks. 10 minutes 5 Top tip: Use concrete examples of if... do...else to help establish understanding e.g. use instructions for crossing a road. When your partner is correct, your Bug will show a 'Y'. When they are incorrect, your Bug will show an 'N'. We will use your Bug’s ears (A and B) to tell it to show a 'Y' or an 'N'. What will the algorithm be? Ask pupils to record this on a white board or piece of paper. If I press 'A' light up a 'Y' If I press 'B' light up an 'N' How does your Bug know whether an LED should be lit up or not? It has a '1' for ON and a '0' for OFF.

Bug: Session Three You will need to tell it what to do if you press B. 6

Bug: Session Three 6 Download to your Bug Play ‘Bug Battle’ Using your Bug to tell your friend whether their guesses and correct or incorrect. Did you know? There is a Bitesize KS3 guide called: Selection in Programming minutes 10 minutes