Unit 1: Introduction to Data Science - Subjective Questions
ECAP792 • Practice Questions with Detailed Answers
20 questions
Why is learning data science important in the modern world? Explain its significance across different domains.
Data science is important because it enables organizations to convert large volumes of raw data into meaningful information and actionable insights.
Its significance includes:
- Better decision-making: Decisions can be supported by evidence rather than intuition alone.
- Business optimization: Organizations can improve pricing, marketing, inventory, and customer service.
- Prediction: Historical data can be used to forecast demand, risk, failures, or customer behavior.
- Automation: Machine learning models can automate tasks such as fraud detection and recommendation generation.
- Scientific discovery: Researchers can identify patterns in complex medical, environmental, and experimental data.
- Social impact: Governments can use data to improve transportation, education, healthcare, and public services.
Thus, learning data science develops the analytical, statistical, and computational skills required to solve real-world problems using data.
Define data science and explain its major components.
Data science is an interdisciplinary field that uses scientific methods, algorithms, processes, and systems to extract knowledge and useful insights from structured and unstructured data.
Its major components are:
- Mathematics and statistics: Used to summarize data, test hypotheses, measure uncertainty, and construct models.
- Programming: Languages such as Python or R are used to collect, clean, analyze, and visualize data.
- Domain knowledge: Understanding the application area helps define meaningful questions and interpret results correctly.
- Data engineering: It supports the collection, storage, integration, and processing of data.
- Machine learning: It enables systems to identify patterns and make predictions from data.
- Communication and visualization: They help present findings clearly to technical and non-technical stakeholders.
Data science combines these components to transform a practical problem into a data-driven solution.
Describe the complete life cycle of data analytics and explain how its stages are connected.
The data analytics life cycle is an iterative framework for solving analytical problems. Its principal stages are:
- Data discovery: Understand the business problem, available resources, data sources, goals, and constraints.
- Data preparation: Collect, clean, integrate, transform, and format data for analysis.
- Model planning: Select analytical techniques, variables, evaluation measures, and validation strategies.
- Model building: Train, test, compare, and refine analytical or machine learning models.
- Communicate results: Interpret findings and present them through reports, visualizations, and recommendations.
- Operationalization: Deploy the solution, monitor its performance, and maintain it in the target environment.
These stages are connected through feedback. For example, model-building problems may reveal poor data quality and require a return to data preparation. Similarly, stakeholder feedback may require the analytical objective to be revised. Therefore, the life cycle is iterative rather than strictly linear.
What is data discovery? Discuss the major activities performed during this stage of the data analytics life cycle.
Data discovery is the initial stage in which the analytical team develops an understanding of the problem, its context, and the available data.
Major activities include:
- Defining the problem: Convert a broad business concern into a clear analytical question.
- Identifying stakeholders: Determine who will use or be affected by the results.
- Establishing objectives: Specify expected outcomes and measurable success criteria.
- Locating data sources: Identify databases, files, APIs, surveys, sensors, or external datasets.
- Assessing data: Examine data volume, format, quality, accessibility, and relevance.
- Reviewing resources: Evaluate available tools, infrastructure, time, skills, and budget.
- Forming initial hypotheses: Develop assumptions that can guide exploration.
- Identifying risks: Consider privacy, security, bias, legal restrictions, and technical constraints.
The output is normally an initial project plan containing the problem statement, data inventory, hypotheses, and success criteria.
Explain the data preparation stage. Why does it often require a large portion of an analytics project's time?
Data preparation is the process of converting raw data into a reliable and analysis-ready dataset.
It involves:
- Data collection: Obtaining data from relevant internal and external sources.
- Data integration: Combining records from different systems.
- Data cleaning: Correcting errors, removing duplicates, and handling missing or inconsistent values.
- Data transformation: Normalizing, aggregating, encoding, or restructuring variables.
- Feature creation: Deriving useful attributes from existing data.
- Data reduction: Selecting relevant records and variables to simplify analysis.
- Quality verification: Confirming accuracy, completeness, consistency, validity, and timeliness.
This stage is time-consuming because real-world data is often incomplete, inconsistent, duplicated, incorrectly formatted, or distributed across incompatible systems. Decisions made during preparation can directly affect model reliability. Poor preparation may produce misleading results even when sophisticated algorithms are used, as expressed by the principle garbage in, garbage out.
Distinguish between data cleaning, data integration, and data transformation with suitable examples.
The three activities serve different purposes during data preparation:
- Data cleaning: Detects and corrects inaccurate, incomplete, duplicated, or inconsistent data. For example, duplicate customer records may be removed, invalid ages corrected, and missing income values imputed.
- Data integration: Combines data from multiple sources into a unified dataset. For example, customer information from a sales database may be joined with website activity and support records using a customer identifier.
- Data transformation: Changes the structure, scale, or representation of data. For example, dates may be converted into month and year fields, categorical values may be encoded, and numerical values may be standardized using
In summary, cleaning improves quality, integration creates a combined view, and transformation makes the data suitable for analysis or modeling.
What is model planning? Explain the decisions that should be made before a model is built.
Model planning is the stage in which the team determines how the prepared data will be analyzed and how the resulting model will be evaluated.
Important decisions include:
- Analytical approach: Choose classification, regression, clustering, association analysis, time-series analysis, or another method.
- Target and predictors: Identify the outcome variable and the features that may explain it.
- Data partitioning: Decide how to divide data into training, validation, and test sets.
- Evaluation metrics: Select measures such as accuracy, precision, recall, F1-score, mean absolute error, or root mean squared error.
- Feature strategy: Determine which features should be selected, transformed, or engineered.
- Assumptions: Examine assumptions such as linearity, independence, or class balance.
- Tools and resources: Select software, libraries, computing infrastructure, and workflows.
- Validation strategy: Choose cross-validation or another method for estimating performance on unseen data.
A sound plan reduces trial-and-error work and ensures that the selected method matches the problem and business objectives.
Describe the model-building stage and explain how training, validation, testing, and refinement are performed.
During model building, the planned analytical methods are implemented and evaluated.
The process generally includes:
- Create data partitions: The training set is used to fit the model, the validation set supports tuning, and the test set estimates final performance.
- Train candidate models: One or more algorithms are fitted using the training data.
- Tune hyperparameters: Settings that control model behavior are adjusted using validation data or cross-validation.
- Evaluate performance: Suitable technical and business metrics are calculated.
- Compare models: Candidate models are compared in terms of accuracy, interpretability, speed, cost, fairness, and robustness.
- Diagnose problems: Overfitting, underfitting, data leakage, imbalance, and unstable features are investigated.
- Refine the solution: Features, parameters, sampling methods, or algorithms are modified.
- Test the final model: The selected model is evaluated once on unseen test data.
The best model is not necessarily the most complex one; it should generalize well and satisfy operational and business requirements.
Explain overfitting and underfitting in the context of model building. How can each problem be addressed?
Overfitting occurs when a model learns the training data too closely, including noise and accidental patterns. It performs very well on training data but poorly on unseen data.
Ways to reduce overfitting include:
- Using cross-validation
- Reducing model complexity
- Applying regularization
- Removing irrelevant features
- Collecting more representative data
- Using pruning, dropout, or early stopping where appropriate
Underfitting occurs when a model is too simple to represent the important relationships in the data. It performs poorly on both training and test data.
Ways to reduce underfitting include:
- Selecting a more flexible algorithm
- Adding informative features
- Reducing excessive regularization
- Training for longer when applicable
- Improving feature engineering
The objective is to achieve a suitable bias-variance balance, so that the model captures meaningful patterns without memorizing the training dataset.
Why is communicating results an essential stage of data analytics? Describe the characteristics of effective analytical communication.
Communicating results is essential because analytical findings create value only when stakeholders can understand them and take appropriate action.
Effective analytical communication should:
- Address the original objective: Connect findings directly to the problem being solved.
- Use clear language: Avoid unnecessary technical terminology when addressing non-technical audiences.
- Provide evidence: Present relevant metrics, comparisons, and uncertainty.
- Use suitable visualizations: Select charts that accurately reveal patterns without distortion.
- Explain implications: State what the results mean for the organization or decision.
- Acknowledge limitations: Discuss assumptions, data-quality issues, bias, and areas of uncertainty.
- Offer recommendations: Translate insights into realistic actions.
- Adapt to the audience: Executives may need a concise summary, while technical teams may require methodological details.
An effective presentation usually follows a logical narrative: problem, method, findings, implications, limitations, and recommended actions.
Discuss the role of data visualization and storytelling when communicating analytical results.
Data visualization represents information graphically, while data storytelling combines data, visuals, and narrative to explain why the findings matter.
Their roles include:
- Making complex patterns easier to recognize
- Highlighting trends, comparisons, distributions, and unusual observations
- Directing attention toward important conclusions
- Improving stakeholder understanding and recall
- Connecting technical results with business context
- Supporting evidence-based recommendations
An effective visualization should have an accurate scale, readable labels, an informative title, appropriate color use, and a chart type suited to the data. For example, a line chart is suitable for a time trend, whereas a bar chart is useful for comparing categories.
Storytelling provides context by answering three questions: What happened? Why does it matter? What should be done next? Visuals must not exaggerate differences or hide uncertainty, because misleading presentation can produce incorrect decisions.
Define operationalization in data analytics and explain the activities involved in deploying an analytical solution.
Operationalization is the process of placing an analytical model or insight into practical use within an organization's normal operations.
It commonly involves:
- Deployment: Integrating the model into an application, dashboard, API, or business workflow.
- Testing: Performing functional, integration, performance, security, and user-acceptance tests.
- Automation: Establishing pipelines for data ingestion, feature preparation, prediction, and reporting.
- Documentation: Recording model assumptions, dependencies, input requirements, and operating procedures.
- Training users: Helping staff understand outputs and respond correctly.
- Monitoring: Tracking data quality, prediction performance, latency, failures, bias, and business outcomes.
- Maintenance: Retraining, replacing, or recalibrating the model when conditions change.
- Governance: Managing access, versions, approvals, privacy, and accountability.
Operationalization bridges the gap between an experimental model and a dependable solution that produces continuing organizational value.
Why must a deployed analytical model be continuously monitored? Explain the concepts of data drift and concept drift.
A deployed model must be monitored because its operating environment may differ from its training environment and can change over time.
- Data drift occurs when the distribution of input variables changes. For example, the age distribution or purchasing behavior of customers may shift after the model is deployed.
- Concept drift occurs when the relationship between input variables and the target changes. For example, indicators that once predicted loan default may become less informative after a major economic change.
Monitoring should cover:
- Input-data quality and schema changes
- Feature distributions
- Prediction distributions
- Accuracy and other performance metrics
- Fairness across relevant groups
- Processing latency and system failures
- Business outcomes produced by model-assisted decisions
When deterioration is detected, the organization may need to investigate the pipeline, update features, recalibrate thresholds, retrain the model with recent data, or replace it. Monitoring therefore helps maintain reliability, fairness, and business usefulness.
Define descriptive analysis and explain its common techniques, outputs, and limitations.
Descriptive analysis summarizes historical or current data to answer the question What happened?
Common techniques include:
- Frequency counts and percentages
- Measures of central tendency such as mean, median, and mode
- Measures of dispersion such as range, variance, and standard deviation
- Cross-tabulation and aggregation
- Charts, dashboards, and summary reports
For observations , the arithmetic mean is
Typical outputs include monthly sales totals, average customer spending, website traffic summaries, and defect-rate dashboards.
Its main limitation is that it describes patterns but does not, by itself, determine their causes or reliably predict future events. It is nevertheless essential because it establishes a factual understanding of the data before more advanced analysis is attempted.
What is diagnostic analysis? Describe how it can be used to investigate why an event occurred.
Diagnostic analysis examines data to answer the question Why did it happen? It moves beyond summaries by investigating possible causes and relationships.
A typical diagnostic process includes:
- Identify an important change, anomaly, or outcome.
- Divide the data by relevant dimensions such as time, product, region, or customer group.
- Drill down from aggregate measures to detailed records.
- Compare the affected group or period with an appropriate baseline.
- Examine correlations and potential explanatory variables.
- Test hypotheses using statistical methods or controlled experiments where possible.
- Validate whether the proposed explanation is consistent with the evidence.
Common techniques include root-cause analysis, correlation analysis, variance analysis, cohort analysis, and hypothesis testing. However, correlation alone does not prove causation. For example, a sales decline may coincide with a price increase, but competitor activity, seasonal effects, or supply shortages must also be investigated.
Explain predictive analysis and describe the steps required to develop a reliable predictive solution.
Predictive analysis uses historical data, statistical methods, and machine learning to estimate future or unknown outcomes. It answers the question What is likely to happen?
The development steps are:
- Define the target: Specify the outcome to predict and the prediction horizon.
- Collect historical data: Obtain representative observations containing relevant inputs and known outcomes.
- Prepare data: Clean records, handle missing values, encode categories, and construct useful features.
- Partition data: Create training, validation, and test sets.
- Train models: Apply methods such as regression, decision trees, or time-series models.
- Evaluate models: Use metrics appropriate to the problem and compare against a baseline.
- Check generalization: Investigate overfitting, leakage, bias, and robustness.
- Deploy and monitor: Integrate the model into operations and track its ongoing performance.
Examples include predicting customer churn, loan default, equipment failure, product demand, and delivery delays. Predictions are uncertain estimates and should therefore be presented with suitable performance measures or confidence information.
Define prescriptive analysis and explain how it differs from predictive analysis.
Prescriptive analysis recommends actions that can help achieve a desired result. It answers the question What should be done?
It differs from predictive analysis in the following ways:
- Predictive analysis estimates what is likely to happen, whereas prescriptive analysis recommends how to respond.
- Prediction produces outcomes such as probabilities, forecasts, or risk scores. Prescription produces decisions, action plans, allocations, or schedules.
- Prescriptive methods explicitly consider objectives and constraints, such as maximizing profit while respecting budget and capacity.
- Common prescriptive techniques include optimization, simulation, decision analysis, rule-based systems, and reinforcement learning.
A general optimization formulation is
subject to
where is the objective and the inequalities represent constraints.
For example, demand may first be predicted, after which prescriptive analysis recommends inventory quantities that balance shortage and storage costs.
Compare descriptive, diagnostic, predictive, and prescriptive analysis using a common business example.
Consider an online retailer experiencing a reduction in monthly sales:
- Descriptive analysis — What happened? It reports that sales fell by 12% compared with the previous month and identifies the products and regions with the largest decline.
- Diagnostic analysis — Why did it happen? It investigates factors such as reduced website traffic, increased prices, inventory shortages, seasonal demand, and competitor promotions.
- Predictive analysis — What is likely to happen? It forecasts sales for future months or estimates which customers are likely to stop purchasing.
- Prescriptive analysis — What should be done? It recommends actions such as targeted discounts, inventory redistribution, advertising allocation, or customer-retention offers.
The four types form a progression from understanding the past to influencing the future. However, they are complementary rather than mutually exclusive. A prescriptive recommendation may depend on predictive forecasts, while both rely on accurate descriptive summaries and diagnostic understanding.
Differentiate qualitative and quantitative data, and distinguish the main measurement scales used in analytics.
Qualitative data represents categories or attributes, while quantitative data represents numerical quantities.
The main measurement scales are:
- Nominal: Categories have no natural order. Examples include blood group, city, and product category.
- Ordinal: Categories have a meaningful order, but differences between levels are not necessarily equal. Examples include low, medium, and high satisfaction.
- Interval: Values have equal intervals but no true zero. Temperature in degrees Celsius is an example; C is not twice as hot as C.
- Ratio: Values have equal intervals and a meaningful zero. Examples include age, distance, income, and weight.
Quantitative data may also be:
- Discrete: Countable values, such as the number of purchases.
- Continuous: Measurable values over a range, such as time or height.
The data type determines which summaries, visualizations, and analytical techniques are valid. For example, calculating a mean for nominal categories is not meaningful.
Using a practical problem of your choice, explain how all stages of the data analytics life cycle and all four major types of analysis can work together.
Consider a telecommunications company that wants to reduce customer churn.
Application of the analytics life cycle:
- Data discovery: Define churn, identify stakeholders, establish success measures, and locate billing, usage, complaint, and customer-profile data.
- Data preparation: Join the sources, remove duplicates, handle missing values, encode categories, and create features such as contract age and complaint frequency.
- Model planning: Select classification algorithms, define validation methods, and choose metrics such as precision, recall, and expected retention value.
- Model building: Train and compare models, tune parameters, select a decision threshold, and test performance on unseen data.
- Communicate results: Explain key churn indicators, model limitations, expected benefits, and recommended retention strategies.
- Operationalization: Integrate churn scores into the customer-management system, assign interventions, and monitor model and campaign performance.
Use of the four analysis types:
- Descriptive: Measure current churn by month, region, and plan.
- Diagnostic: Investigate whether complaints, price changes, or service interruptions explain churn.
- Predictive: Estimate each customer's probability of leaving.
- Prescriptive: Recommend the most suitable retention action subject to budget and contact constraints.
This example demonstrates that analytics is an iterative end-to-end process in which data, models, communication, and operational decisions must remain aligned.
Why is learning data science important in the modern world? Explain its significance across different domains.
Data science is important because it enables organizations to convert large volumes of raw data into meaningful information and actionable insights.
Its significance includes:
- Better decision-making: Decisions can be supported by evidence rather than intuition alone.
- Business optimization: Organizations can improve pricing, marketing, inventory, and customer service.
- Prediction: Historical data can be used to forecast demand, risk, failures, or customer behavior.
- Automation: Machine learning models can automate tasks such as fraud detection and recommendation generation.
- Scientific discovery: Researchers can identify patterns in complex medical, environmental, and experimental data.
- Social impact: Governments can use data to improve transportation, education, healthcare, and public services.
Thus, learning data science develops the analytical, statistical, and computational skills required to solve real-world problems using data.
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 →