Computing and Information Technology

Data Science and Analytics Practice Exam, Flashcards & Questions

Master foundational to advanced Data Science and Analytics with 444 verified curriculum items, worked engineering solutions, and spaced-repetition cards.

284 Total Questions 140 MCQs 60 Calculations 6 Formulas 78 Flashcards
Free Interactive Preview

Data Science and Analytics Sample Exam Questions & Rationale

Preview official questions below. The complete pool of 284 items is available in the offline app.

Question 1 of 4 Cleaning missing data

Which missing data mechanism describes a scenario where the probability of missingness depends directly on the unobserved value itself?

A Missing Not at Random (MNAR)
B Missing Completely at Random (MCAR)
C Missing at Random (MAR)
D Missing Conditionally at Random (MCondAR)
Accepted Answer: Option A (Missing Not at Random (MNAR))

Rationale: Under MNAR, missingness relates systematically to the unobserved values themselves (e.g., participants with very high incomes refusing to report earnings).

Question 2 of 4 Data merging and joins

What type of SQL-style relational join returns all rows from the left DataFrame and matched rows from the right DataFrame, filling unmatched right columns with NaN?

A Left outer join
B Full outer join
C Inner join
D Cross join
Accepted Answer: Option A (Left outer join)

Rationale: A left outer join preserves every observation from the primary left table while enriching it with matching attributes from the secondary right table.

Question 3 of 4 Data pipelines

Which pandas method allows developers to chain custom unary transformation functions cleanly without breaking method chaining syntax?

A df.apply()
B df.map()
C df.assign()
D df.pipe()
Accepted Answer: Option D (df.pipe())

Rationale: DataFrame.pipe(func, *args, **kwargs) passes the entire DataFrame as the first argument to func, enabling fluid pipeline composition.

Question 4 of 4 Data types and sources

Which pandas data type is most memory-efficient for storing repetitive low-cardinality string columns such as country names or status codes?

A int64
B category
C string[pyarrow]
D object
Accepted Answer: Option B (category)

Rationale: The categorical dtype replaces repeated string buffers with an integer key array referencing a small internal category dictionary, drastically shrinking memory footprints.

Active Recall Spaced Repetition Cards (Preview)

Card 1 • Cleaning missing data
Identifying null entries across all DataFrame cells and calculating column-wise null totals is executed by {{c1::df.isna().sum()}}.
df.isna() returns a boolean mask indicating missing values, and sum() aggregates True counts along the row axis per column.
Card 2 • Data merging and joins
DataFrames by stacking their rows vertically along axis 0 is performed using the function {{c1::pd.concat([df1, df2], axis=0)}}.
pd.concat along axis=0 binds rows together, aligning schemas and placing NaN where columns do not overlap.

Data Science and Analytics Curriculum Modules & Topics Covered

Modules
Data WranglingExploratory AnalysisStatistical ModelingMachine Learning in Practice
Core Exam Topics
  • Cleaning missing data
  • Outlier handling
  • Tidy data
  • Dates and text parsing
  • Summary statistics
  • Time series basics
  • Visualization principles
  • Regression analysis
  • Hypothesis testing
  • Confidence intervals
Learning Objectives
  • Develop core conceptual recall and analytical problem-solving in Data Wrangling.
  • Develop core conceptual recall and analytical problem-solving in Exploratory Analysis.
  • Develop core conceptual recall and analytical problem-solving in Statistical Modeling.
  • Develop core conceptual recall and analytical problem-solving in Machine Learning in Practice.

Free Downloadable Data Science and Analytics Study Packs (.ZIP / .TSV)

Full Spreadsheet Data (TSV)
TSV • 284 items
Complete Course Pack
ZIP • 284 items
Elements (Standard)
ZIP • 284 items
Active Recall Flashcards
ZIP • 284 items
Formula Codex
ZIP • 284 items
Problem Solving (Complete)
ZIP • 284 items
Problem Solving (Mastery)
ZIP • 284 items
Problem Solving (Standard)
ZIP • 284 items
Artificial Intelligence (1,579) Artificial Intelligence and Machine Learning (507) Cloud Computing and DevOps (144) Compiler Design & Formal Languages (1,579) Computational Contact Mechanics: Penalty Function Method, Lagrange Multipliers & Mortar Contact Formulations (128) Computer Engineering & Algorithms (1,365)
Full Question Pool: 284 Verified Items

Unlock All 284 Data Science and Analytics Practice Questions

Study the full question pool with 13 active recall battle modes, FSRS v5 spaced repetition, and 1-click printable PDF mock exams with full answer keys on Android and Windows PC.

Get on Google Play (Android) Get on Microsoft Store (Windows PC)