wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

R Practice

Total questions: 17

Worksheet time: 51mins

Name
Class
Date
1.

Version of R released to the public in 2000 was_________

a)

1.0.0

b)

1.0.3

c)

2.0.1

d)

1.1.0

2.

R runs on the ____________ operating system.

a)

Linux

b)

Windows

c)

Ubuntu

d)

Any operating system

3.

You can download “base” R system from _________

a)

A

b)

B

c)

CRAN

d)

D

4.

Which of the following command is used to print an object “x” in R?

a)

printf(x)

b)

print(x)

c)

printx

d)

print[x]

5.

What will be the output of the following R code?

> x <- 6

> class(x)

a)

“integer”

b)

“numeric”

c)

“real”

d)

“imaginary”

6.

What will be the output of the following R code?

> sqrt(-17)

a)

-4.02

b)

4.02

c)

NaN

d)

3.67

7.

Who developed R?

a)

Dennis Ritchie

b)

John Chambers

c)

Bjarne Stroustrup

d)

Ross Ihaka

8.

R was named partly after the first names of____R authors?

a)

One

b)

Two

c)

Three

d)

Four

9.

R files has an extension ______

a)

.R

b)

.c

c)

.Rp

d)

.s

10.

The following statement are true about R, except...

a)

an integrated suite of software facilities for data manipulation, calculation and graphical display

b)

a suite of operators for calculations on arrays, in particular matrices

c)

graphical facilities for data analysis and display only directly at the computer but not on hardcopy

d)

runs on all platforms

11.

CRAN is abbreviations from...and what does CRAN mean?

a)

Coherent R Active Network; the fundamental unit of shareable code

b)

Cohorent R Archive Network; the public clearing house for R packages

c)

Comprehensive R Archive Network; the public clearing house for R packages

d)

Comprehensive R Active Network; the fundamental unit of shareable code

12.

which part that shows the list of R objects you created during your R session?

a)

1

b)

2

c)

3

d)

4

13.

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

a)

S

b)

C

c)

MATLAB

d)

SAS

14.

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

a)

lib()

b)

fun.lib()

c)

libr()

d)

library()

15.

________is used for comments

a)

%

b)

#

c)

-

d)

\\

16.

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

17.

R is an__________programming language?

a)

Closed source

b)

GPL

c)

Open source

d)

Definite source