Reading from Web and APIs

Question 1
Marks : +2 | -2
Pass Ratio : 100%
httr package does not work well with facebook and twitter API.
True
False
Explanation:
Most modern APIs use something like oauth.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is an important parameter of read.table function?
file
header
sep
all of the mentioned
Explanation:
More parameters are required for loading the data.
Question 3
Marks : +2 | -2
Pass Ratio : 33%
Which of the following will set the character that represents missing value?
na.quote
na.strings
nrows
all of the mentioned
Explanation:
na.strings takes a character vector.
Question 4
Marks : +2 | -2
Pass Ratio : 100%
Which of the following package is used for reading excel data?
xlsx
xlsc
read.sheet
all of the mentioned
Explanation:
read.xlsx and read.xlsx functions are part of xlsx package.
Question 5
Marks : +2 | -2
Pass Ratio : 33%
Which of the following package is used to connect MySQL RDBMS with R?
RMySQL vignette
MySQL vignette
RSQL vignette
None of the mentioned
Explanation:
This package contains meta information and index.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
Point out the correct statement.
HDF5 is a hierarchical format
HDF5 does not support range of different data types
HDF5 is used for storing small datasets
None of the mentioned
Explanation:
HDF5 is used for storing large datasets.
Question 7
Marks : +2 | -2
Pass Ratio : 50%
Which of the following function is used for loading flat files?
read.data
read.sheet
read.table
none of the mentioned
Explanation:
This reads data in to the RAM.
Question 8
Marks : +2 | -2
Pass Ratio : 33%
Point out the wrong statement.
data.table inherits from data.frame
data.table is written in Java
data.table is faster at subsetting and updating data
none of the mentioned
Explanation:
data.table is written in C.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Point out the wrong statement.
hdf5 can be used to reading/writing from disc in Python
rhdf5 is an interface for hdf5 format
maximum size of an HDF5 dataset is fixed when it is created
all of the mentioned
Explanation:
hdf5 can be used to reading/writing from disc in R.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
Point out the correct statement.
XLConnect package has more options for manipulating access files
XLConnect vignette package can also be used for manipulating excel files
write.xlsx write out an excel file with different argument
None of the mentioned
Explanation:
write.xlsx write out an excel file with similar argument.