Please enable JavaScript to use CodeHS

AP Computer Science Principles in Roblox

Description

In this lesson, students learn how they can allow users to input information into their programs, and use that input accordingly.

Objective

Students will be able to:

  • Create programs that ask the user for input
  • Store user input in variables and print it back to the user
  • Choose the proper input function to use depending on the type of information needed
Description

In this lesson, students will expand their use of functions by learning about and implementing parameters.

Objective

Students will be able to:

  • Explain the use of parameters and arguments
  • Create functions that take in parameters as input
  • Use parameters to generalize functions and reduce repeated code
Description

In this lesson, students will define and call their own functions in Roblox Studio. These functions will take in multiple parameters as input and produce an output (generate a part).

Objective

Students will be able to:

  • Define a functions that use multiple parameters
  • Use a function to generate parts in Roblox Studio
Description

In this lesson, students learn about return statements and how to use them to send information between functions.

Objective

Students will be able to:

  • Explain the purpose of returning a value from a function
  • Create functions that return values
  • Create programs that call functions with return values and store the result for later use
Description

In this lesson, students work with and define functions with return values in Roblox Studio.

Objective

Students will be able to:

  • Create functions that return values in Roblox Studio
  • Create programs that call functions with return values and use the return values to solve a higher-order problem
Description

In this lesson, students review content with a multiple-choice unit quiz.

Objective

Students will be able to:

  • Prove their knowledge of basic coding concepts through a multiple-choice quiz