Navigating a Maze. Navigating a Maze Pre-Quiz 2 1. What is the difference between a program and an algorithm? 2. About how many inches does an NXT move.

Slides:



Advertisements
Similar presentations
What is Engineering?.
Advertisements


How Do You Make a Program Wait?. 1. What is an algorithm? 2. Can you think of a reason why it might be inconvenient to program your robot to always go.
6-1 Chapter Goals Determine whether a problem is suitable for a computer solution Describe the computer problem-solving process and relate it to Polya’s.
Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Robot Soccer Challenge
A CTIVITY M OVEMENT TASK USING SENSORS - HUMANS AND ROBOTS (75 MINUTES ) 1.
Remote Control Using Bluetooth. 1. Give two examples of electrical connections. 2. What is the difference between wired and wireless connections? 3. What.
How Does a Light Sensor Work?. 1. How do humans sense light? 2. Provide an example “stimulus-sensor- coordinator-effector-response” framework using the.
Control Using Sound. 1. What is sound? 2. How does the LEGO sound sensor sense sound? 2 Control Using Sound Pre-Quiz.
Robotics Enrichment class Mr. Bosworth. Goals of Class Learn how to build a basic robot that performs various functions Learn how to program robot to.
Don’t Bump into Me!. 1. How do bats sense distance? 2. Describe how bats sense distance in a “stimulus-sensor-coordinator-effector- response” framework.
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.
CSCI-100 Introduction to Computing Algorithms Part I.
Tell the robot exactly how to draw a square on the board.
Music by Touch. 1. Provide an example “stimulus-sensor- coordinator-effector-response” framework for both your (human) sense of touch and the robotic.
Abstraction IS 101Y/CMSC 101 Computational Thinking and Design Tuesday, September 17, 2013 Carolyn Seaman University of Maryland, Baltimore County.
What Is a Program?. What Is a Program? Pre-Quiz 1. What is a program? 2. What is an algorithm? Give an example. 2.
Do Now, on loose leaf paper, silently 10 mins:  Convert x 10 ^ 2 from scientific notation  Convert to scientific notation  Convert.
Introduction to Programming. What is a Program  Set of Instructions that tells the computer what to Do.  Driving force behind the computer  Without.
Maze Challenge Maze Challenge activity > TeachEngineering.org
Wait Program! WAIT please!. 1. Why is it often better to use conditional commands rather than program a robot to move exact distances? 2. What is the.
Digit Sums of the factors of a number An Investigation.
Master Driver. Master Driver Activity Your Engineering Challenge Make your robot move in a straight line from the start position, and make it stop accurately,
Using Waits, Loops and Switches WAIT please!. Waits, Loops and Switches Pre-Quiz 1. In programming, what is a loop? When is a loop useful? 2. How can.
Computer Software Kit. Vocabulary Computer – A device designed to compute and follow a program, which is a sequence of automatic instructions. End user.
Procedural Text A mini-lesson brought to you by Sheon.
Castor Bot. Now, we will begin creating a robot Log onto your computer On your screen, click on the website labeled “castor bot” Your building instructions.
Title Slide Progress Report Name. Goal Goal Statement – ex. design/create/fabricate … - should be clear and short Needs/Problems – clear and short Space.
Inches, Hands and feet Instructional Guide. Learning Goals You will: Demonstrate an understanding of basic design concepts as they relate to measurement.
Science 801 Robotics The Final Project. Task Your team will create a robot that will complete a number of challenges as it moves through a series of tasks.
1 Structured Programming Arab Academy for Science and Technology CC112 Dr. Sherif Mohamed Tawfik The Course.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
How Do You Make a Program Wait?
AP CSP: Creating Functions & Top-Down Design
ICS 3UI - Introduction to Computer Science
A mini-lesson brought to you by Sheon
Understanding Communication with a Robot? Activity (60 minutes)
Designing Like an Engineer!
Sumobot Challenge Sumobot Challenge Activity > TeachEngineering.org
Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Creativity in Algorithms
UNIT 3 – LESSON 5 Creating Functions.
What Is a Program? What Is a Program? lesson > TeachEngineering.org
The Need for Algorithms 2 days
Navigating a Maze.
Sumobot Challenge Sumobot Challenge Activity > TeachEngineering.org
What Is Engineering? What Is Design?
What Is Engineering? What Is Design?
A mini-lesson brought to you by Sheon
Programming.
Creativity in Algorithms
The Engineering Design Process
Introduction to Algorithms
Sumobot Challenge Sumobot Challenge Activity > TeachEngineering.org
What Is Engineering? What Is Design?
Navigating a Maze.
An Introduction to VEX IQ Programming with Modkit
Maze Challenge Maze Challenge activity > TeachEngineering.org
What Is Engineering? What Is Design?
Flowcharting & Algorithms
Non-Fiction Text Structure
Lecture 21 Logistics Last lecture Today HW7 due Wednesday
ICT Gaming Lesson 2.
Vocabulary Algorithm - A precise sequence of instructions for processes that can be executed by a computer Low level programming language: A programming.
Using Waits, Loops and Switches
Procedural Text 5.13 A – Interpret details from a procedural text to complete a task, solve a problem, or perform procedures.
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
1.2 The Engineer Design Process
Presentation transcript:

Navigating a Maze

Navigating a Maze Pre-Quiz 2 1. What is the difference between a program and an algorithm? 2. About how many inches does an NXT move in one motor rotation? 3. How many rotations do you need for a 90 o turn?

3 1. What is the difference between a program and an algorithm? A program is a sequence of instructions written to direct a computer to perform a task. It is specific to the computer. On the other hand, an algorithm is a clear and specific procedure for solving a problem in a finite number of steps, and it is general to any task. For example, the “addition algorithm” is a procedure for how to add together any two numbers. 2. About how many inches does an NXT move in one motor rotation? An NXT taskbot moves about 7 inches in one rotation. 2. How many rotations do you need for a 90 o turn? A 90o turn is about 0.5 rotations with the steering pointer pulled all the way in one direction. Navigating a Maze Pre-Quiz Answers

Do This: Program the robot to complete the maze (on the right using only the rotation sensor. 4 start end 3 ft 1.5 ft 2 ft 3 ft 45 o Activity: Navigating a Maze ))

(As we saw in the previous lesson) a program is a sequence of logical instructions written to direct a computer to perform a task. Developing such instructions involves careful thinking! So, we are creating something that does not exist. In engineering, such a process is called “design.” In this case, we are “designing” a program to do a particular task. The engineering design process involves certain well-defined steps. What do you think is the first step? The first step is to come up with what you want the computer program to do! Define the problem. Understand the need. Once you know what you want the program to do, we need a method to do it. Let’s look more closely at the engineering design cycle, which tells us how. 5 How Do You Develop a Computer Program?

6 For engineers, the design process is a series of steps that helps teams frame and solve complex problems. Anyone can do it! To figure out how to build something, engineering teams gather information and conduct research to understand the needs and challenges to be addressed.  So, in a design cycle, the steps are done in this sequence but often repeated because it may not work, or you want to improve the design! More details on the next slide.  Engineering Design Cycle: How Engineers Design

7

Your Design Challenge: Program the robot to complete the maze on the right  using only the rotation sensor. Things to keep in mind: If 1 rotation ≈ 7 inches, how many rotations are needed to make the robot go 3 ft? 1.5 ft? 2 ft? If 0.5 rotations is the duration for a 90 o turn, what duration is needed for a 135 o turn? 8 Activity: Navigating a Maze start end 3 ft 1.5 ft 2 ft 3 ft 45 o

Programming Activity Answer Note: Keep in mind that the values for durations shown in the solution are approximate and may need to be adjusted for each robot

Programming Activity Answer

Navigating a Maze Post-Quiz What is the difference between a program and an algorithm? 2. About how many inches does an NXT move in one motor rotation? 3. How many rotations do you need for a 90 o turn?

12 1. What is the difference between a program and an algorithm? A program is a sequence of instructions written to direct a computer to perform a task. It is specific to the computer. On the other hand, an algorithm is a clear and specific procedure for solving a problem in a finite number of steps, and it is general to any task. For example, the “addition algorithm” is a procedure for how to add together any two numbers. 2. About how many inches does an NXT move in one motor rotation? An NXT taskbot moves about 7 inches in one rotation. 2. How many rotations do you need for a 90 o turn? A 90o turn is about 0.5 rotations with the steering pointer pulled all the way in one direction. Navigating a Maze Post-Quiz Answers

13 algorithm: A clear and specific procedure for solving a problem in a finite number of steps. brainstorming: Thinking of ideas as a group. engineering: Creating new solutions and new things. engineering design process: A series of steps used by engineering teams to guide them as they develop new solutions and new things. iteration: Doing something again, especially with the intent to make improvements. program: A sequence of instructions written to direct a computer to perform a task. Vocabulary

Slide 1: Maze lost sign; source: Lake County, FL: Slide 4: standing on maze graphic; source: Maine State Library: Slide 6: engineering design process 6 steps diagram and text; source: eGFI: k12.org/design-process/ and NASA k12.org/design-process/ Slide 7: improve/iterate EDP steps detail; source: Museum of Science, Boston: Diagrams and screen captures by author 14 Images Sources