Recall & Review
beginner
What does the '+' operator do in R?
The '+' operator adds two numbers together. For example, 3 + 2 equals 5.
Click to reveal answer
beginner
How do you subtract numbers in R?
Use the '-' operator to subtract one number from another. For example, 5 - 2 equals 3.
Click to reveal answer
beginner
What is the symbol for multiplication in R?
The '*' symbol is used for multiplication. For example, 4 * 3 equals 12.
Click to reveal answer
beginner
How do you divide numbers in R?
Use the '/' operator to divide one number by another. For example, 10 / 2 equals 5.
Click to reveal answer
beginner
What does the '^' operator do in R?
The '^' operator raises a number to the power of another. For example, 2 ^ 3 equals 8 (2 multiplied by itself 3 times).
Click to reveal answer
What is the result of 7 + 3 in R?
✗ Incorrect
7 + 3 adds the two numbers to get 10.
Which operator is used for multiplication in R?
✗ Incorrect
The '*' operator multiplies numbers.
What does 9 / 3 equal in R?
✗ Incorrect
9 divided by 3 equals 3.
How do you write '2 to the power of 4' in R?
✗ Incorrect
The '^' operator is used for exponentiation in R.
What is the result of 5 - 8 in R?
✗ Incorrect
5 minus 8 equals -3.
Explain how to perform basic arithmetic operations in R using operators.
Think about how you add, subtract, multiply, divide, and raise numbers to powers.
You got /5 concepts.
What operator would you use to multiply two numbers in R? Give an example.
Multiplication uses a symbol that looks like a star.
You got /3 concepts.