Please enable JavaScript to use CodeHS

Introduction to Computer Science in JavaScript (Bulldog)

Lesson 3.6 Random Numbers

Description

In this lesson, students will learn how randomization can enhance a program.


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.