Search Header Logo

Web Scraping 102 - Quiz 2

Authored by Karunya Hacks

Computers

University

Used 8+ times

Web Scraping 102 - Quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

____ prints contents of a BeautifulSoup object in a readable form

beautify
soupify
prettify
display

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can only search based on a single tag name

True
False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is a method applicable to tags?

contents
title
head
find

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

find gets the first occurrence of what you're searching for

True
False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the command to use the Chrome Driver

webdriver.exe
webdriver.Chrome()
Chrome.webdriver()
chromedriver.exe

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you append data into a file

with open("filename.csv",'a') as f
with open("filename.csv",'app') as f
with open("filename.csv",'w') as f
with open("filename.csv",'write') as f

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you open a file to write data

with open("filename.csv",'a') as f
with open("filename.csv",'w') as f
with open("filename.csv",'write') as f
with open("filename.csv",'r') as f

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?