R PROGRAMMING QUIZ DESCRIPTION

R files has an extension _____.

  • S

  • RP

  • R

  • SP

Command lines entered at the console are limited to about ________ bytes

  • 4095
     

  •  4096
     

  •  4097
     


  • 4098

Predictive analysis is the branch of __________analysis?
 

  • Core
     

  • Advanced
     


  • Both
     

  • none of the above

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

  • dnorm
     


  •     rnorm
     


  •     pnorm
      


  •     rpois

An R function is created by using the keyword?

  • fun

  • function

  • declare

  • extends

 Which of these is a general purpose language?

  • JS
        

  •   Ruby
      


  •     HTML
        

  • JS

The language that creates webpages and has cooperates with JS is.....

  • JS
       

  • HTML
        

  • CSS
     

  •   Python

Point out the wrong statement?

  • Setting up a workstation to take full advantage of the customizable features of R is a straightforward thing

  • q() is used to quit the R program

  • R has an inbuilt help facility similar to the man facility of UNIX

  • Windows versions of R have other optional help systems also

You can check to see whether an R object is NULL with the _________ function.

  • is.null()

  • is.nullobj()

  • null()

  • as.nullobj()

How many steps does the predictive analysis process contained?

  • 5

  • 6

  • 7

  • 8

In R every operation has a ______call?

  • Symbol

  • Function

  • none of the above

  • Both A&B

R is an__________programming language?

  • Closed source
     


  • GPL
     


  • Open source
     


  • Definite source

Which of the following graph can be used for simple summarization of data?

  • scatterplot

  • barplotBarplotBarplot

  • over playing

  • none of theseBarplot

Which of the following is true about R?

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

  • R has an effective data handling and storage facility

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

  • All of the above

_________code is used to run linear regression model in R.
    


  • linear.model()
     

  • sum()
     

  •   lm()
       

  •    None of the above

Who created R?

  • Dennis Ritchie
     


  •     John Chambers
     


  •     jarne Stroustrup
        


  •     Ross Ihaka

R was created by?

  • Ross Ihaka

  • Robert Gentleman

  • Both A and B

  • Ross Gentleman

In R studio, Scripts will run on ___________________

  • Script editors
        

  •     Console
        

  •  Terminal
       

  • GCC compiler

R allows integration with the procedures written in the?

  • C

  • Ruby

  • Java

  • Basic

How many atomic vector types does R have?

  • 3

  • 4

  • 5

  • 6

Which function in R language is used to find out whether the means of 2 groups are equal to each other or not?
 

  • f.tests ()

  •  l.tests ()

  • t.tests ()

  • p.tests ()

Many quantitative analysts use R as their____tool?

  • Leading tool
     

  • Programming tool
     

  • Both the above

_________ function is used to watch for all available packages in library

  • lib()

  • fun.lib()

  • libr()

  • library

Which function is preferred over sapply as vapply allows the programmer to specific the output type?

  • Lapply

  • Japply

  • Vapply

  • Zapply

Predictive analysis is the branch of __________analysis?

  • Advanced
     

  •  Core
     

  •  Both the above

What will be output for the following code?
paste("a", "b", se = ":")

 

  • a+b

  • a:b

  •  a-b

  • None of the above
     

How will you check if an element is present in a vector?

  • Match()

  • Dismatch()

  • Mismatch()

  • Search()

How many types of R objects are present in R data type?

  • 4

  • 5

  • 6

  • 7

In the base graphics system, which function is used to add elements to a plot?

  • Boxplot()

  •  Text()

  • Treat()

  •  Both A and B

What will be the output of log (-5.8) when executed on R console?

  • NA

  • NAN

  • 0.213

  •  Error