
Machine Learning Quiz
Authored by Nhi Khanh
Science
Professional Development
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
100 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When using BeautifulSoup for web scraping, which of the following would correctly extract all text within paragraph tags while preserving nested structure?
soup.find_all('p').text
soup.find('p').get_text()
soup.find_all('p').get_text(strip=True)
[p.get_text(strip=True) for p in soup.find_all('p')]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the context of TF-IDF vectorization, what happens when a word appears in every document of the corpus?
Its IDF value becomes 0
Its IDF value becomes 1
Its IDF value becomes infinity
Its TF value becomes 0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which collaborative filtering approach would be most appropriate for a new e-commerce site with minimal user interaction data but detailed product attributes?
User-based collaborative filtering
Item-based collaborative filtering
Content-based filtering
Matrix factorization
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the primary issue with using requests.get() in a loop to scrape multiple pages rapidly?
It will return incomplete HTML
It might trigger rate limiting or IP blocking
It cannot handle JavaScript content
It will consume excessive memory
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following NLP tasks is most suitable for identifying customer sentiment in product reviews?
Named Entity Recognition
Part-of-Speech Tagging
Sentiment Analysis
Text Summarization
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a recommendation system, what technique helps solve the "cold start" problem for new users?
Collaborative filtering
Content-based filtering
Matrix factorization
Deep learning
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When implementing proxies for web scraping, which is NOT a valid consideration?
Proxy rotation frequency
Geographic location of proxies
Browser JavaScript version
Proxy response time
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?