Introduction to Big data and Analysis Techniques
Easy
A.Extremely large and complex datasets that traditional tools struggle to process
B.A type of computer monitor
C.A single small spreadsheet
D.A programming language
Correct Answer: Extremely large and complex datasets that traditional tools struggle to process
Explanation:
Big Data describes datasets so large and complex that conventional data-processing tools cannot handle them efficiently.
Incorrect! Try again.
2Which of the following is one of the classic 3 V's used to describe Big Data?
Introduction to Big data and Analysis Techniques
Easy
A.Version
B.Vector
C.Vault
D.Volume
Correct Answer: Volume
Explanation:
The 3 V's of Big Data are Volume, Velocity, and Variety. Volume refers to the huge amount of data generated.
Incorrect! Try again.
3In the context of Big Data, what does Velocity mean?
Introduction to Big data and Analysis Techniques
Easy
A.The color of the data charts
B.The speed at which data is generated and processed
C.The number of data errors
D.The total size of stored data
Correct Answer: The speed at which data is generated and processed
Explanation:
Velocity refers to how fast data is produced, collected, and analyzed, such as real-time streaming data.
Incorrect! Try again.
4Which V of Big Data refers to the different types and formats of data such as text, images, and video?
Introduction to Big data and Analysis Techniques
Easy
A.Velocity
B.Variety
C.Volume
D.Veracity
Correct Answer: Variety
Explanation:
Variety describes the many different forms of data, including structured, semi-structured, and unstructured formats.
Incorrect! Try again.
5In a dataset, a variable is best described as:
Elements, Variables, and Data categorization Levels of Measurement
Easy
A.A type of hardware
B.A characteristic that can take different values
C.The name of the file
D.A fixed unchanging number
Correct Answer: A characteristic that can take different values
Explanation:
A variable is any characteristic or attribute that can vary across the elements being measured, such as age or height.
Incorrect! Try again.
6Which of the following is an example of a categorical (qualitative) variable?
Elements, Variables, and Data categorization Levels of Measurement
Easy
A.Annual income
B.Eye color
C.Height in centimeters
D.Weight in kilograms
Correct Answer: Eye color
Explanation:
Eye color represents categories rather than numerical measurements, making it a categorical variable.
Incorrect! Try again.
7Which level of measurement only classifies data into named categories with no natural order?
Elements, Variables, and Data categorization Levels of Measurement
Easy
A.Ratio
B.Nominal
C.Interval
D.Ordinal
Correct Answer: Nominal
Explanation:
The nominal level labels data into categories without any ranking or order, such as gender or blood type.
Incorrect! Try again.
8A ranking such as Small, Medium, Large is an example of which level of measurement?
Elements, Variables, and Data categorization Levels of Measurement
Easy
A.Interval
B.Nominal
C.Ratio
D.Ordinal
Correct Answer: Ordinal
Explanation:
Ordinal data has a meaningful order or ranking, but the differences between values are not necessarily equal.
Incorrect! Try again.
9Which level of measurement has a true zero point, allowing meaningful ratios like 'twice as much'?
Elements, Variables, and Data categorization Levels of Measurement
Easy
A.Ordinal
B.Interval
C.Nominal
D.Ratio
Correct Answer: Ratio
Explanation:
The ratio level has a true zero, so values like weight or height allow statements such as 'twice as heavy'.
Incorrect! Try again.
10Temperature measured in Celsius, where degrees does not mean 'no temperature', is an example of which level of measurement?
Elements, Variables, and Data categorization Levels of Measurement
Easy
A.Ratio
B.Nominal
C.Interval
D.Ordinal
Correct Answer: Interval
Explanation:
Interval scales have equal spacing between values but lack a true zero, so Celsius temperature is interval data.
Incorrect! Try again.
11In statistics, the individual objects or people on which data is collected are called:
Elements, Variables, and Data categorization Levels of Measurement
Easy
A.Labels
B.Formulas
C.Charts
D.Elements
Correct Answer: Elements
Explanation:
Elements are the individual entities (such as people or items) about which information is gathered in a dataset.
Incorrect! Try again.
12What is the main purpose of an index in a database?
Data management and indexing
Easy
A.To change data types
B.To reduce the screen brightness
C.To speed up the retrieval of data
D.To delete records automatically
Correct Answer: To speed up the retrieval of data
Explanation:
An index improves query performance by allowing the database to find rows quickly without scanning the entire table.
Incorrect! Try again.
13Which of the following best describes data management?
Data management and indexing
Easy
A.Printing documents on paper
B.Writing marketing emails
C.Designing computer hardware
D.The practice of collecting, storing, and maintaining data
Correct Answer: The practice of collecting, storing, and maintaining data
Explanation:
Data management covers the processes of acquiring, organizing, storing, and maintaining data so it stays accurate and usable.
Incorrect! Try again.
14A key that uniquely identifies each record in a database table is called a:
Data management and indexing
Easy
A.Primary key
B.Foreign gate
C.Data slot
D.Index page
Correct Answer: Primary key
Explanation:
A primary key uniquely identifies each row in a table and cannot contain duplicate or null values.
Incorrect! Try again.
15What is a possible downside of adding too many indexes to a database table?
Data management and indexing
Easy
A.It permanently deletes data
B.It disables all queries
C.It can slow down insert and update operations while consuming extra storage space to maintain the index structures
D.It changes the primary key
Correct Answer: It can slow down insert and update operations while consuming extra storage space to maintain the index structures
Explanation:
Each index must be updated when data changes, so too many indexes can slow writes and use more storage.
Incorrect! Try again.
16Which type of statistical learning uses labeled data to make predictions?
Introduction to statistical learning
Easy
A.Random guessing
B.Supervised learning
C.Manual sorting
D.Unsupervised learning
Correct Answer: Supervised learning
Explanation:
Supervised learning trains models on labeled data, where each input has a known output, to predict outcomes.
Incorrect! Try again.
17Unsupervised learning is mainly used to:
Introduction to statistical learning
Easy
A.Predict labeled outcomes
B.Find hidden patterns or groupings in unlabeled data
C.Store passwords securely
D.Print reports
Correct Answer: Find hidden patterns or groupings in unlabeled data
Explanation:
Unsupervised learning works with unlabeled data to discover structure, such as clusters or associations.
Incorrect! Try again.
18Which of the following is a common supervised learning task?
Introduction to statistical learning
Easy
A.Encrypting
B.Formatting
C.Classification
D.Clustering
Correct Answer: Classification
Explanation:
Classification predicts a category label for input data and is a core supervised learning task.
Incorrect! Try again.
19Which programming language is widely known for data analysis using libraries like Pandas and NumPy?
Overview of various tools used for data analysis
Easy
A.CSS
B.SQLite backup
C.Python
D.HTML
Correct Answer: Python
Explanation:
Python is popular for data analysis thanks to libraries such as Pandas, NumPy, and scikit-learn.
Incorrect! Try again.
20Which of the following tools is commonly used for creating interactive data visualizations and dashboards?
Overview of various tools used for data analysis
Easy
A.Calculator
B.Tableau
C.Paint
D.Notepad
Correct Answer: Tableau
Explanation:
Tableau is a widely used tool for building interactive charts, dashboards, and visual reports from data.
Incorrect! Try again.
21A retail company collects streaming clickstream logs, product images, and customer reviews. Which characteristic of Big Data is most directly demonstrated by this mix of formats?
Introduction to Big data and Analysis Techniques
Medium
A.Variety
B.Velocity
C.Value
D.Veracity
Correct Answer: Variety
Explanation:
Variety refers to the different forms of data (structured, semi-structured, unstructured). Logs, images, and text together represent multiple data formats, illustrating Variety.
Incorrect! Try again.
22A fraud detection system must process credit card transactions within milliseconds of them occurring. Which 'V' of Big Data is the primary challenge here?
Introduction to Big data and Analysis Techniques
Medium
A.Veracity
B.Volume
C.Variety
D.Velocity
Correct Answer: Velocity
Explanation:
Velocity concerns the speed at which data is generated and must be processed. Real-time, millisecond fraud detection is a Velocity challenge.
Incorrect! Try again.
23An analyst wants to answer the question "Why did sales drop last quarter?" Which type of analytics best fits this need?
Introduction to Big data and Analysis Techniques
Medium
A.Prescriptive analytics
B.Predictive analytics
C.Diagnostic analytics
D.Descriptive analytics
Correct Answer: Diagnostic analytics
Explanation:
Diagnostic analytics investigates the causes of past outcomes (the 'why'). Descriptive covers 'what happened', predictive 'what will happen', and prescriptive 'what to do'.
Incorrect! Try again.
24A logistics firm uses a model that not only forecasts demand but also recommends optimal delivery routes to act on. This is an example of which analytics type?
Introduction to Big data and Analysis Techniques
Medium
A.Diagnostic analytics
B.Descriptive analytics
C.Prescriptive analytics
D.Predictive analytics
Correct Answer: Prescriptive analytics
Explanation:
Prescriptive analytics goes beyond prediction to recommend specific actions. Suggesting optimal routes to take is a prescriptive output.
Incorrect! Try again.
25In a dataset table, each row represents a surveyed customer and each column stores an attribute such as age or income. What do the rows correspond to?
Elements, Variables, and Data categorization Levels of Measurement
Medium
A.Data types
B.Variables
C.Measurement levels
D.Elements (observations)
Correct Answer: Elements (observations)
Explanation:
Each row is an element (also called an observation or case), while each column is a variable representing a measured attribute.
Incorrect! Try again.
26A variable stores 'number of children in a household' as . How is this variable best classified?
Elements, Variables, and Data categorization Levels of Measurement
Medium
A.Ordinal categorical variable
B.Nominal categorical variable
C.Discrete quantitative variable
D.Continuous quantitative variable
Correct Answer: Discrete quantitative variable
Explanation:
Counts take whole-number values and cannot be subdivided meaningfully, making them discrete quantitative variables.
Incorrect! Try again.
27Temperature measured in degrees Celsius has meaningful differences but its zero point does not represent 'no temperature'. Which level of measurement does it belong to?
Elements, Variables, and Data categorization Levels of Measurement
Medium
A.Ratio
B.Interval
C.Ordinal
D.Nominal
Correct Answer: Interval
Explanation:
Interval data has equal, meaningful intervals but an arbitrary zero (0°C is not the absence of temperature), so ratios like 'twice as hot' are not valid.
Incorrect! Try again.
28A survey records satisfaction as Poor, Average, Good, Excellent. Which statement about this variable is correct?
Elements, Variables, and Data categorization Levels of Measurement
Medium
A.It is nominal because the categories are just labels
B.It is ordinal because categories have a meaningful order but unequal gaps
C.It is interval because the gaps between ratings are equal
D.It is ratio because it has a true zero point
Correct Answer: It is ordinal because categories have a meaningful order but unequal gaps
Explanation:
The categories can be ranked (order matters) but the distance between them is not quantifiable, which defines the ordinal level of measurement.
Incorrect! Try again.
29Which operation is valid on ratio-level data but NOT on interval-level data?
Elements, Variables, and Data categorization Levels of Measurement
Medium
A.Computing meaningful ratios such as 'twice as much'
B.Calculating the arithmetic mean
C.Ranking values from lowest to highest
D.Measuring equal differences between values
Correct Answer: Computing meaningful ratios such as 'twice as much'
Explanation:
Ratio data has a true zero, so multiplicative comparisons are valid. Interval data lacks a true zero, so ratios are not meaningful even though means and differences are.
Incorrect! Try again.
30Assigning the numbers and in a dataset is an example of encoding which type of variable?
Elements, Variables, and Data categorization Levels of Measurement
Medium
A.Interval
B.Ordinal
C.Ratio
D.Nominal
Correct Answer: Nominal
Explanation:
Gender categories are labels with no inherent order or arithmetic meaning; the numeric codes are arbitrary identifiers, so the variable is nominal.
Incorrect! Try again.
31A query on a large table filters frequently by the customer_id column but runs slowly. Which technique would most directly improve retrieval speed for this column?
Data management and indexing
Medium
A.Creating an index on customer_id
B.Deleting duplicate rows
C.Adding more columns to the table
D.Converting the column to text type
Correct Answer: Creating an index on customer_id
Explanation:
An index creates a fast lookup structure for a column, reducing the need for full table scans and speeding up filtered queries on that column.
Incorrect! Try again.
32Which is a common trade-off of adding many indexes to a database table?
Data management and indexing
Medium
A.Reduced storage but slower queries
B.Faster reads but slower inserts and updates
C.Improved reads and writes with no cost
D.Faster inserts but slower reads
Correct Answer: Faster reads but slower inserts and updates
Explanation:
Indexes speed up read/search operations but must be maintained on every write, so inserts, updates, and deletes become slower and use more storage.
Incorrect! Try again.
33During data cleaning, an analyst finds the same customer stored as "John Smith" and "john smith". This is an example of which data quality issue?
Data management and indexing
Medium
A.Inconsistent data
B.Missing data
C.Outlier data
D.Duplicate index
Correct Answer: Inconsistent data
Explanation:
Inconsistency arises when the same entity is represented in different formats or cases. Standardizing values resolves it during data cleaning.
Incorrect! Try again.
34A primary key in a relational table must satisfy which requirement?
Data management and indexing
Medium
A.It must uniquely identify each row and not be null
B.It must be the first column in the table
C.It must be a numeric value only
D.It may repeat as long as values are ordered
Correct Answer: It must uniquely identify each row and not be null
Explanation:
A primary key uniquely identifies each record and cannot contain null values, ensuring every row can be referenced unambiguously.
Incorrect! Try again.
35A model is trained on labeled housing data to predict a home's selling price from its features. This is an example of which learning type?
Introduction to statistical learning
Medium
A.Unsupervised clustering
B.Supervised classification
C.Supervised regression
D.Reinforcement learning
Correct Answer: Supervised regression
Explanation:
Labeled data with a continuous numeric target (price) makes this supervised learning, and predicting a continuous value is a regression task.
Incorrect! Try again.
36An algorithm groups customers into segments based on purchasing behavior without any predefined labels. Which category does this task fall under?
Introduction to statistical learning
Medium
A.Classification
B.Unsupervised learning
C.Supervised learning
D.Regression
Correct Answer: Unsupervised learning
Explanation:
With no labeled target and the goal of discovering natural groupings (clustering), the task is unsupervised learning.
Incorrect! Try again.
37A model performs very well on training data but poorly on new test data. This situation is best described as:
Introduction to statistical learning
Medium
A.Underfitting
B.Regularization
C.Overfitting
D.Cross-validation
Correct Answer: Overfitting
Explanation:
Overfitting occurs when a model learns noise and specifics of the training set, so it fails to generalize to unseen data.
Incorrect! Try again.
38Which task correctly matches a classification problem?
Introduction to statistical learning
Medium
A.Predicting tomorrow's exact temperature
B.Predicting whether an email is spam or not spam
C.Forecasting a company's revenue in dollars
D.Estimating a person's monthly income
Correct Answer: Predicting whether an email is spam or not spam
Explanation:
Classification predicts discrete category labels (spam vs. not spam). The other options predict continuous numeric values, which are regression tasks.
Incorrect! Try again.
39Why is a dataset typically split into training and test sets in statistical learning?
Introduction to statistical learning
Medium
A.To evaluate how well the model generalizes to unseen data
B.To convert categorical variables into numbers
C.To remove all outliers from the dataset
D.To increase the total amount of available data
Correct Answer: To evaluate how well the model generalizes to unseen data
Explanation:
Holding out a test set lets us measure performance on data the model has not seen, giving a fair estimate of generalization.
Incorrect! Try again.
40A data scientist needs a programming language with rich libraries such as pandas and scikit-learn for end-to-end machine learning. Which tool is most appropriate?
Overview of various tools used for data analysis
Medium
A.MySQL
B.Python
C.Microsoft Excel
D.Tableau
Correct Answer: Python
Explanation:
Python offers libraries like pandas and scikit-learn that support data manipulation and machine learning, making it well suited for end-to-end ML workflows.
Incorrect! Try again.
41A streaming platform ingests sensor readings arriving at millions of events per second, where a delay of even a few seconds makes the data useless for its real-time dashboards. Which of the 5 Vs of Big Data is the primary constraint being described here?
Introduction to Big data and Analysis Techniques
Hard
A.Volume
B.Variety
C.Veracity
D.Velocity
Correct Answer: Velocity
Explanation:
Velocity refers to the speed at which data is generated and must be processed. The scenario stresses real-time ingestion and rapid processing, not the amount (Volume), type diversity (Variety), or trustworthiness (Veracity).
Incorrect! Try again.
42An analyst uses historical sales data to build a model that recommends what actions to take to maximize next quarter's revenue, factoring in constraints. Which category of analytics does this represent?
Introduction to Big data and Analysis Techniques
Hard
A.Prescriptive analytics
B.Descriptive analytics
C.Diagnostic analytics
D.Predictive analytics
Correct Answer: Prescriptive analytics
Explanation:
Prescriptive analytics recommends actions and decisions given constraints. Predictive forecasts what will happen, descriptive summarizes what happened, and diagnostic explains why it happened.
Incorrect! Try again.
43In the Hadoop ecosystem, why does the MapReduce paradigm move computation to the data node rather than moving data to the computation?
Introduction to Big data and Analysis Techniques
Hard
A.It eliminates the need for a shuffle-and-sort phase between stages
B.Network bandwidth is the bottleneck, so processing data locally minimizes costly data transfer
C.It guarantees the data is never replicated across the cluster
D.CPU cores on data nodes are faster than on compute nodes
Correct Answer: Network bandwidth is the bottleneck, so processing data locally minimizes costly data transfer
Explanation:
Data locality is a core Hadoop principle: moving large data blocks across the network is expensive, so computation is shipped to the node holding the data. Replication and the shuffle phase still occur.
Incorrect! Try again.
44A researcher records water temperature in degrees Celsius. A colleague claims " is twice as hot as ." Why is this statement statistically invalid?
Elements, Variables, and Data categorization Levels of Measurement
Hard
A.Celsius is a nominal scale, so no arithmetic is allowed
B.Celsius is an interval scale with an arbitrary zero, so ratios are meaningless
C.Celsius is a ratio scale, so the statement is actually correct
D.Celsius is an ordinal scale, so only ranking is valid
Correct Answer: Celsius is an interval scale with an arbitrary zero, so ratios are meaningless
Explanation:
Celsius has equal intervals but no true (absolute) zero, so it is an interval scale. Ratios like "twice as hot" require a ratio scale with a meaningful zero (e.g., Kelvin).
Incorrect! Try again.
45A dataset codes customer satisfaction as Poor, Fair, Good, Excellent. Which statistical operation is inappropriate for this variable?
Elements, Variables, and Data categorization Levels of Measurement
Hard
A.Ranking respondents by satisfaction
B.Determining the median category
C.Reporting the mode
D.Computing the arithmetic mean of the codes
Correct Answer: Computing the arithmetic mean of the codes
Explanation:
This is an ordinal variable: order is meaningful but intervals between codes are not equal. Median, mode, and ranking are valid, but the arithmetic mean assumes equal spacing and is inappropriate.
Incorrect! Try again.
46Which of the following variables is best classified as discrete quantitative, not continuous?
Elements, Variables, and Data categorization Levels of Measurement
Hard
A.The time taken to process an order
B.The temperature of a warehouse
C.The exact weight of a shipment in kilograms
D.The number of defective items in a shipment
Correct Answer: The number of defective items in a shipment
Explanation:
A count of defective items takes only whole-number values, making it discrete quantitative. Weight, time, and temperature can take any value within a range, making them continuous.
Incorrect! Try again.
47In an experiment, ZIP codes are stored as integers. An algorithm computes their average and uses it as a feature. What is the fundamental error?
Elements, Variables, and Data categorization Levels of Measurement
Hard
A.ZIP codes are ordinal, so only the median should be used
B.ZIP codes are ratio data, so averaging is valid but rounding is needed
C.ZIP codes are nominal labels, so arithmetic on them is meaningless
D.ZIP codes are interval data, so the mean is acceptable
Correct Answer: ZIP codes are nominal labels, so arithmetic on them is meaningless
Explanation:
Although stored numerically, ZIP codes are nominal identifiers with no quantitative order or magnitude. Averaging them produces a meaningless value that does not correspond to any real location.
Incorrect! Try again.
48A database table with millions of rows has a B-tree index on a column with only two distinct values (Y/N), roughly evenly split. Why might the query optimizer ignore this index for a filter like WHERE flag = 'Y'?
Data management and indexing
Hard
A.Indexes only work on primary key columns
B.Low cardinality means a full table scan is often cheaper than many random index lookups
C.The index is automatically dropped when cardinality is below three
D.B-tree indexes cannot store character data
Correct Answer: Low cardinality means a full table scan is often cheaper than many random index lookups
Explanation:
When a filter matches a large fraction of rows (low selectivity), following the index for each match causes many random I/Os. A sequential full scan is often cheaper, so the optimizer skips the index.
Incorrect! Try again.
49Adding many indexes to a heavily transactional (OLTP) table can degrade performance. What is the main reason?
Data management and indexing
Hard
A.Indexes force all queries to run as full table scans
B.Indexes double the storage required for every read operation
C.Each INSERT, UPDATE, and DELETE must also maintain every index, increasing write cost
D.Indexes convert the table into a read-only structure
Correct Answer: Each INSERT, UPDATE, and DELETE must also maintain every index, increasing write cost
Explanation:
Indexes speed reads but must be updated on every write. In write-heavy workloads, maintaining many indexes adds significant overhead to each data-modifying operation.
Incorrect! Try again.
50A composite index is created on columns (last_name, first_name). Which query can use this index efficiently for its search?
Data management and indexing
Hard
A.WHERE last_name = 'Rao'
B.WHERE city = 'Pune'
C.WHERE first_name = 'Asha'
D.WHERE first_name = 'Asha' AND city = 'Pune'
Correct Answer: WHERE last_name = 'Rao'
Explanation:
A composite index follows the leftmost-prefix rule: it can be used when the query filters on the leading column(s). Filtering only on first_name skips the leading last_name column, so the index cannot be used efficiently.
Incorrect! Try again.
51In the ACID properties of transactional data management, which property is directly threatened when two concurrent transactions read and write the same row without proper locking?
Data management and indexing
Hard
A.Isolation
B.Atomicity
C.Consistency
D.Durability
Correct Answer: Isolation
Explanation:
Isolation ensures concurrent transactions do not interfere with each other. Without proper locking or isolation levels, concurrent read/write access causes anomalies like dirty reads, violating isolation.
Incorrect! Try again.
52A model achieves accuracy on training data but only on unseen test data. This gap is the classic symptom of which problem, and what is the appropriate remedy?
Introduction to statistical learning
Hard
A.Overfitting; apply regularization or reduce model complexity
B.High bias; remove regularization entirely
C.Data leakage; increase the training set size only
D.Underfitting; increase model complexity further
Correct Answer: Overfitting; apply regularization or reduce model complexity
Explanation:
A large train-test performance gap indicates overfitting: the model memorizes training noise and generalizes poorly. Regularization, simpler models, or more data reduce variance and close the gap.
Incorrect! Try again.
53In the bias-variance tradeoff, what happens to a model's total expected error as flexibility (complexity) increases from very low to very high?
Introduction to statistical learning
Hard
A.Bias decreases while variance increases, so error follows a U-shape
B.Bias increases while variance decreases, so error keeps falling
C.Both bias and variance increase continuously
D.Both bias and variance decrease continuously
Correct Answer: Bias decreases while variance increases, so error follows a U-shape
Explanation:
More flexible models fit training data better (lower bias) but become sensitive to noise (higher variance). Total error first falls then rises, producing the characteristic U-shaped test-error curve.
Incorrect! Try again.
54A dataset for fraud detection has legitimate and fraudulent transactions. A model predicts "legitimate" for every case. Why is its accuracy misleading?
Introduction to statistical learning
Hard
A.Accuracy ignores the minority class; metrics like recall or F1 are needed
B.The model is actually underfitting the majority class
C.Accuracy is being computed on the wrong test set
D.Accuracy should be replaced by training error
Correct Answer: Accuracy ignores the minority class; metrics like recall or F1 are needed
Explanation:
With severe class imbalance, a trivial majority-class predictor scores high accuracy while catching zero fraud. Precision, recall, F1, or AUC better reflect performance on the rare, important class.
Incorrect! Try again.
55Which statement correctly distinguishes supervised from unsupervised learning?
Introduction to statistical learning
Hard
A.Both require labeled data but differ in the loss function used
B.Supervised learning uses labeled outputs to guide training; unsupervised finds structure in unlabeled data
C.Supervised learning is only for clustering; unsupervised is only for regression
D.Supervised learning requires no target variable; unsupervised always predicts a label
Correct Answer: Supervised learning uses labeled outputs to guide training; unsupervised finds structure in unlabeled data
Explanation:
Supervised learning maps inputs to known labels (classification, regression). Unsupervised learning discovers patterns such as clusters or lower-dimensional structure without labeled outputs.
Incorrect! Try again.
56Why does -fold cross-validation generally give a more reliable estimate of test error than a single train-test split?
Introduction to statistical learning
Hard
A.It always produces lower error because it trains on all data at once
B.Every observation is used for both training and validation across folds, reducing estimate variance
C.It removes the need for a separate test set by eliminating bias entirely
D.It guarantees the model will not overfit the training data
Correct Answer: Every observation is used for both training and validation across folds, reducing estimate variance
Explanation:
-fold CV rotates the validation fold so each observation is validated once and used for training in other folds. Averaging results reduces the variance of the error estimate compared with one arbitrary split.
Incorrect! Try again.
57A team must process a dataset that exceeds a single machine's RAM, using in-memory transformations across a cluster. Which tool is most appropriate?
Overview of various tools used for data analysis
Hard
A.Apache Spark
B.A standalone MySQL instance
C.A single-node pandas script
D.Microsoft Excel
Correct Answer: Apache Spark
Explanation:
Apache Spark performs distributed in-memory computation across a cluster, scaling well beyond one machine's RAM. Pandas and Excel are single-node tools, and MySQL alone is a relational store, not a distributed compute engine.
Incorrect! Try again.
58When deciding between R and Python for a project combining heavy statistical modeling with a production web-service deployment, which consideration best justifies choosing Python?
Overview of various tools used for data analysis
Hard
A.R cannot perform any statistical analysis
B.Python has no libraries for data manipulation
C.R is unable to produce any data visualizations
D.Python integrates more easily into general-purpose software and production pipelines
Correct Answer: Python integrates more easily into general-purpose software and production pipelines
Explanation:
Both handle statistics well, but Python is a general-purpose language that integrates smoothly with web services and production systems. R excels at statistics/visualization but is less commonly embedded in production software.
Incorrect! Try again.
59In SQL, why can WHERE filter on a column but HAVING is required to filter on the result of COUNT(*) in a grouped query?
Overview of various tools used for data analysis
Hard
A.HAVING runs before WHERE, so it sees raw rows first
B.WHERE filters rows before grouping; aggregate results exist only after grouping, which HAVING handles
C.COUNT(*) is only valid inside a WHERE clause
D.WHERE cannot reference any column in the table
Correct Answer: WHERE filters rows before grouping; aggregate results exist only after grouping, which HAVING handles
Explanation:
Logical processing order applies WHERE before GROUP BY, so aggregates are not yet computed. HAVING runs after grouping, so it can filter on aggregate results like COUNT(*).
Incorrect! Try again.
60A business analyst needs interactive, self-service dashboards for non-technical executives, refreshed from a data warehouse. Which category of tool is the best fit?
Overview of various tools used for data analysis
Hard
A.A low-level command-line ETL script
B.A unit-testing framework
C.A raw NoSQL key-value store
D.A business intelligence tool such as Tableau or Power BI
Correct Answer: A business intelligence tool such as Tableau or Power BI
Explanation:
BI tools like Tableau and Power BI are designed for interactive, self-service visual dashboards aimed at non-technical users. ETL scripts, key-value stores, and testing frameworks serve different purposes in the pipeline.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →