Arithmetic Operators in R

Arithmetic Operators in R

Assessment

Interactive Video

Computers

9th - 10th Grade

Hard

Created by

Thomas White

FREE Resource

This video tutorial introduces arithmetic operators in R programming, covering basic operations like addition and subtraction, as well as advanced ones like multiplication, division, modulus, and exponentiation. The tutorial demonstrates how to execute these operations in R, highlighting the importance of understanding these operators for data manipulation. It concludes with additional operators and emphasizes the differences between symbols used in programming and those in everyday math.

Read more

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step to start using arithmetic operators in R?

Download a calculator app

Open a web browser

Open R Studio or RGI

Install Python

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used for addition in R?

Minus (-)

Slash (/)

Asterisk (*)

Plus (+)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you perform subtraction in R?

Using the forward slash (/)

Using the asterisk (*)

Using the minus sign (-)

Using the plus sign (+)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for multiplication in R?

Minus (-)

Asterisk (*)

Slash (/)

Plus (+)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used for division in R?

Minus (-)

Asterisk (*)

Slash (/)

Plus (+)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you calculate the remainder in R?

Using the asterisk (*)

Using the plus sign (+)

Using a single percentage sign (%)

Using two percentage signs (%%)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for exponentiation in R?

Slash (/)

Double asterisk (**)

Asterisk (*)

Caret (^)

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?