Please enable JavaScript to use CodeHS

South Carolina Intermediate Computer Programming

Functions and Parameters

Students build on their knowledge of functions and learn to write reusable code using functions and parameters.

Lessons

3.1 Functions and Parameters 1

  • Functions and Parameters 1
  • Functions and Parameters Quiz 1
  • Double Number
  • Square
  • Triple

3.2 Functions and Parameters 2

  • Functions and Parameters 2
  • Functions and Parameters Quiz 2
  • Sum Function
  • Area of Triangle
  • Height in Meters

3.3 Functions and Parameters 3

  • Functions and Parameters 3
  • Functions and Parameters Quiz 3
  • Draw Circles
  • Horizontal Lines
  • Graphics Stop Light
  • +2 more

3.4 Functions and Return Values 1

  • Functions and Return Values 1
  • Functions and Return Values 1 Quiz
  • Double Number
  • Square with Return Values
  • Quadruple with Return Values

3.5 Functions and Return Values 2

  • Functions and Return Values 2
  • Functions and Return Values Quiz 2
  • Return Values
  • Is It Even?
  • Minimum of Two Numbers

3.6 Local Variables and Scope

  • Local Variables and Scope
  • Local Variables and Scope Quiz
  • Return Values
  • Local Variables

3.7 Exceptions

  • Exceptions
  • Exceptions Quiz
  • Enter a Number
  • Enter Name and Age
  • Temperature Converter
  • +1 more

3.8 Challenge: Ghosts

  • Ghosts
  • Ghosts Reflection

3.9 Functions and Parameters Quiz

  • Functions and Parameters Quiz