Please enable JavaScript to use CodeHS

Introduction to Computer Science in JavaScript (Golden) (2022)

Lesson 5.8 Random Numbers

Description

In this lesson, students will learn how randomization can enhance a program and be used in combination with various control structures.


Objective

Students will be able to…

  • Explain why random numbers are a useful part of computer programs
  • Create random values in a program
  • Utilize the DOCS for the Randomizer class in order to learn how to generate random values