Updating search results...

Search Resources

86 Results

View
Selected filters:
  • programming
Physical Computing Using Arduinos: Making an LED Blink and Fade
Read the Fine Print
Educational Use
Rating
0.0 stars

Students download the software needed to create Arduino programs and make sure their Arduino microcontrollers work correctly. Then, they connect an LED to the Arduino and type up and upload programs to the Arduino board to 1) make the LED blink on and off and 2) make the LED fade (brighten and then dim). Throughout, students reflect on what they've accomplished by answering questions and modifying the original programs and circuits in order to achieve new outcomes. A design challenge gives students a chance to demonstrate their understanding of actuators and Arduinos; they design a functioning system using an Arduino, at least three actuators and either a buzzer or toy motor. For their designs, students sketch, create and turn in a user's manual for the system (text description, commented program, detailed hardware diagram). Numerous worksheets and handouts are provided.

Subject:
Career and Technical Education
Computer Science
Technology and Engineering
Material Type:
Activity/Lab
Provider:
TeachEngineering
Provider Set:
TeachEngineering NGSS Aligned Resources
Author:
Michael Zitolo, Lisa Ali
SMARTER RET Program,
Date Added:
10/14/2015
Program Analysis Using App Inventor
Read the Fine Print
Educational Use
Rating
0.0 stars

In computer science, program analysis is used to determine the behavior of computer programs. Flow charts are an important tool for understanding how programs work by tracing control flow. Control flow is a graphical representation of the logic present in the program. In this lesson, students learn about, design and create flow charts for different scenarios, including a game based on the Battleship® created by Hasbro©. In the associated activity, Flow Charting App Inventor, students apply their knowledge from this lesson and gain experience with a software application called App Inventor. This lesson and its associated activity can be stand-alone or used as a launching point for the Android Acceleration Application unit or any lesson involving App Inventor.

Subject:
Career and Technical Education
Computer Science
Technology and Engineering
Material Type:
Lesson Plan
Provider:
TeachEngineering
Provider Set:
TeachEngineering
Author:
IMPART RET Program, College of Information Science & Technology,
Rich Powers, Brian Sandall
TeachEngineering.org
Date Added:
09/18/2014
Programming Languages
Unrestricted Use
CC BY
Rating
0.0 stars

This course covers the entire family of programming languages, starting with an introduction to programming languages in general and a discussion of the features and functionality that make up a modern programming language. Upon successful completion of this course, the student will be able to: identify the common concepts used to create programming languages; compare and contrast factors and commands that affect the programming state illustrate how execution ordering affects programming; identify the basic objects and constructs in Object-Oriented Programming; explain the characteristics of pure functional functions in functional programming; describe the structures and components utilized in logical programming. (Computer Science 404)

Subject:
Computer Science
Material Type:
Assessment
Lecture
Lecture Notes
Reading
Syllabus
Textbook
Provider:
The Saylor Foundation
Date Added:
10/10/2017
Programming Languages: Application and Interpretation
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Unlike some other textbooks, this one does not follow a top-down narrative. Rather it has the flow of a conversation, with backtracking. We will often build up programs incrementally, just as a pair of programmers would. We will include mistakes, not because I don’t know the answer, but because this is the best way for you to learn. Including mistakes makes it impossible for you to read passively: you must instead engage with the material, because you can never be sure of the veracity of what you’re reading.

The main programming language used in this book is Racket. Like with all operating systems, however, Racket actually supports a host of programming languages, so you must tell Racket which language you’re programming in.

This textbook has been used in classes at: Brown University, Cal Poly, Columbus State University, Northeastern University, NYU, Reed College, UC-San Diego, UC-Santa Cruz, University of Rhode Island, University of Utah, Westmont College, Williams College, and Worcester Polytechnic Institute.

Subject:
Computer Science
Material Type:
Textbook
Provider:
Brown University
Author:
Shriram Krishnamurthi
Date Added:
10/10/2017
Putting It All Together: Peripheral Vision
Read the Fine Print
Educational Use
Rating
0.0 stars

In this culminating activity of the unit, students bring together everything they've learned in order to write the code to solve the Grand Challenge. The code solution takes two images captured by robots and combines them to create an image that can be focused at different distances, similar to the way that humans can focus either near or far. They write in a derivative of C++ called QT; all code is listed in this activity.

Subject:
Career and Technical Education
Computer Science
Technology and Engineering
Material Type:
Activity/Lab
Provider:
TeachEngineering
Provider Set:
TeachEngineering NGSS Aligned Resources
Author:
Anna Goncharova
Mark Gonyea
Rachelle Klinger
VU Bioengineering RET Program,
Date Added:
09/18/2014
Python Calculus
Read the Fine Print
Educational Use
Rating
0.0 stars

Students analyze a cartoon of a Rube Goldberg machine and a Python programming language script to practice engineering analysis. In both cases, they study the examples to determine how the different systems operate and the function of each component. This exercise in juxtaposition enables students to see the parallels between a more traditional mechanical engineering design and computer programming. Students also gain practice in analyzing two very different systems to fully understand how they work, similar to how engineers analyze systems and determine how they function and how changes to the system might affect the system.

Subject:
Career and Technical Education
Education
Mathematics
Technology and Engineering
Trigonometry
Material Type:
Lesson Plan
Provider:
TeachEngineering
Provider Set:
TeachEngineering
Author:
IMPART RET Program, College of Information Science & Technology,
Scott Burns, Brian Sandall
TeachEngineering.org
Date Added:
09/18/2014
Python Script Analysis
Read the Fine Print
Educational Use
Rating
0.0 stars

Working in small groups, students complete and run functioning Python codes. They begin by determining the missing commands in a sample piece of Python code that doubles all the elements of a given input and sums the resulting values. Then students modify more advanced Python code, which numerically computes the slope of a tangent line by finding the slopes of progressively closer secant lines; to this code they add explanatory comments to describe the function of each line of code. This requires students to understand the logic employed in the Python code. Finally, students make modifications to the code in order to find the slopes of tangents to a variety of functions.

Subject:
Career and Technical Education
Education
Mathematics
Technology and Engineering
Trigonometry
Material Type:
Activity/Lab
Provider:
TeachEngineering
Provider Set:
TeachEngineering
Author:
IMPART RET Program, College of Information Science & Technology,
Scott Burns, Brian Sandall
TeachEngineering.org
Date Added:
09/18/2014
RGB Color Mixing
Read the Fine Print
Educational Use
Rating
0.0 stars

Students write Arduino code and use a “digital sandbox” to create new colors out of the three programming primary colors: green, red and blue. They develop their own functions, use them to make disco light shows, and vary the pattern and colors of their shows. The digital sandbox is a hardware and software learning platform powered by a microcontroller that can interact with real-world inputs like light, while at the same time controlling LEDs and other outputs.

Subject:
Career and Technical Education
Material Type:
Activity/Lab
Provider:
TeachEngineering
Date Added:
10/13/2017
Real-World Lesson: Designing a Video Game
Only Sharing Permitted
CC BY-NC-ND
Rating
0.0 stars

Using continual feedback and a problem solving process, high school computer programming students design educational video games for a class of fifth grade students. Their programming teacher, Ben Chun, leads students through a process that begins with interviewing the students and involves constant feedback and revision to ultimately create a video game that is both fun and educational. Striving to model a real world situation as closely as possible, Mr. Chun requires students to interview both students and the teacher regarding learning objectives and standards, interests and video games they are already playing to create a design that is personalized and appropriate for students. As they go through the week long process, students work in teams of three to brainstorm ideas and assign roles involving programming, art and project management. All students are involved in the actual design process and end up producing games that are both responsive to students needs and engaging. At one point during the design process, the fifth grade class visited the school to provide feedback for prototypes so that final refinement and improvements could be made.

Subject:
Education
Material Type:
Lesson Plan
Teaching/Learning Strategy
Provider:
Teaching Channel
Provider Set:
Teaching Channel
Date Added:
10/10/2017
Robot Design Challenges
Read the Fine Print
Educational Use
Rating
0.0 stars

Through the two lessons and five activities in this unit, students' knowledge of sensors and motors is integrated with programming logic as they perform complex tasks using LEGO MINDSTORMS(TM) NXT robots and software. First, students are introduced to the discipline of engineering and "design" in general terms. Then in five challenge activities, student teams program LEGO robots to travel a maze, go as fast/slow as possible, push another robot, follow a line, and play soccer with other robots. This fifth unit in the series builds on the previous units and reinforces the theme of the human body as a system with sensors performing useful functions, not unlike robots. Through these design challenges, students become familiar with the steps of the engineering design process and come to understand how science, math and engineering including computer programming are used to tackle design challenges and help people solve real problems. PowerPoint® presentations, quizzes and worksheets are provided throughout the unit.

Subject:
Career and Technical Education
Computer Science
Technology and Engineering
Material Type:
Full Course
Unit of Study
Provider:
TeachEngineering
Provider Set:
TeachEngineering NGSS Aligned Resources
Author:
GK-12 Program,
Sachin Nair, Riaz Helfer, Pranit Samarth, Satish S. Nair
Date Added:
09/18/2014
Robotics Peripheral Vision
Read the Fine Print
Educational Use
Rating
0.0 stars

This unit is designed for advanced programming classes. It leads students through a study of human vision and computer programming simulation. Students apply their previous knowledge of arrays and looping structures to implement a new concept of linked lists and RGB decomposition in order to solve the unit's Grand Challenge: writing a program to simulate peripheral vision by merging two images. This unit connects computer science to engineering by incorporating several science topics (eye anatomy, physics of light and color, mathematics, and science of computers) and guides students through the design process in order to create final simulations.

Subject:
Career and Technical Education
Education
Technology and Engineering
Material Type:
Full Course
Unit of Study
Provider:
TeachEngineering
Provider Set:
TeachEngineering NGSS Aligned Resources
Author:
Anna Goncharova
Mark Gonyea
VU Bioengineering RET Program,
Date Added:
09/18/2014
SIK Keyboard Instrument
Read the Fine Print
Educational Use
Rating
0.0 stars

Students work as if they are electrical engineers to program a keyboard to play different audible tones depending on where a sensor is pressed. They construct the keyboard from a soft potentiometer, an Arduino capable board, and a small speaker. The soft potentiometer “keyboard” responds to the pressure of touch on its eight “keys” (C, D, E, F, G, A, B, C) and feeds an input signal to the Arduino-capable board. Each group programs a board to take the input and send an output signal to the speaker to produce a tone that is dependent on the input signal—that is, which “key” is pressed. After the keyboard is working, students play "Twinkle, Twinkle, Little Star" and (if time allows) modify the code so that different keys or a different number of notes can be played.

Subject:
Career and Technical Education
Computer Science
Material Type:
Activity/Lab
Provider:
TeachEngineering
Author:
Lauchlin Blue, University of Colorado Boulder
Shawn Hymel, SparkFun
SparkFun Education
Date Added:
10/13/2017
Simulating the Bug
Read the Fine Print
Educational Use
Rating
0.0 stars

Students modify a provided App Inventor code to design their own diseases. This serves as the evolution step in the software/systems design process. The activity is essentially a mini design cycle in which students are challenged to design a solution to the modification, implement and test it using different population patterns The result of this process is an evolution of the original app.

Subject:
Career and Technical Education
Computer Science
Technology and Engineering
Material Type:
Activity/Lab
Provider:
TeachEngineering
Provider Set:
TeachEngineering NGSS Aligned Resources
Author:
Douglas Bertelsen
IMPART RET Program, College of Information Science & Technology,
Date Added:
09/18/2014
Storing Android Accelerometer Data: App Design
Read the Fine Print
Educational Use
Rating
0.0 stars

Students work through an online tutorial on MIT's App Inventor to learn how to create Android applications. Using those skills, they create their own applications and use them to collect data from an Android device accelerometer and store that data to databases. NOTE: Teachers and students must have a working knowledge of basic programming and App Inventor to complete this lesson. This lesson is not an introduction to MIT's App Inventor and is not recommended for use without prior knowledge of App Inventor to produce an end product. This lesson is an application for App Inventor that allows for the storage of persistent data (data that remains in memory even if an app is closed). This required prior knowledge can come from other experiences with the App Inventor. Also, many additional resources are available, such as tutorials from MIT. This lesson could also be used as an enrichment project for students who are self-motivated to learn the App Inventor software.

Subject:
Career and Technical Education
Technology and Engineering
Material Type:
Lesson Plan
Provider:
TeachEngineering
Provider Set:
TeachEngineering
Author:
IMPART RET Program, College of Information Science & Technology,
Scott Burns, Brian Sandall
TeachEngineering.org
Date Added:
09/18/2014
Sumobot Challenge
Read the Fine Print
Educational Use
Rating
0.0 stars

Students apply their knowledge of constructing and programming LEGO MINDSTORMS (TM)NXT robots to create sumobots - strong robots capable of pushing other robots out of a ring. To meet the challenge, groups follow the steps of the engineering design process and consider robot structure, weight and gear ratios in their designs to make their robots push as hard as possible to force robot opponents out of the ring. A class competition serves as the final test to determine the best designed robot, illustrating the interrelationships between designing, building and programming. This activity gives students the opportunity to be creative as well as have fun applying and combining what they have learned through the previous activities and lessons in this and prior units in the series. A PowerPoint (tm) presentation, pre/post quizzes and a worksheet are provided.

Subject:
Career and Technical Education
Technology and Engineering
Material Type:
Activity/Lab
Provider:
TeachEngineering
Provider Set:
TeachEngineering NGSS Aligned Resources
Author:
GK-12 Program, Computational Neurobiology Center,
Sachin Nair, Pranit Samarth, Satish S. Nair
Date Added:
09/18/2014
Testing with JUnit
Read the Fine Print
Educational Use
Rating
0.0 stars

JUnit is a testing method that is included with NetBeans (Java) installs or can be downloaded from the web and included in the Java build. In this activity, students design tests for a provided Java class before the class methods are constructed using a process called test-driven development. To create a design, the software/system design process, which is a specific case of the engineering design process, is followed. After students create a design, it is implemented and tested and if necessary, the design undergoes editing to make sure it functions by testing the Java class correctly. To conclude the activity, students write the methods in the Java class using their tests to debug the program.

Subject:
Career and Technical Education
Education
Technology and Engineering
Material Type:
Activity/Lab
Provider:
TeachEngineering
Provider Set:
TeachEngineering
Author:
IMPART RET Program, College of Information Science & Technology,
Ryan Stejskal, Brian Sandall
TeachEngineering.org
Date Added:
09/18/2014
Thinking Robotics: Teaching Robots to Make Decisions
Read the Fine Print
Educational Use
Rating
0.0 stars

Students learn basic concepts of robotic logic and programming by working with Boe-Bot robots—a simple programmable robotic platform designed to illustrate basic robotic concepts. Under the guidance of the instructor and a provided lab manual, student groups build simple circuits and write codes to make their robots perform a variety of tasks, including obstacle and light detection, line following and other motion routines. Eight sub-activities focus on different sensors, including physical sensors, phototransistors and infrared headlights. Students test their newly acquired skills in the final activity, in which they program their robots to navigate an obstacle course.

Subject:
Education
Material Type:
Activity/Lab
Provider:
TeachEngineering
Provider Set:
TeachEngineering
Author:
Jeffrey R. Peters, Rushabh Patel, Mechanical Engineering Department
School for Scientific Thought, Center for Science and Engineering Partnerships, University of California Santa Barbara,
Date Added:
10/14/2015
Traffic Lights
Read the Fine Print
Educational Use
Rating
0.0 stars

Students learn about traffic lights and their importance in maintaining public safety and order. Using a Parallax® Basic Stamp 2 microcontroller, students work in teams on the engineering challenge to build a traffic light with a specific behavior. In the process, they learn about light-emitting diodes (LEDs), and how their use can save energy. Students also design their own requirements based on real-world observations as they learn about traffic safety and work towards an interesting goal within the realm of what is important in practice. Knowledge gained from the activity is directly transferrable to future activities, and skills learned are scalable to more ambitious class projects.

Subject:
Career and Technical Education
Physical Science
Physics
Technology and Engineering
Material Type:
Activity/Lab
Provider:
TeachEngineering
Provider Set:
TeachEngineering
Author:
AMPS GK-12 Program,
Janet Yowell
Lindrick Outerbridge
Pavel Khazron
TeachEngineering.org
Date Added:
09/18/2014
Using JUnit
Read the Fine Print
Educational Use
Rating
0.0 stars

Students focus on the testing phase of the design process by considering how they have tested computer programs in the past and learning about a new method called JUnit to test programs in the future. JUnit is a testing method that is included with NetBeans (Java) installs or can be downloaded from the web and included in the Java build. Students design tests using JUnit and implement those tests.

Subject:
Career and Technical Education
Education
Technology and Engineering
Material Type:
Lesson Plan
Provider:
TeachEngineering
Provider Set:
TeachEngineering
Author:
IMPART RET Program, College of Information Science & Technology,
Ryan Stejskal, Brian Sandall
TeachEngineering.org
Date Added:
09/18/2014
Using Waits, Loops and Switches
Read the Fine Print
Educational Use
Rating
0.0 stars

Students are given a difficult challenge that requires they integrate what they have learned so far in the unit about wait blocks, loops and switches. They incorporate these tools into their programming of the LEGO MINDSTORMS(TM) NXT robots to perform different tasks depending on input from a sound sensor and two touch sensors. This activity helps students understand how similar logic is implemented for other every day device operations via computer programs. A PowerPoint® presentation, pre/post quizzes and worksheet are provided.

Subject:
Career and Technical Education
Technology and Engineering
Material Type:
Activity/Lab
Provider:
TeachEngineering
Provider Set:
TeachEngineering NGSS Aligned Resources
Author:
GK-12 Program, Computational Neurobiology Center,
Riaz Helfer, Pranit Samarth, Satish S. Nair
Date Added:
09/18/2014