Multiple choice

What are functions?

  1. Code that can only be used once in the application

  2. Reusable pieces of code that can be called on repeatedly.

  3. A special type of variable

  4. Indefinite arrays

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Functions are blocks of organized, reusable code that perform a single, related action. They allow for modularity and avoid code repetition.