Join Free! Sign In UPLOAD
Science Science Math Math History History Social Studies Social Studies Language Arts Language Arts Educational Songs Kids Educational Songs
More
History Algebra Earth Science Geography Health PE Fractions Elementary Science Music Programming Languages Pre Calculus Chemistry Biology More
Open main menu TeacherTube.com
  • Join Free! Sign In UPLOAD
  • Close main menu

Remove Ads

CS Principles: Defining and Calling Functions

Computer Science

kari.cobb

Sep 17, 2017

531 views

In this lesson, students learn to define and call procedures (in JavaScript, procedures are called “functions”) in order to create and give a name to a group of commands for easy and repeated use in their code. They will be introduced to functions as a form of abstraction that enables them to write code in larger, more logical chunks and focus on what something does, rather than how it does it. As they explore the use of functions through a sequence of activities in App Lab, they will be asked to think about where they see the need for functions and how these functions can make their code clearer or more concise.

Remove Ads

Remove Ads

Related categories

  • Contact Us
  • Help and FAQ
  • Privacy Policy
  • Terms
  • California - Do Not Sell My Personal Information
  • California - CCPA Notice
© 2025 TeacherTube. All Rights Reserved.