• 1. 
    __________code can be used to plot the correlation matrix in the form of correlogram

  • corplot()
  • correlationplot()
  • corrplot()
  • coreplot()
  • 2. 
    _________code is used to run linear regression model in R.

  • linear.model()
  • sum()
  • lm()
  • None of the above
  • 3. 
    ________ generate random Normal variates with a given mean and standard deviation.

  • dnorm
  • rnorm
  • pnorm
  • rpois
  • 4. 
    __________ function is used to watch for all available packages in library.

  • lib()
  • fun.lib()
  • libr()
  • library()
  • 5. 
    _________code is used for scatter plot in R.

  • scatter.plain()
  • scatter()
  • plot()
  • None of these
  • 6. 
    ___________shortcut used to clear the console.

  • Ctrl + K
  • Ctrl + L
  • Ctrl + C
  • Ctrl + V
  • 7. 
    ________command is used to exit R programming?

  • quit()
  • qu()
  • exit
  • None of these
  • 8. 
    What will be the output of the following R code? x <- c(3, 7, NA, 4, 7) y <- c(5, NA, 1, 2, 2) x + y

  • Symbol
  • Missing data
  • 5
  • 15.5
  • 9. 
    _________code is used for box and whisker plot in R.

  • scatter.smooth()
  • boxplot()
  • plot()
  • abline()
  • 10. 
    We wish to calculate the correlation between two columns of a dataset. Which of the below codes will achieve the purpose?

  • cor(A, B)
  • corr(A, B)
  • coreA, B)
  • correlation(A, B)
  • 11. 
    In R studio, Scripts will run on ___________________

  • Script editors
  • Console
  • Terminal
  • GCC compiler
  • 12. 
    Who created R?

  • Dennis Ritchie
  • John Chambers
  • jarne Stroustrup
  • Ross Ihaka
  • 13. 
    To execute the line of source code ins script editor where the cursor currently resides you press the________

  • Ctrl +T
  • Ctrl + enter
  • Ctrl +R
  • Ctrl + Shift + enter
  • 14. 
    ________is used for comments

  • %
  • #
  • -
  • \\
  • 15. 
    Which of the following graph can be used for simple summarization of data?

  • Scatterplot
  • Barplot
  • Overlaying
  • None of these
  • 16. 
    Which of the following finds the maximum value in the vector x

  • rm(x)
  • all(x)
  • max(x)
  • maximum(x)
Report Question
warning
access_time
  Time