In the first of two sequential lessons, students create mobile apps that …
In the first of two sequential lessons, students create mobile apps that collect data from an Android device's accelerometer and then store that data to a database. This lesson provides practice with MIT's App Inventor software and culminates with students writing their own apps for measuring acceleration. In the second lesson, students are given an app for an Android device, which measures acceleration. They investigate acceleration by collecting acceleration vs. time data using the accelerometer of a sliding Android device. Then they use the data to create velocity vs. time graphs and approximate the maximum velocity of the device.
Students learn more about assistive devices, specifically biomedical engineering applied to computer …
Students learn more about assistive devices, specifically biomedical engineering applied to computer engineering concepts, with an engineering challenge to create an automatic floor cleaner computer program. Following the steps of the design process, they design computer programs and test them by programming a simulated robot vacuum cleaner (a LEGO® robot) to move in designated patterns. Successful programs meet all the design requirements.
In a series of lessons, students will build a functional app. The …
In a series of lessons, students will build a functional app. The students will build upon the previous lesson using the materials and information given towards completion of the app. In this lesson, students will learn about building an app in four stages: 1. Planning 2. Designing 3. Building (Code.Org) 4. Sharing.
This lesson attempts to walk students through the iterative development process of …
This lesson attempts to walk students through the iterative development process of building an app (basically) from scratch that involves the use of `if` statements. Following an imaginary conversation between two characters - Alexis and Michael - students follow the problem solving and program design decisions they make for each step of constructing the app. Along the way they decide when and how to break things down into functions, and of course discuss the logic necessary to make a simple game.
The last step - writing code that executes an end-of-game condition - students must do on their own. How they decide to use `if` statements to end the game will require some creativity. The suggested condition - first to score 10 points - is subtly tricky and can be written many different ways.
At the conclusion of the lesson there are three practice Create PT-style questions as well as resources explaining the connection between this lesson and the actual Create PT. Depending on how you use these materials they can easily add an additional day to this lesson.
At its core, the LEGO MINDSTORMS(TM) NXT product provides a programmable microprocessor. …
At its core, the LEGO MINDSTORMS(TM) NXT product provides a programmable microprocessor. Students use the NXT processor to simulate an experiment involving thousands of uniformly random points placed within a unit square. Using the underlying geometry of the experimental model, as well as the geometric definition of the constant π (pi), students form an empirical ratio of areas to estimate a numerical value of π. Although typically used for numerical integration of irregular shapes, in this activity, students use a Monte Carlo simulation to estimate a common but rather complex analytical form the numerical value of the most famous irrational number, π.
The SchoolWide Lab middle school curriculum units are anchored in phenomena, aligned …
The SchoolWide Lab middle school curriculum units are anchored in phenomena, aligned to the Next Generation Science Standards(NGSS) and purposefully integrate Computational Thinking (CT). To date, four units have been developed by a team of researchers from the University of Colorado Boulder in collaboration with middle school teachers from Denver Public Schools. The teachers also piloted the units and have taken part in the revision process.
Students gain a deeper understanding of how sound sensors work through a …
Students gain a deeper understanding of how sound sensors work through a hands-on design challenge involving LEGO MINDSTORMS(TM) NXT taskbots and sound sensors. Student groups each program a robot computer to use to the sound of hand claps to control the robot's movement. They learn programming skills and logic design in parallel. They experience how robots can take sensor input and use it to make decisions to move and turn, similar to the human sense of hearing. A PowerPoint® presentation and pre/post quizzes are provided.
Students put their STEAM knowledge and skills to the test by creating …
Students put their STEAM knowledge and skills to the test by creating indoor light fixture “clouds” that mimic current weather conditions or provide other colorful lighting schemes they program and control with smartphones. Groups fabricate the clouds from paper lanterns and pillow stuffing, adding LEDs to enable the simulation of different lighting conditions. They code the controls and connect the clouds to smart devices and the Internet cloud to bring their floating clouds to life as they change color based on the weather outside.
Testing is critical to any design, whether the creation of new software …
Testing is critical to any design, whether the creation of new software or a bridge across a wide river. Despite risking the quality of the design, the testing stage is often hurried in order to get products to market. In this lesson, students focus on the testing phase of the software/systems design process. They start by exploring existing examples of program testing using the CodingBat website, which contains a series of problems and challenges that students solve using the Java programming language. Working in teams, students practice writing test cases for other groups' code, and then write test cases for a program before writing the program itself.
Students' understanding of how robotic ultrasonic sensors work is reinforced in a …
Students' understanding of how robotic ultrasonic sensors work is reinforced in a design challenge involving LEGO MINDSTORMS(TM) NXT robots and ultrasonic sensors. Student groups program their robots to move freely without bumping into obstacles (toy LEGO people). They practice and learn programming skills and logic design in parallel. They see how robots take input from ultrasonic sensors and use it to make decisions to move, resulting in behavior similar to the human sense of sight but through the use of sound sensors, more like echolocation. Students design-test-redesign-retest to achieve successful programs. A PowerPoint® presentation and pre/post quizzes are provided.
Using the LEGO® NXT robotics kit, students construct and program robots to …
Using the LEGO® NXT robotics kit, students construct and program robots to illustrate and explore the Fibonacci sequence. Within teams, students are assigned roles: group leader, chassis builder, arm builder, chief programmer, and Fibonacci verifier. By designing a robot that moves based on the Fibonacci sequence of numbers, they can better visualize how quickly the numbers in the sequence grow. To program the robot to move according to these numbers, students break down the sequence into simple algebraic equations so that the computer can understand the Fibonacci sequence.
Students' understanding of how robotic light sensors work is reinforced in a …
Students' understanding of how robotic light sensors work is reinforced in a design challenge involving LEGO MINDSTORMS(TM) NXT robots and light sensors. Working in pairs, students program LEGO robots to follow a flashlight as its light beam moves around. Students practice and learn programming skills and logic design in parallel. They see how robots take input from light sensors and use it to make decisions to move, similar to the human sense of sight. Students also see how they perform the steps of the engineering design process in the course of designing and testing to achieve a successful program. A PowerPoint® presentation and pre/post quizzes are provided.
This lesson focuses on the biggest problem faced by any young programmer …
This lesson focuses on the biggest problem faced by any young programmer - i.e. the LOGIC BUILDING required while solving a particular problem. With programming, the solution to a particular problem lies in the head, but one is unable to convert it into a computer program. This is because the thought processes of a human are much faster than the sense of observation. If this thought process could be slowed down, logic to solve a programming problem could be found very easily. This lesson focuses on converting this psychological thought process in a step-by -step logic fashion that a computer program can understand. This lesson is recorded in a kitchen where the basic programming concepts are taught by giving examples from the process of making a mango milk shake. This lesson teaches the 4 following techniques: 1) Swapping two variables by swapping a glass of milk with a glass of crushed ice; 2) Finding max from an array by finding the biggest mango; 3) Sorting an array by arranging the jars; and 4) Understanding the concept of a function, parameters and return type by comparing it with the blender/juicer. The lesson targets those students who know the syntax of programming in any language (C or GWBASIC preferred), but are unable to build the logic for a program. It can be taught in a class of 45 to 50 minutes.
This lesson is also available in Mandarin Chinese.
Students use a hurricane tracking map to measure the distance from a …
Students use a hurricane tracking map to measure the distance from a specific latitude and longitude location of the eye of a hurricane to a city. Then they use the map's scale factor to convert the distance to miles. They also apply the distance formula by creating an x-y coordinate plane on the map. Students are challenged to analyze what data might be used by computer science engineers to write code that generates hurricane tracking models. Then students analyze a MATLAB® computer code that uses the distance formula repetitively to generate a table of data that tracks a hurricane at specific time intervals. Students come to realize that using a computer program to generate the calculations (instead of by hand) is very advantageous for a dynamic situation like tracking storm movements. Their inspection of some MATLAB code helps them understand how it communicates what to do using mathematical formulas, logical instructions and repeated tasks. They also conclude that the example program is too simplistic to really be a useful tool; useful computer model tools must necessarily be much more complex.
Students learn how to program using loops and switches. They see how …
Students learn how to program using loops and switches. They see how loops enable us to easily and efficiently tell a computer to keep repeating an operation. They also see that switches permit programs to follow different instructions based on whether or not preconditions are fulfilled. Using the LEGO MINDSTORMS(TM) NXT robots, sensors and software, student pairs perform three mini programming activities using loops and switches individually, and then combined. With practice, they incorporate these tools into their programming skill sets in preparation for the associated activity. A PowerPoint® presentation, pre/post quizzes and worksheet are provided.
Building on the programming basics learned so far in the unit, students …
Building on the programming basics learned so far in the unit, students next learn how to program using sensors rather than by specifying exact durations. They start with an examination of algorithms and move to an understanding of conditional commands (until, then), which require the use of wait blocks. Working with the LEGO MINDSTORMS(TM) NXT robots and software, they learn about wait blocks and how to use them in conjunction with move blocks set with unlimited duration. To help with comprehension and prepare them for the associated activity programming challenges, volunteer students act out a maze demo and student groups conclude by programming LEGO robots to navigate a simple maze using wait block programming. A PowerPoint® presentation, a worksheet and pre/post quizzes are provided.
Students learn about how sound sensors work, reinforcing their similarities to the …
Students learn about how sound sensors work, reinforcing their similarities to the human sense of hearing. They look at the hearing process sound waves converted to electrical signals sent to the brain through human ear anatomy as well as sound sensors. A mini-activity, which uses LEGO MINDSTORMS(TM) NXT intelligent bricks and sound sensors gives students a chance to experiment with the sound sensors in preparation for the associated activity involving the sound sensors and taskbots. A PowerPoint® presentation explains stimulus-to-response pathways, sensor fundamentals, the unit of decibels, and details about the LEGO sound sensor, including how readings are displayed and its three modes of programming sound input. Students take pre/post quizzes and watch a short online video. This lesson and its associated activity enable students to appreciate how robots can take sensor input and use it to make decisions to via programming.
Students learn about how touch sensors work, while reinforcing their similarities to …
Students learn about how touch sensors work, while reinforcing their similarities to the human sense of touch. They look at human senses and their electronic imitators, with special focus on the nervous system, skin and touch sensors. A PowerPoint® presentation explains stimulus-to-response pathways, how touch sensors are made and work, and then gives students a chance to handle and get familiar with the LEGO touch sensor, including programming LEGO MINDSTORMS(TM) NXT robots to use touch sensor input to play music. Students take pre/post quizzes and watch a short online video. The mini-activities prepare students for the associated activity. This lesson and its associated activity enables students to appreciate how robots can take input from sensors, and use that to make decisions to move.
Students learn about how ultrasonic sensors work, reinforcing the connection between this …
Students learn about how ultrasonic sensors work, reinforcing the connection between this sensor and how humans, bats and dolphins estimate distance. They learn the echolocation process sound waves transmitted, bounced back and received, with the time difference used to calculate the distance of objects. Two mini-activities, which use LEGO MINDSTORMS(TM) NXT robots and ultrasonic sensors, give students a chance to experiment with ultrasonic sensors in preparation for the associated activity. A PowerPoint® presentation explains stimulus-to-response pathways, sensor fundamentals, and details about the LEGO ultrasonic sensor. Pre/post quizzes are provided. This lesson and its associated activity enable students to gain a deeper understanding of how robots can take sensor input and use it to make decisions via programming.
What apps do you use, how often do you use them, and …
What apps do you use, how often do you use them, and why? This resource was created as a criterion for a professional development activity where the author created an app using the Code.org platform. The app focus is on the Red Tailed Boa as an invasive species in the U.S. Virgin Islands. That app can be viewed here or via the following link link: https://studio.code.org/projects/applab/ffbcpEOiEX-f0qZevO31O3sIQ-RxEQBG8esxHkfVbIs. Feel free to modify and/or use this lesson resource as a foundation for profesional development and growth and/or as an instructional within your classrooms. It can be used by instructors to introduce students to the exciting world of app development, specifically the development of apps using the app lab on Code.org. The lesson was designed to target students at the 9th - 12th grade levels for a duration of 5 to 8 hours, split into multiple session if needed. The duration can and should be adapted based on the needs of the students. Thank you for your interest. Have fun!
No restrictions on your remixing, redistributing, or making derivative works. Give credit to the author, as required.
Your remixing, redistributing, or making derivatives works comes with some restrictions, including how it is shared.
Your redistributing comes with some restrictions. Do not remix or make derivative works.
Most restrictive license type. Prohibits most uses, sharing, and any changes.
Copyrighted materials, available under Fair Use and the TEACH Act for US-based educators, or other custom arrangements. Go to the resource provider to see their individual restrictions.