Arithmetic Operations and JavaScript Basics

Arithmetic Operations and JavaScript Basics

Assessment

Interactive Video

Computers

9th - 10th Grade

Hard

Created by

Thomas White

FREE Resource

This video tutorial covers basic math operations in JavaScript, including addition, subtraction, multiplication, division, and modulus. It explains how to use arithmetic operators and introduces increment and decrement operators. The tutorial includes examples of creating a simple calculator program, converting US Dollars to Pounds, and dividing people into groups using JavaScript. Key concepts such as variables, user input, and constants are also discussed.

Read more

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of the program discussed in the introduction?

To multiply two numbers input by the user

To add two numbers input by the user

To perform complex mathematical operations

To subtract two numbers input by the user

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 8 + 10 in the calculator program?

22

20

18

16

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for addition in JavaScript?

Minus (-)

Star (*)

Plus (+)

Slash (/)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for multiplication in JavaScript?

Slash (/)

Minus (-)

Plus (+)

Star (*)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 4 * 8 in the arithmetic example?

36

28

24

32

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for division in JavaScript?

Plus (+)

Minus (-)

Star (*)

Slash (/)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 8 - 4 in the arithmetic example?

2

5

3

4

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?