Lesson Planet
Search educational resources
  • Sign In Try It Free
  • AI Teacher Tools
    • Discover Resources Search reviewed educational resources by keyword, subject, grade, type, and more
    • Curriculum Manager (My Content) Manage saved and uploaded resources and folders To Access the Curriculum Manager Sign In or Join Now
    • Browse Resource Directory Browse educational resources by subject and topic
    • Curriculum Calendar Explore curriculum resources by date
    • Lesson Planning Articles Timely and inspiring teaching ideas that you can apply in your classroom
    • Our Story
    • Frequently Asked Questions
    • Testimonials
    • Contact Us
  • Pricing
  • School Access
    • Your school or district can sign up for Lesson Planet — with no cost to teachers
      Learn More
  • Sign In
  • Try It Free
Function Return Values, Computer Programming Instructional VideoFunction Return Values, Computer Programming Instructional Video
Publisher
Khan Academy
Resource Details
Curator Rating
Educator Rating
Not yet Rated
Grade
6th - Higher Ed
Subjects
STEM
1 more...
Resource Type
Instructional Videos
Media Length
4:32
Audiences
For Teacher Use
1 more...
Duration
10 mins
Instructional Strategies
Flipped Classroom
1 more...
Accessibility
Closed Captions
1 more...
Year
2013
Usage Permissions
Creative Commons
BY-NC-SA: 3.0
cc
Instructional Video

Function Return Values, Computer Programming

Curated and Reviewed by Lesson Planet
This Function Return Values, Computer Programming instructional video also includes:
  • JavaScript Guide
  • Function Return Values, Computer Programming (HTML version from khanacademy.org)
  • Join to access all included materials

Functions that do calculations usually need to return a value. In this video, a function calculates and returns the total number of donuts eaten based on the years someone has been alive. Hopefully, your charges will have eaten much less than the program.

3 Views 1 Download

Concepts

javascript, computer code, Computer Programming, coding, computer drawing, animation, technology resources

Additional Tags

programming in javascript, drawing and animation coding

Classroom Considerations

  • This video is hosted on YouTube

Pros

  • Clear explanation of using a function to return the value of a calculation

Cons

  • None

View 6,122 other resources for 6th - Higher Ed Grade STEM

© 1999-2026 Learning Explorer, Inc.
Teacher Lesson Plans, Worksheets and Resources

Sign up for the Lesson Planet Monthly Newsletter

Open Educational Resources (OER)

  • Health
  • Language Arts
  • Languages
  • Math
  • Physical Education
  • Science
  • Social Studies
  • Special Education
  • Visual and Performing Arts
View All Lesson Plans

Discover Resources

  • Our Review Process
  • How it Works
  • How to Search
  • Create a Collection

Manage Curriculum

  • Edit a Collection
  • Assign to Students
  • Manage My Content
Contact Us Site Map Privacy Policy Terms of Use