Section 1 - Instruction

You've learned how functions can accept parameters to make them flexible. Now let's practice using parameters and arguments in different scenarios.

Engagement Message

Ready to become a parameter pro?

Section 2 - Practice

Type

Fill in The Blanks

Markdown With Blanks

Complete this function call so it prints "Welcome, Sarah! You are 25 years old.".

Suggested Answers

  • welcome
  • "Sarah"
  • 25
  • age
Section 3 - Practice

Type

Sort Into Boxes

Practice Question

Sort these code elements based on whether they are parameters or arguments.

Labels

  • First Box Label: Parameters
  • Second Box Label: Arguments

First Box Items

  • name
  • age
  • price

Second Box Items

  • "John"
  • 42
  • 19.99
Section 4 - Practice

Type

Multiple Choice

Practice Question

Which function call correctly matches the function definition?

A. createProfile("New York", "Smith", "John"); B. createProfile("John", "Smith", "New York"); C. createProfile("John Smith", "New York"); D. createProfile("John", "New York", "Smith");

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