Home
Courses
About
School
Notes
Questions
MCQ
Contact
Vocational Courses
Data Science
Data Science
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 :
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 3
Marks :
+2
|
-2
Pass Ratio :
33%
Extracting XML is the basis for most web scraping.
True
False
Explanation:
XML is particularly used in web applications.
Question 4
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 5
Marks :
+2
|
-2
Pass Ratio :
100%
Which of the following function programmatically extract parts of XML file?
XmlSApply
XmlApply
XmlSApplyData
All of the mentioned
Explanation:
xmlSApply are simple wrappers for tapply and lappy functions.
Question 6
Marks :
+2
|
-2
Pass Ratio :
100%
Which of the following request can be issued from httr package?
GET
PUT
DELETE
All of the mentioned
Explanation:
Authentication is necessary for issuing a request.
Question 7
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 8
Marks :
+2
|
-2
Pass Ratio :
100%
Which of the following is used to extract data from HTML code of websites?
Webscraping
Webdredging
Webcleaning
All of the mentioned
Explanation:
Webscraping is a great way to get data.
Question 9
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 10
Marks :
+2
|
-2
Pass Ratio :
50%
Which of the following function is used to read data off the webpages?
read.web
read.Lines
read.Line
all of the mentioned
Explanation:
read.Lines function will extract the web page data.
1
2
3
4
5
6
7
8
9
10
Time Left:
Submit
Score
:
Rank
:
Accuracy
:
%
Time
:
Total Question
:
Attempted
:
Correct
:
Wrong
:
User Name
Email Id
Mobile No
Submit