4.5.5.Practice Quiz & Graded Quiz: REST APIs, Webscraping, and Working with Files - sj50179/IBM-Data-Science-Professional-Certificate GitHub Wiki
Practice Quiz
TOTAL POINTS 4
Question 1
What is the function of "GET" in HTTP requests?
-
Returns the response from the client to the requestor
-
Carries the request to the client from the requestor
-
Sends data to create or update a resource
-
Deletes a specific resource
Correct
Question 2
What does URL stand for?
-
Uniform Request Location
-
Uniform Resource Locator
-
Unilateral Resistance Locator
-
Uniform Resource Learning
Correct
Question 3
What does the file extension “csv” stand for?
-
Comma Separated Values
-
Comma Separation Valuations
-
Common Separated Variables
-
Comma Serrated Values
Correct
Question 4
What is webscraping?
-
The process to display all data within a URL
-
The process to request and retrieve information from a client
-
The process to extract data from a particular website
-
The process to describe communication options
Correct
Graded Quiz: REST APIs, Webscraping, and Working with Files
Question 1
What are the 3 parts to a URL?
-
Get, post, and scheme
-
Block, post, and route
-
Scheme, internet address, and route
-
Put, route, and get
Correct
Question 2
What are the 3 parts to a response message?
-
Start or status line, header, and body
-
Encoding, body, and cache
-
Bookmarks, history, and security
-
HTTP headers, blank line, and body
Correct
Question 3
What is the 404 status code?
-
Unauthorized
-
OK
-
Not found
-
Bad request
Correct
Question 4
What is the purpose of this line of code "table_row=table.find_all(name=’tr’)" used in webscraping?
-
It will find all of the data within the table marked with a tag “tr”
-
It will find all of the data within the table marked with a tag “a”
-
It will find all of the data within the table marked with a tag “p”
-
It will find all of the data within the table marked with a tag “h1”
Correct