Skip to content
Transcript

Today use the very important computer science concept of a forever block or loop.

Your dance video could not have been created without them and music in general, could not have been created without the concept of repeating a loop of musical notes.

Loop statements are used everywhere and are even used in medical devices to save lives everyday.

For example, an ICD is small device used by doctors and physicians to help control conditions, such as sudden cardiac arrest.

An Implantable Cardioverter Defibrillator or ICD is used to treat a dangerously fast heart beat.

The ICD monitors your heart for very fast and potentially dangerous rhythm disorders.

When an abnormal heart rhythm occurs, the ICD sends a shock to the heart muscle to defibrilate or stop the cycle of rapid twitching.

This medical deviece uses a loop statement to constantly monitor your heart rate before sending electrical pulses and shocks when it detects a very fast, abnormal heart rhythm.

In this club you're using the Scratch programming language to build many projects.

Computer scientists like you use many different programing languages, but understanding the concept of the forever loop will make it easy for you to use in future computer science classes in high school and in your spare time.

You'll be ready to recognize a loop no matter what programming language you are using.

In the next CS First Club you're gonna make a musical art piece where someone can interact with your program to play sound and music.

Instructions
Write a G+ shout-out!
Attributions
  • "PHP-logo" by Colin Viebrock (https://commons.wikimedia.org/wiki/File:PHP-logo.svg) -- Licensed by CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/deed.en)
  • "Ruby-logo-R" by Tom Schaub (https://commons.wikimedia.org/wiki/File:Ruby-logo-R.svg) -- Licensed by CC BY-SA 3.0 Unported (https://creativecommons.org/licenses/by-sa/3.0/)
  • "Scratch logo" by Scratch (https://commons.wikimedia.org/wiki/Category:Scratch_(programming_language)#/media/File:Scratchlogo.svg) -- Licensed by CC BY-SA 3.0 (https://creativecommons.org/licenses/by-sa/3.0/)
  • "The C Programming Language logo" by Rezonansowy (https://commons.wikimedia.org/wiki/File:The_C_Programming_Language_logo.svg) -- Licensed by CC BY-SA 3.0 Unported (https://creativecommons.org/licenses/by-sa/3.0/)