Test 5: Short Questions – Part 2

Short questions

25 questions · 50 min · 67 marks

Want to try first? Take the free Computer Science test: 94hbp-7gz9m-ufent-tsj4r

Sample questions with answers

The first 5 of 25, each with a model answer. Try writing yours first.

  1. Question 1 · 2 marks

    What is raw data? Give an example.

    Show model answer

    Raw data is the original information we collect from people, sensors, websites or apps. It has not been checked or cleaned yet.

    Example: the survey entries in Table 5.2 containing spelling errors and blank cells.

  2. Question 2 · 2 marks

    What do we mean by "cleaning" data?

    Show model answer

    Once we find mistakes in data, we need to fix or remove them. This is called data cleaning.

  3. Question 3 · 3 marks

    List the common issues found in raw data.

    Show model answer

    1)Missing data: blank cells.

    2)Duplicate entries: the same student entered twice.

    3)Inconsistent formats: "Cricket", "cricket", "CRICKET".

    4)Spelling mistakes: "Footbal", "Daliy".

    5)Outliers (strange values): Frequency = 1000 times/week.

  4. Question 4 · 3 marks

    Identify the errors in Table 5.2 (Raw Data about Favorite Sport of Students).

    Show model answer

    Table 5.2 contains:

    (i)spelling errors i.e. Footbal (ID 3) and Daliy (ID 4);

    (ii)missing entries (ID 2 has no favorite sport and ID 3 has no study time of day);

    (iii)mixed capitalizations i.e. cricket (ID 1) and Football (ID 4).

  5. Question 5 · 4 marks

    Activity: Study the messy table (Sadiq, Noor, Maryam, Zara) and list the data errors you can find. How would you correct them?

    Show model answer

    Errors include: spelling mistake "Daliy" (Sadiq) which should be "Daily"; missing Time of Day (Noor); missing Frequency (Maryam); and inconsistent formatting where "morning" is not capitalized (it should be "Morning"). Correct them by fixing spellings, standardizing capitalization, and asking the person again for missing values (or removing the row), then rewrite the cleaned table neatly.

More tests in Introduction to Data Science

Practise with a free account

Save your scores, see which chapters need work, and keep a notebook of every question you got wrong.

Create free account