Basic Arithmetic

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Basic Arithmetic

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Does + add two numbers together in JavaScript?
A No
B Yes
2. Is * used for multiplication in JavaScript?
A Yes
B No
3. Is x used for multiplication in JavaScript?
A Yes
B No
4. Does / perform division in JavaScript?
A Yes
B No
5. Is = used to subtract two numbers?
A No
B Yes

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
15 + 3 A5 - 3
25 * 3 BWrong - = is for assignment, not arithmetic
3Subtracts one number from another CMultiplies 5 and 3 together
4Divides one number by another DAdds 5 and 3 together
5console.log(5 x 3); E5 / 3
6console.log(5 = 3); FWrong - multiplication uses *, not x

Definitions

+

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
console.log(5 _ 3);
2.
console.log(5 _ 3);
3.
console.log(5 _ 3);
4.
console.log(5 _ 3);
5.
let total = 10 _ 5;

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A console.log(5 = 3);
B console.log(5 + 3);
C console.log(5 * 3);
Question 2
A console.log(5 - 3);
B console.log(5 x 3);
C console.log(5 / 3);
Question 3
A console.log(10 + 5);
B console.log(10 - 5);
C console.log(10 ÷ 5);
Question 4
A let a = 2 + 3;
B let c = 2 * 3;
C let e = 2 / 1;
D let b = 2 -- 3;
Question 5
A let w = 8 + 2;
B let x = 8 / 2;
C let z = 8 - 2;
D let v = 8 * 2;
E let y = 8 // 2;

Answer Key

Basic Arithmetic
Section A: Quick Questions
Q1
B — Yes
Q2
A — Yes
Q3
B — No
Q4
A — Yes
Q5
A — No
Section B: Match the Pairs
Q1
5 + 3 → Adds 5 and 3 together
Q2
5 * 3 → Multiplies 5 and 3 together
Q3
Subtracts one number from another → 5 - 3
Q4
Divides one number by another → 5 / 3
Q5
console.log(5 x 3); → Wrong - multiplication uses *, not x
Q6
console.log(5 = 3); → Wrong - = is for assignment, not arithmetic
Section C: Definitions
Q1
+ — An operator that adds two numbers together.
Section D: Fill in the Blanks
Q1
console.log(5 + 3);
Q2
console.log(5 - 3);
Q3
console.log(5 * 3);
Q4
console.log(5 / 3);
Q5
let total = 10 + 5;
Section E: Spot the Error
Q1
A — Use *, not =, to multiply two numbers - = is for assignment.
Q2
B — Multiplication uses *, not x, in JavaScript.
Q3
C — JavaScript division uses /, not the ÷ symbol.
Q4
D — Subtraction uses a single -, not --, for basic arithmetic.
Q5
E — Division uses a single /, not //, in JavaScript.