Top 30 Easy Data Science & Analytics Concepts Quiz for Beginners
30 easy multiple-choice Data Science & Analytics concept questions, the vocabulary and first principles, the parts you need before anything else makes sense. They come from 30 bites in the Data Science & Analytics library, the gentlest slice of the 148 Data Science & Analytics concept questions in the library. Answer them here or read straight down. Every question carries the correct option, why it is correct, and a link to the bite it came from.
Analysis, notebooks, visualization, pandas, statistics
30 questions. Pick an answer, or open “Show the answer” to read it.
Answers are graded in your browser. Nothing is saved, and no XP or streak is earned here. The app keeps score.
Question 1 of 30
When is conducting a stakeholder analysis most crucial for a project's success?
Show the answer
Answer: b · When the project involves diverse groups with potential conflicting interests or varying power.
The card emphasizes that stakeholder analysis is crucial for navigating the 'human landscape' and balancing 'competing demands' from parties with varying interest and influence. While identifying risks (option A) is an important project management activity, stakeholder analysis specifically focuses on understanding and managing the human element and their impact on the project.
Read the full bite: Stakeholder Analysis: Mapping Influence and Interest
Question 2 of 30
Which pitfall is explicitly warned against when applying the 5 Whys technique?
Show the answer
Answer: c · Attributing the problem's origin to individual human error rather than systemic flaws
The card explicitly states, 'The footgun is blaming people instead of asking why the process allowed the error,' emphasizing that the technique should focus on systemic process failures, not individual fault. While stopping at exactly five 'Whys' can be a misuse, the primary 'footgun' highlighted is the misdirection of blame.
Read the full bite: 5 Whys: Find the Root Cause, Not the Symptom
Question 3 of 30
Which statement accurately describes a key characteristic of a probability distribution?
Show the answer
Answer: b · It maps every possible outcome of a random process to its specific probability.
A probability distribution is defined as a map of all possible outcomes and their chances, assigning a probability to each. It does not always follow a bell curve, and its purpose is to quantify uncertainty, not to predict exact outcomes or analyze deterministic processes.
Read the full bite: Probability Distributions: Mapping Odds to Outcomes
Question 4 of 30
According to the card, what is a crucial requirement for a collection of vectors to be considered a "vector space"?
Show the answer
Answer: d · Performing addition or scalar multiplication on any vectors from the collection must always yield a result that is also part of that same collection.
The card emphasizes that for a set to be a vector space, any operation (addition or scalar multiplication) must result in a vector that "is still inside the sandbox" or "is also still a 2D vector on that plane." This property, known as closure, is fundamental. Option B is incorrect because while the canonical example uses vectors from the origin, it's not a universal requirement for all vector spaces.
Question 5 of 30
Which statement accurately describes a common behavior when slicing a NumPy ndarray?
Show the answer
Answer: b · Modifying elements in the sliced portion will also alter the original array if the slice is a view.
The card explicitly states that 'slicing often creates a view, not a copy, so edits can alter the original.' This behavior is a feature for performance but a common source of bugs. Option A is a common misconception, as slicing does not always create a copy; it often creates a view.
Read the full bite: NumPy ndarray: Fast, Typed, Multidimensional Grids
Question 6 of 30
Which scenario best highlights the primary benefit of using a pandas DataFrame?
Show the answer
Answer: a · Efficiently analyzing a large CSV file containing sales figures.
The card states that DataFrames are the 'workhorse for loading, cleaning, and analyzing tabular data in Python, like sales figures from a CSV,' highlighting their efficiency for such tasks. DataFrames are not suitable for data too large for memory, deeply nested JSON, or simple single-column lists.
Question 7 of 30
When consuming a REST API, what is the primary function of the HTTP status code in the server's response?
Show the answer
Answer: a · To inform the client about the outcome of its request, such as success or failure.
The card explains that the HTTP status code is "the waiter telling you if your order succeeded," directly indicating its role in communicating the success or failure of the request. Other options describe functions handled by HTTP headers or the URL.
Read the full bite: Consuming REST APIs: Speaking to Web Services
Question 8 of 30
What is the primary problem web scraping aims to solve?
Show the answer
Answer: d · Providing a method to gather public data from websites lacking a dedicated API.
The card states web scraping exists to "bridge this gap, allowing automated collection of public data directly from websites when a more structured access method isn't provided," referring to APIs. Distractor A is incorrect because the card warns that "assuming scraping cleans the data" is a common misconception.
Read the full bite: Web Scraping: Automating Data Collection from Websites
Question 9 of 30
What is the primary reason JSON is widely adopted for data exchange in web APIs?
Show the answer
Answer: b · It provides a human-readable, text-based format for structured data that is easily parsed by various programming languages.
JSON's main advantage is its simple, text-based, and human-readable structure, which allows different systems and programming languages to easily exchange and parse structured data. It is not a binary format, nor does it execute code, and it explicitly lacks support for comments.
Question 10 of 30
According to the mental model for handling duplicates, what is the primary goal?
Show the answer
Answer: c · To consolidate fragmented information into a single, complete, and accurate record.
The card states the mental model's goal is to "merge them into a single, complete, and accurate record," emphasizing intelligent reconciliation over simple deletion. Option B is a common misconception and explicitly warned against as a "footgun" because it can lead to loss of valuable information or valid transactional data.
Question 11 of 30
What is the main reason for applying feature scaling in machine learning preprocessing?
Show the answer
Answer: a · To ensure that features with widely different numerical ranges contribute equally to distance-based or gradient calculations.
Feature scaling's primary goal is to prevent features with larger numerical ranges from dominating calculations in algorithms sensitive to magnitude, ensuring all features have comparable influence. While scaling can sometimes indirectly aid generalization, its main purpose is not to prevent overfitting, which is typically addressed by regularization.
Read the full bite: Feature Scaling: Putting Your Data on the Same Yardstick
Question 12 of 30
What is the primary reason for using one-hot encoding for categorical features in machine learning?
Show the answer
Answer: a · To enable machine learning models to process non-numeric categorical data without assuming an arbitrary order.
One-hot encoding converts categorical data into a numerical format that machine learning models can understand, crucially doing so without implying any false ordinal relationship or ranking between the categories. Option D is incorrect because one-hot encoding specifically aims to avoid assigning numerical ranks, as this would create a misleading sense of order for nominal data.
Read the full bite: One-Hot Encoding: Turning Categories into Numbers
Question 13 of 30
For which task is a data warehouse most appropriately used?
Show the answer
Answer: a · Analyzing historical sales performance across multiple regions and product lines.
A data warehouse is optimized for complex, historical analysis and reporting, integrating data from various sources to provide business insights, as described in option A. It is not designed for real-time transactional processing or frequent updates, which are the primary functions of operational databases mentioned in options A, B, and D.
Read the full bite: Data Warehouse: The Central Repository for Analytics
Question 14 of 30
What is the primary purpose of using a histogram in data analysis?
Show the answer
Answer: c · To understand the shape, central tendency, and spread of a single continuous variable.
A histogram is used to visualize the distribution of a single continuous variable, helping to understand its shape, central tendency, and spread. It is not suitable for comparing multiple categories, showing data over time, or displaying categorical data, which are common misconceptions.
Question 15 of 30
Which scenario best describes a situation where a scatter plot would be an unsuitable visualization choice?
Show the answer
Answer: b · Displaying the distribution of customer satisfaction scores across different product categories.
Scatter plots are designed for visualizing the relationship between two continuous numerical variables. They are less effective when one or both variables are categorical, as points would stack, making trends unreadable. Options A, C, and D all involve two continuous variables, which are ideal for scatter plots.
Read the full bite: Scatter Plot: Visualizing Relationships Between Two Variables
Question 16 of 30
What is the primary advantage of a box plot when comparing distributions of several datasets?
Show the answer
Answer: c · It offers a compact visual summary, facilitating quick comparison of central tendency, spread, and outliers across groups.
The card emphasizes that box plots provide a "compact way to see a dataset's central tendency, spread, and skewness, especially when comparing multiple datasets at once." Option A is incorrect because the line in a box plot represents the median, not the mean, and the median is often more robust to outliers than the mean.
Read the full bite: Box Plot: See a Distribution's Shape at a Glance
Question 17 of 30
Which scenario is the most appropriate application for a bar chart?
Show the answer
Answer: d · Comparing the sales volume achieved by different product categories in a quarter.
Bar charts are best for comparing values across distinct, discrete categories, such as sales performance of different products. They are not suitable for showing trends over time (options A and D) or parts of a whole (option B), which are better suited for line or pie charts, respectively.
Read the full bite: Bar Chart: Compare Categories at a Glance
Question 18 of 30
What is the primary role of the logistic (sigmoid) function within a logistic regression model?
Show the answer
Answer: a · To transform the linear combination of input features into a probability score between 0 and 1.
The logistic function takes the weighted sum of inputs and maps it to a value between 0 and 1, which represents the probability of the event occurring. It does not directly output a binary classification; that requires an additional thresholding step.
Read the full bite: Logistic Regression: Predicting a Yes or No Outcome
Question 19 of 30
Which statement best describes a fundamental characteristic of k-Nearest Neighbors (k-NN) as a "lazy learner"?
Show the answer
Answer: a · It performs all necessary computations and model building only when a new prediction is requested.
k-NN is called a "lazy learner" because it defers all computational work until a prediction is requested, simply storing the entire dataset during its 'training' phase. Option B describes eager learning algorithms, which build an explicit model during training, or before, the training phase.
Read the full bite: k-Nearest Neighbors: You Are the Company You Keep
Question 20 of 30
What is the core iterative process that drives k-Means clustering?
Show the answer
Answer: c · Data points are assigned to the nearest centroid, and then each centroid is relocated to the average position of its assigned points.
The card explicitly states the k-Means process involves iteratively assigning data points to their nearest centroid and then moving each centroid to the mean (average location) of its assigned points. Option B describes hierarchical clustering, not k-Means.
Read the full bite: k-Means Clustering: Grouping Data Around Centroids
Question 21 of 30
What is a primary reason to choose a decision tree model for a predictive task?
Show the answer
Answer: c · Their straightforward interpretability and explainability to non-technical stakeholders.
The card emphasizes that decision trees are chosen when model interpretability is critical, making them easy to understand and explain. The card also states that single decision trees are highly prone to overfitting and that ensemble methods generally offer higher accuracy.
Read the full bite: Decision Tree Learning: A Flowchart for Your Data
Question 22 of 30
What is the primary benefit of using randomization to assign subjects to groups in an experiment?
Show the answer
Answer: b · It distributes unknown or unmeasured confounding factors evenly across all groups.
The primary benefit of randomization is to ensure that, on average, all other variables (known or unknown) are evenly distributed between groups, allowing any observed differences to be attributed solely to the treatment. While randomization does ensure equal chances for group assignment (option D), this is the mechanism by which it achieves the more fundamental benefit of controlling for confounding variables.
Read the full bite: Randomization: Defeating Bias with Chance
Question 23 of 30
A team is about to launch a critical A/B test. What is the primary reason they would first conduct an A/A test?
Show the answer
Answer: a · To confirm their experimentation platform's ability to accurately detect differences between identical groups.
The card states A/A testing "checks for hidden biases in the testing infrastructure itself, like faulty randomization or data logging" and ensures the platform is "properly calibrated." This means its primary purpose is to validate the system's accuracy. Option D is incorrect because while A/B tests use baselines, A/A testing validates the *measurement system* for that baseline, not the baseline itself.
Read the full bite: A/A Testing: Sanity-Checking Your Experiments
Question 24 of 30
What is the main risk of conducting an experiment with low statistical power?
Show the answer
Answer: b · It makes it difficult to detect a real effect, potentially leading to a false negative conclusion.
Low statistical power directly increases the probability of a Type II error, meaning the experiment is likely to miss a real effect if one exists, leading to a false negative conclusion. Option C describes a Type I error, which is primarily controlled by the significance level (alpha), not low power.
Read the full bite: Statistical Power: Is Your Test Strong Enough to Find a Real Effect?
Question 25 of 30
How do Artificial Neural Networks primarily learn to perform complex tasks like image recognition?
Show the answer
Answer: c · By adjusting the strength of connections between its internal nodes based on example data.
The card explains that ANNs learn by adjusting the 'weights' of connections between neurons during a 'training' phase, using algorithms like backpropagation to reduce errors based on example data. Explicit programming (Option A) is what ANNs aim to avoid, as their purpose is to learn complex rules from data rather than having them explicitly coded.
Read the full bite: Artificial Neural Networks: Learning from Examples
Question 26 of 30
What is the primary way word embeddings capture the semantic meaning of words?
Show the answer
Answer: a · By mapping words to points in a multi-dimensional space where their proximity reflects their semantic similarity.
Word embeddings represent meaning by placing words as vectors in a high-dimensional space, where the distance between these points directly corresponds to their semantic similarity. While co-occurrence is used to learn these embeddings, it is not the representation itself.
Read the full bite: Word Embeddings: Turning Words into Math
Question 27 of 30
Which statement best describes how a Convolutional Neural Network (CNN) identifies patterns in data?
Show the answer
Answer: b · It uses a process of sliding optimized filters across the input to generate feature maps.
The card explains that a CNN's core process involves 'sliding (convolving) a set of learnable filters across the input data' to create 'feature maps'. Option A describes the mechanism of transformers, which are mentioned as an alternative for tasks requiring long-range dependencies, not CNNs.
Read the full bite: Convolutional Neural Networks: Finding Patterns with Filters
Question 28 of 30
What is the primary benefit of employing transfer learning for a new machine learning task?
Show the answer
Answer: c · It drastically reduces the data and computational resources needed for training.
The card states that transfer learning provides a 'shortcut' by reusing knowledge, significantly reducing the need for large datasets and extensive computation. Option B is incorrect because using a model for an unrelated domain can lead to 'negative transfer' and hurt performance.
Read the full bite: Transfer Learning: Don't Train Models from Scratch
Question 29 of 30
What is a fundamental characteristic of Hadoop's approach to big data processing?
Show the answer
Answer: a · It distributes computation and data across many inexpensive machines, expecting and handling hardware failures.
Hadoop's core design involves distributing data and computation across a cluster of commodity machines, with built-in mechanisms to handle expected hardware failures. It is not designed for low-latency, real-time queries, which is a common misconception.
Read the full bite: Hadoop: Processing Big Data on Cheap Hardware
Question 30 of 30
For which application type would HDFS be an unsuitable storage solution?
Show the answer
Answer: a · A transactional database requiring millisecond response times for individual record lookups
The card states HDFS is "the wrong tool for low-latency workloads, like a transactional database, because the overhead of coordinating with the NameNode is too high." The other options describe scenarios where HDFS is well-suited, such as batch processing of large files and leveraging unreliable hardware.
Read the full bite: HDFS: Store Big Data on Cheap, Unreliable Hardware
Could you explain these out loud?
That is what an interview actually tests. Tezvyn gives you questions like these with what the interviewer is really checking, the answer that lands, and the mistake that ends the conversation, in the four minutes before your next meeting.
The iPhone app is on the way
We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.
Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.