Please enable JavaScript to use CodeHS

Web Development

Lesson 2.4 Callback Functions and Synchronization

Description

In this lesson, students learn how callback functions are used in programming to execute code segments after a particular action has been completed. Students learn how programs can execute synchronously and asynchronously, and how to use callback functions to control program execution flow.


Objective

Students will be able to:

  • Use a callback function correctly in their programs
  • Define synchronous and asynchronous, and explain how those concepts show up in computer science