Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Tools in Data Science
Data sourcing & cleaning
Examination Instructions & Guidelines
- Solve on notebook/paper first before checking solutions.
- MCQ: Exactly 1 option is correct. Negative marking applies.
- Scientific calculator allowed for all calculations.
- Official answer key is sealed at the end of this sheet.
End Term · 31 Aug 2025 (FN)End Term
- Q1MCQ1 Mark·Choose one option
When cleaning a dataset with company names like "Microsoft Corp", "Microsoft Corporation", "MSFT", which OpenRefine technique would be most effective?
- ASimple find and replace operations
- BClustering algorithms with fingerprinting and n-gram comparison
- CRegular expression matching only
- DManual standardization
- Q2MCQ1 Mark·Choose one option

- A

- B

- C

- D

- A
End Term · 31 Aug 2025 (AN)End Term
- Q3MCQ1 Mark·Choose one option
When standardizing inconsistent date formats in a dataset using OpenRefine, which transformation approach is most effective for handling multiple date patterns?
- ASimple text replacement operations
- BGREL expressions with multiple conditional date parsing functions
- CManual editing row by row
- DExport to Excel and use built-in date formatting
- Q4MCQ2 Marks·Choose one option
For a web scraper that encounters 429 (Too Many Requests) status codes, which response strategy demonstrates ethical behavior?
- ASwitch to different IP addresses to bypass the limit
- BImplement exponential backoff starting with the Retry-After header value, reduce request frequency permanently
- CContinue scraping but filter out 429 responses
- DUse browser automation to appear more human-like
End Term · 13 Apr 2025 (FN)End Term
- Q5MCQ1 Mark·Choose one option
You receive a tab-delimited file where some numeric fields are interpreted as dates (e.g., "3/10" becomes "March 10" in Excel). What is the most effective way to handle this in Text to-Columns?
- AChange the delimiter to commas before opening the file
- BFormat the column as Text before applying Text-to-Columns
- CUse the General data format option in Text-to-Columns
- DManually change the affected cells back to numbers after splitting
- Q6MCQ1 Mark·Choose one option
A data analyst receives a messy dataset with inconsistent company names like "Apple", "Apple Inc.", and "Apple Incorporated". Which tool would best standardize these entries?
- AExcel's Find and Replace
- BOpenRefine's clustering feature
- CPython's string manipulation
- DManual editing
End Term · 22 Dec 2024 (FN)End Term
- Q7MCQ1 Mark·Choose one option

- AThe numeric part of the order (123, 456, 789, 101)
- BOnly the first character of the order ID (O, O, O, O)
- CThe column will remain unchanged
- DEach character of the order ID will be split into separate cells (O, r, d, e, r, I, D, 1, 2, 3)
- Q8MCQ1 Mark·Choose one option
You have a dataset of customer names that includes duplicates due to inconsistent capitalization and extra whitespace (e.g., 'John Doe', 'JOHN DOE', 'John Doe'). Which of the following tools would be best for cleaning and de-duplicating this data?
- AOpenRefine
- BTableau
- CMySQL
- DMicrosoft Excel