R quiz

What is a correct syntax to output "Hello World" in R?
'Hello World'
Print("Hello World")
Hello World
How do you insert COMMENTS in R code?
/* This is comment
// This is comment
# This is comment
In R, you must declare the data type of a variable
True
False
How do you create a variable named x with the numeric value 5?
Int x=5
X<- 5
X:5
The following values: 10.5, 55 and 787, belongs to which data type?
Integer
Numeric
Complex
Which operator can be used to compare two values?
<>
=
==
What is the correct way to create a vector of strings?
fruits<- list("Orange, "Apple")
Fruits<- v("Orange", "Apple")
Fruits<-c("Orange", "Apple")
Which function can be used to create a data frame?
Df()
Data.frame()
Dataframe()
Which function is used to find the amount of rows and columns in an array?
Dim()
Length()
Nrow()
The value of string variable can be surrounded by single quote?
True
False
{"name":"R quiz", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What is a correct syntax to output \"Hello World\" in R?, How do you insert COMMENTS in R code?, In R, you must declare the data type of a variable","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker