Basic R Programming Quiz

Basic R Programming Quiz

University

10 Qs

quiz-placeholder

Similar activities

ECE2131 Workshop Week 1 Quiz 2

ECE2131 Workshop Week 1 Quiz 2

KG - University

10 Qs

roblox quizizz?

roblox quizizz?

KG - University

10 Qs

Trial Alya

Trial Alya

University

10 Qs

MATEMATIKA (FUNGSI)

MATEMATIKA (FUNGSI)

University

15 Qs

Cálculo Diferencial - Quizizz 1

Cálculo Diferencial - Quizizz 1

University

10 Qs

SEEU1002_Etech_Quiz 3 (Ch3-Three Phase)[2021-2]

SEEU1002_Etech_Quiz 3 (Ch3-Three Phase)[2021-2]

University

10 Qs

Management as science on administration

Management as science on administration

University

15 Qs

¡Demuestra qué tanto sabes!

¡Demuestra qué tanto sabes!

University

6 Qs

Basic R Programming Quiz

Basic R Programming Quiz

Assessment

Quiz

Other

University

Hard

Created by

EC M

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the basic syntax for printing a message in R?

`print("Hello World!")`

`println("Hello World!")`

`echo("Hello World!")`

`message("Hello World!")`

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the `#` symbol in R?

To assign a value to a variable

To comment out a line of code

To create a function

To load a library

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you assign a value to a variable in R?

`x=5`

`x<-5`

`x=5:10`

`x="hello"`

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between `=` and `<-` in R?

`=` is used for assignment, `<-` is used for printing

`=` is used for printing, `<-` is used for assignment

`=` is used for both assignment and printing

There is no difference between the two

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a vector in R?

`x=c(1,2,3)`

`x=[1,2,3]`

`x={1,2,3}`

`x=(1,2,3)`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the first built-in dataset in R?

mtcars

iris

airquality

builtin

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you load a library in R?

`load("library")`

`library(load)`

`library()`

`require()`

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?