Data & Web Scraping Quiz (20 MCQs)

Each question is worth 1 point. Submit to see your score and explanations.

1) What is data?

2) Why is data compared to fuel for a car?

3) Why does AI need data?

4) If AI is trained on bad or messy data, what can happen?

5) Which is an example of AI using data for personalization?

6) What is data scraping?

7) Why do we scrape data?

8) Which is a real-life example of data scraping?

9) Before scraping a website, what should you always check?

10) What is Google Colab mainly used for?

11) What does the Requests library in Python do?

12) What does the Beautiful Soup library do?

13) What does parsing mean in web scraping?

14) Which two packages are used together for scraping in Python?

15) What does <span> represent in HTML?

16) In soup.find_all('span', class_='text'), what does class_='text' do?

17) What does the method find_all() return?

18) Which Python module is used to select a random quote from scraped data?

19) If you scrape quotes into a list, what does random.choice(quotes) do?

20) Which is NOT an example of encountering data in daily life?

Explanations are shown under each question after submission.