Please enable JavaScript to use CodeHS

AP Computer Science Principles in Roblox

Parameters and Return Values

In this module, students learn how to write reusable code with functions and parameters.

Lessons

4.1 User Input

  • User Input
  • User Input Example
  • Exploration: The Store
  • Program Testing
  • Sneaky Snails
  • +5 more

4.2 Parameters

  • Parameters
  • Welcome to the Game!
  • Exploration: Picking Teams
  • Generating Parts Tutorial
  • Generating Parts Tutorial Code

4.3 Parameters in Roblox

  • Make it Snow!
  • Bubbles Button Exploration
  • Bubbles Button Submission
  • Sparkle Button Activity
  • AP Practice: Parameters

4.4 Return Values

  • Return Values
  • Tasty Tart
  • Exploration: Is it Even?
  • Exploration: High Score
  • Character Generator

4.5 Return Values in Roblox

  • Return Values in Roblox
  • Raining Candy Exploration
  • Raining Candy Exploration Submission
  • Complete the Raining Candy Experience

4.6 Parameters and Return Values Quiz

  • Parameters and Return Values Quiz

Courses that include this module