AI Hints
Home›Data Science Tutorial›Quizzes and Careers
Data Science · Lesson 97 of 101

Quiz: Foundations

Test what you remember.

⏱ 2 min read▶ Video at 2:56:16🎓 Free
Watch this lesson in the Data Science courseWatch on YouTube ↗Full Data Science course

Time for a test. Ten questions on data skills. Pause, commit to an answer, and keep your own score.

Quiz: Foundations
From the video: Quiz: Foundations
  • Ten questions
  • Pause and commit
  • Keep score

Question 1

Question 1. What should you do first with any new table? A, Train a model. B, Check its shape and what one row means. C, Make a dashboard. D, Delete outliers. Pause the video and choose. The answer is B. Knowing what a row means is the most important fact.

Quick check
What should you do first with any new table?

Question 2

Question 2. Your mean is well above your median. What's likely? A, A long tail to the right. B, No outliers. C, A perfect bell curve. D, An error. Pause the video and choose. The answer is A. A few large values pull the mean up.

Quick check
Your mean is well above your median. What's likely?

Question 3

Question 3. After a left join, you have more rows than before. Why? A, Duplicate keys on the right. B, Missing values. C, The index reset. D, Nothing is wrong. Pause the video and choose. The answer is A. Each duplicate multiplies your rows, so count before and after.

Quick check
After a left join, you have more rows than before. Why?

Question 4

Question 4. What's the safest way to fill missing incomes? A, The median, with a flag. B, Zero. C, The maximum. D, Random text. Pause the video and choose. The answer is A. The median resists outliers, and the flag records what you did.

Quick check
What's the safest way to fill missing incomes?

Question 5

Question 5. What does WHERE do that HAVING doesn't? A, Filters before grouping. B, Sorts rows. C, Joins tables. D, Limits rows. Pause the video and choose. The answer is A. HAVING filters the groups afterward.

Quick check
What does WHERE do that HAVING doesn't?

Question 6

Question 6. Which SQL finds the top product in each city? A, ROW_NUMBER with PARTITION BY. B, ORDER BY only. C, DISTINCT. D, UNION. Pause the video and choose. The answer is A. It's the classic interview pattern.

Quick check
Which SQL finds the top product in each city?

Question 7

Question 7. Why compare with the same day last week? A, It removes weekday effects. B, It is faster. C, It adds data. D, It removes outliers. Pause the video and choose. The answer is A. Compare like with like.

Quick check
Why compare with the same day last week?

Question 8

Question 8. What's a good chart title? A, Sales by city. B, Two cafes need attention. C, Figure one. D, Data. Pause the video and choose. The answer is B. The title should state the conclusion.

Quick check
What's a good chart title?

Question 9

Question 9. What's the top quarter of customers usually worth? A, A quarter of revenue. B, A large share of value. C, Nothing. D, Exactly half. Pause the video and choose. The answer is B. Value is concentrated in most businesses.

Quick check
What's the top quarter of customers usually worth?

Question 10

Question 10. An insight that changes no decision is worth what? A, Everything. B, Very little. C, A bonus. D, It depends on the chart. Pause the video and choose. The answer is B. The goal is a better decision.

Quick check
An insight that changes no decision is worth what?

Summary

Eight or more is excellent. Next, the statistics round.

Key takeaways
  • 8 or more: excellent
  • Review what you missed
  • Now statistics
Next up: Quiz: Statistics — signal, luck, and cause