Section 1 - Instruction

You've learned how functions can accept parameters and how to call them with arguments. Now let's practice these concepts with different scenarios.

Engagement Message

Ready to master parameters and arguments?

Section 2 - Practice

Type

Fill In The Blanks

Markdown With Blanks

Complete this function definition and call:

Suggested Answers

  • name
  • age
  • "Sarah"
  • 25
  • string
  • int
Section 3 - Practice

Type

Multiple Choice

Practice Question

Look at this function:

Which of these function calls is correct?

A. calculateArea(10, 5) B. calculateArea(10.0, 5.0) C. calculateArea("10", "5") D. calculateArea(length: 10.0, width: 5.0)

Suggested Answers

  • A
  • B - Correct
  • C
  • D
Section 4 - Practice

Type

Sort Into Boxes

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal