Please enable JavaScript to use CodeHS

Introduction to Computer Science (Collie)

Lesson 3.4 Basic Math in JavaScript

Description

In this lesson, students learn about the different mathematical operators they can use to perform mathematical computations and create useful programs that compute information for the user.


Objective

Students will be able to…

  • Describe the different mathematical operators we can use in programs
  • Create programs that use basic math to compute useful things
  • Create programs that take in user input, do simple computations with the input, and produce useful output

Activities

These are all the activities included in the lesson

3.4.1 Basic Math in JavaScript
3.4.2 Basic Math in JavaScript Quiz
3.4.3 Simple Calculator
3.4.4 Dollars to Pounds
3.4.5 Dividing Up Groups
3.4.6 T-Shirt Shop
3.4.7 Running Speed