wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Basics of R Programming-I

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

R language is a dialect of which of the following languages?

a)

S

b)

C

c)

MATLAB

d)

SAS

2.

R files has an extension ______

a)

.S

b)

.Rp

c)

.R

d)

.C

3.

__________ function is used to watch for all available packages in library.

a)

lib()

b)

fun.lib()

c)

libr()

d)

library()

4.

________is used for comments

a)

%

b)

#

c)

-

d)

\\

5.

To execute the line of source code ins script editor where the cursor currently resides you press the________

a)

Ctrl +T

b)

Ctrl + enter

c)

Ctrl +R

d)

Ctrl + Shift + enter

6.

R is an__________programming language?

a)

Closed source

b)

GPL

c)

Open source

d)

Definite source

7.

Who created R?

a)

Dennis Ritchie

b)

John Chambers

c)

jarne Stroustrup

d)

Ross Ihaka

8.

Which of the following finds the maximum value in the vector x

a)

rm(x)

b)

all(x)

c)

max(x)

d)

maximum(x)

9.

________ generate random Normal variates with a given mean and standard deviation.

a)

dnorm

b)

rnorm

c)

pnorm

d)

rpois

10.

Which of the following is true about R?

a)

R is a well-developed, simple and effective programming language

b)

R provides a large, coherent and integrated collection of tools for data analysis.

c)

R has an effective data handling and storage facility

d)

All of the above