What Is a Computer Program?
Students explore the logic behind programmingCopyright (left) http://www.legoengineering.com/wp-content/uploads/2013/12/Screen-Shot-2013-12-18-at-9.23.49-AM.png; (right) 2004 Microsoft Corporation, One Microsoft Way, Redmond, WA 98052-6399 USA. All rights reserved.
http://office.microsoft.com/en-us/images/results.aspx?qu=computer&ex=1#ai:MP900448599|
This unit is composed of four lesson/activity pairs designed to introduce students to programming skills using LEGO MINDSTORMS EV3 robots by having them learn and develop programs to control taskbot movements. The unit is the third in a series and follows Humans Are Like Robots (unit 1) and Our Bodies Have Computers and Sensors (unit 2).
Students first gain an understanding of algorithms. Then they are introduced to programming via quick programming using the LEGO intelligent brick (computer). Then they move on to program with move blocks using the LEGO software on a computer. Next, they learn about conditional commands and how to program using sound and touch sensors rather than by specifying exact durations. Eventually, they program LEGO robots using combinations of move blocks, wait blocks, loops and switches. In the final activity, students use Android phones with Bluetooth wireless connections to remotely guide their LEGO robots through a maze.
To help convey the concepts, students occasionally act out maze demos. Students also learn about electrical connections, both wired and wireless, and their pervasiveness in our world. They follow the Morse code rules in order translate a few phrases into Morse code while learning that it is a communication method that takes advantage of on/off states to transmit messages by electrical bursts.
Through assorted programming challenges, students become familiar with the steps of the engineering design process, especially gaining experience with iteration in order to achieve successful programs. While performing fun activities with the EV3 robots, students may not realize that they have learned computer programming in the process. The activities open students' eyes to how similar logic programs are incorporated into the many everyday devices we use.
Throughout this unit, each group of (2-4) students requires all or portions of the following items:
- LEGO MINDSTORMS EV3 robot, such as EV3 Core Set (5003400) at https://education.lego.com/en-us/products/lego-mindstorms-education-ev3-core-set/5003400#lego-mindstorms-education-ev3
- LEGO MINDSTORMS Education EV3 Software 1.2.1, free online, you have to register a LEGO account first; at https://www.lego.com/en-us/mindstorms/downloads/download-software
- computer, loaded with EV3 1.2.1 software
Specific and/or additional required materials are indicated in the individual lessons and activities.
Note: This activity can also be conducted with the older (and no longer sold) LEGO MINDSTORMS NXT set instead of EV3; see below for those supplies:
- LEGO MINDSTORMS NXT Base Set
- computer loaded with the NXT 2.1 software
We interact with computers and their programs in uncountable ways during our everyday lives. Engineers in all fields use and design computer programs to perform calculations, run simulations, program machines and much more. When you turn on any computer, a program called the "operating system" runs and lets you access the various computer and software features. The computers, tablets and phones that students use contain all sorts of programs and "apps," and it is important for them to understand that people have created them. As computers are increasingly used to tackle all types of problems, learning how to program becomes an essential skill for most engineers—and everyone!
CCSS.Math.Content.5.NBT.B.5 Fluently multiply multi-digit whole numbers using the standard algorithm.
Grade 5
Do you agree with this alignment?CCSS.Math.Practice.MP1 Make sense of problems and persevere in solving them.
Grades K-12
Do you agree with this alignment?
New products and systems can be developed to solve problems or to help do things that could not be done without the help of technology.
Grades 6-8
Do you agree with this alignment?Various relationships exist between technology and other fields of study.
Grades 3-5
Do you agree with this alignment?The design process is a purposeful method of planning practical solutions to problems.
Grades 3-5
Do you agree with this alignment?Test and evaluate the solutions for the design problem.
Grades 3-5
Do you agree with this alignment?Specify criteria and constraints for the design.
Grades 6-8
Do you agree with this alignment?The processing of information through the use of technology can be used to help humans make decisions and solve problems.
Grades 3-5
Do you agree with this alignment?
CCSS.Math.Content.5.NBT.B.5 Fluently multiply multi-digit whole numbers using the standard algorithm.
Grade 5
Do you agree with this alignment?CCSS.Math.Practice.MP1 Make sense of problems and persevere in solving them.
Grades K-12
Do you agree with this alignment?
Describe how new technologies have helped scientists make better observations and measurements for investigations (e.g., telescopes, electronic balances, electronic microscopes, x-ray technology, computers, ultrasounds, computer probes such as thermometers)
Grade 5
Do you agree with this alignment?
3-5-ETS1-2 Generate and compare multiple possible solutions to a problem based on how well each is likely to meet the criteria and constraints of the problem.
Grades 3-5
This resource focuses on the following Three Dimensional Learning aspects of NGSS:
Science & Engineering Practices- Generate and compare multiple solutions to a problem based on how well they meet the criteria and constraints of the design problem.Do you agree with this alignment?
Disciplinary Core Ideas- Research on a problem should be carried out before beginning to design a solution. Testing a solution involves investigating how well it performs under a range of likely conditions.Do you agree with this alignment?
- At whatever stage, communicating with peers about proposed solutions is an important part of the design process, and shared ideas can lead to improved designs.Do you agree with this alignment?
Crosscutting Concepts- Engineers improve existing technologies or develop new ones to increase their benefits, to decrease known risks, and to meet societal demands.Do you agree with this alignment?
Do you agree with this alignment?- Generate and compare multiple solutions to a problem based on how well they meet the criteria and constraints of the design problem.
3-5-ETS1-3 Plan and carry out fair tests in which variables are controlled and failure points are considered to identify aspects of a model or prototype that can be improved.
Grades 3-5
This resource focuses on the following Three Dimensional Learning aspects of NGSS:
Science & Engineering Practices- Plan and conduct an investigation collaboratively to produce data to serve as the basis for evidence, using fair tests in which variables are controlled and the number of trials considered.Do you agree with this alignment?
Disciplinary Core Ideas- Tests are often designed to identify failure points or difficulties, which suggest the elements of the design that need to be improved.Do you agree with this alignment?
- Different solutions need to be tested in order to determine which of them best solves the problem, given the criteria and the constraints.Do you agree with this alignment?
Do you agree with this alignment?- Plan and conduct an investigation collaboratively to produce data to serve as the basis for evidence, using fair tests in which variables are controlled and the number of trials considered.
MS-ETS1-2 Evaluate competing design solutions using a systematic process to determine how well they meet the criteria and constraints of the problem.
Grades 6-8
This resource focuses on the following Three Dimensional Learning aspects of NGSS:
Science & Engineering Practices- Evaluate competing design solutions based on jointly developed and agreed-upon design criteria.Do you agree with this alignment?
Disciplinary Core Ideas- There are systematic processes for evaluating solutions with respect to how well they meet the criteria and constraints of a problem.Do you agree with this alignment?
Do you agree with this alignment?- Evaluate competing design solutions based on jointly developed and agreed-upon design criteria.
MS-ETS1-3 Analyze data from tests to determine similarities and differences among several design solutions to identify the best characteristics of each that can be combined into a new solution to better meet the criteria for success.
Grades 6-8
This resource focuses on the following Three Dimensional Learning aspects of NGSS:
Science & Engineering Practices- Analyze and interpret data to determine similarities and differences in findings.Do you agree with this alignment?
Disciplinary Core Ideas- There are systematic processes for evaluating solutions with respect to how well they meet the criteria and constraints of a problem.Do you agree with this alignment?
- Sometimes parts of different solutions can be combined to create a solution that is better than any of its predecessors.Do you agree with this alignment?
- Although one design may not perform the best across all tests, identifying the characteristics of the design that performed the best in each test can provide useful information for the redesign process—that is, some of the characteristics may be incorporated into the new design.Do you agree with this alignment?
Do you agree with this alignment?- Analyze and interpret data to determine similarities and differences in findings.
Each lesson and activity is designed to take one or two 50-minute session, for a total of eleven 50-minute sessions for the unit. The suggested order to conduct the lesson/activity sets is shown below:
- Lesson 1: What Is a Program? --> Activity 1: Navigating a Maze
- Lesson 2: How Do You Make a Program Wait? --> Activity 2: Wait Program!
- Lesson 3: How Do You Make Loops and Switches? --> Activity 3: Using Waits, Loops and Switches
- Lesson 4: What Is Bluetooth? --> Activity 4: Remote Control Using Bluetooth
Contributors
Riaz Helfer; Sachin Nair; Pranit Samarth; Satish S. Nair
Supporting Program
GK-12 Program, Computational Neurobiology Center, College of Engineering, University of Missouri
Acknowledgements
This curriculum was developed under National Science Foundation GK-12 grant no. DGE 0440524. However, these contents do not necessarily represent the policies of the National Science Foundation, and you should not assume endorsement by the federal government.
Copyright
2014 by Regents of the University of Colorado; original © 2013 Curators of the University of Missouri
