Data Science — 50 Short Questions & Answers
Simple English, easy to learn
Q1. What is Data Science?
Data Science is a field where people use coding, math, and statistics together to dig through raw data and pull out useful, meaningful information from it.
Q2. What is a Data Science workflow?
It is the step-by-step path a project follows: collecting data, cleaning it, exploring it, building a model, checking results, and finally sharing what was learned.
Q3. Why is Python popular in Data Science?
Python is easy to read and write, even for beginners, and it comes with strong libraries like NumPy, Pandas, Matplotlib, and Scikit-learn that make data work much simpler.
Q4. What is Jupyter Notebook?
Jupyter Notebook is a tool where you can write code, run it piece by piece, and instantly see the output, charts, and notes, all together in one document.
Q5. What is Google Colab?
Google Colab is a free, cloud-based version of Jupyter Notebook. It runs Python code directly in your browser, so you don't need to install anything on your computer.
Q6. What is NumPy?
NumPy is a Python library built for fast number crunching. It gives you powerful arrays and math functions that work much faster than plain Python lists.
Q7. What is an ndarray?
An ndarray is NumPy's core object for storing numbers. It can hold data in one, two, or many dimensions, and supports quick, efficient calculations on all of it.
Q8. What is Pandas?
Pandas is a Python library made for handling data tables. It helps you load, clean, filter, sort, and analyze data quickly, almost like using Excel but with code.
Q9. What is a DataFrame?
A DataFrame is Pandas' main structure for storing data. It looks like a table with labeled rows and columns, similar to a spreadsheet, and holds most real datasets.
Q10. What is a Pandas Series?
A Series is a single labeled column of data in Pandas. Think of it as one column pulled out of a spreadsheet, with an index attached to each value.
Q11. What is data cleaning?
Data cleaning means finding and fixing problems in a dataset, such as missing entries, duplicate rows, wrong formats, or typing errors, so the data becomes trustworthy.
Q12. What are missing values?
Missing values happen when no data was recorded for a certain spot in a dataset. They show up as blank cells or special markers like NaN or null.
Q13. How can missing values be handled?
You can simply remove rows with missing values, or fill them in using the average, the most common value, or another smart method that fits the situation.
Q14. What is an outlier?
An outlier is a data point that is very different from most other values in the dataset. It might come from an error, or it could represent something genuinely unusual.
Q15. What is data preprocessing?
Data preprocessing is the stage where raw, messy data gets cleaned, reshaped, encoded, and scaled so it becomes ready for analysis or for training a machine learning model.
Q16. What is data transformation?
Data transformation means changing the shape, format, or scale of data so it fits better for the analysis or model you plan to use, without losing its original meaning.
Q17. What is feature scaling?
Feature scaling adjusts numeric columns so they sit within a similar range. This stops one large-scale feature from unfairly dominating a machine learning model.
Q18. What is categorical data?
Categorical data represents groups or labels rather than numbers, such as colors, cities, or types of products. It is usually converted into numbers before modeling.
Q19. What is data acquisition?
Data acquisition is the process of gathering the data you need from sources like files, databases, APIs, websites, sensors, or even surveys filled out by people.
Q20. What is an API?
An API, or Application Programming Interface, is a set of rules that lets two different software programs talk to each other and exchange data smoothly.
Q21. What is web scraping?
Web scraping is the technique of writing code that automatically visits websites and pulls out useful information, saving you from copying it by hand.
Q22. What is BeautifulSoup?
BeautifulSoup is a Python library that reads the HTML code of a webpage and helps you easily find and extract specific pieces, like headings, links, or tables.
Q23. What is Selenium?
Selenium is a tool that controls a real web browser through code. It is especially useful for scraping websites where content loads dynamically with JavaScript.
Q24. What is JSON?
JSON stands for JavaScript Object Notation. It is a lightweight, text-based format used to store and send structured data, and it is very common in API responses.
Q25. What is CSV?
CSV means Comma-Separated Values. It is a simple text file format used to store table-like data, where each value in a row is separated by a comma.
Q26. What is SQL?
SQL stands for Structured Query Language. It is used to talk to relational databases, allowing you to retrieve, insert, update, or delete stored data.
Q27. What is a SQL JOIN?
A JOIN is a SQL operation that combines rows from two or more tables based on a column they share, letting you pull related data together into one result.
Q28. What is EDA?
EDA, or Exploratory Data Analysis, is the process of carefully looking through a dataset using statistics and charts to spot patterns, problems, and useful insights.
Q29. Why is EDA important?
EDA helps you truly understand your dataset before doing anything advanced. It reveals errors, unusual values, and relationships that guide your next analysis steps.
Q30. What is data visualization?
Data visualization is turning numbers and data into pictures, like graphs and charts, so people can understand trends and patterns much more quickly than reading raw numbers.
Q31. What is Matplotlib?
Matplotlib is a widely used Python library for creating charts and graphs, such as line plots, bar charts, and histograms, to visually represent data.
Q32. What is Seaborn?
Seaborn is a Python visualization library built on top of Matplotlib. It makes it easier to create attractive, detailed statistical charts with less code.
Q33. What is a histogram?
A histogram is a chart that groups numeric data into ranges, called bins, and shows how many values fall into each range, revealing the data's overall shape.
Q34. What is a scatter plot?
A scatter plot uses dots to show the relationship between two numeric variables, making it easy to spot trends, clusters, or connections between them.
Q35. What is a bar chart?
A bar chart uses rectangular bars to represent and compare values across different categories, making differences between groups easy to see at a glance.
Q36. What is the mean?
The mean is the average of a set of numbers. You calculate it by adding all the values together and then dividing that total by how many values there are.
Q37. What is the median?
The median is the middle number in a dataset once all the values have been sorted from smallest to largest. It splits the data into two equal halves.
Q38. What is standard deviation?
Standard deviation is a number that tells you how spread out the values in a dataset are compared to the average. A bigger number means more spread.
Q39. What is correlation?
Correlation measures how strongly two variables are related and in which direction, showing whether they tend to increase together, decrease together, or show no pattern.
Q40. What is Machine Learning?
Machine Learning is a branch of artificial intelligence where computer programs learn patterns directly from data, so they can make predictions or decisions on their own.
Q41. What is supervised learning?
Supervised learning trains a model using data that already includes the correct answers, called labels, so the model learns to map inputs to the right outputs.
Q42. What is unsupervised learning?
Unsupervised learning works with data that has no labels or correct answers given. The model instead tries to find hidden patterns or groupings on its own.
Q43. What is classification?
Classification is a supervised learning task where the model sorts data into predefined categories, such as deciding whether an email is spam or not spam.
Q44. What is clustering?
Clustering is an unsupervised learning technique that groups similar data points together into clusters, without using any predefined labels to guide it.
Q45. What is Scikit-learn?
Scikit-learn is a popular Python library that provides ready-made tools for machine learning tasks, including preprocessing, training models, and evaluating results.
Q46. Why is data divided into training and testing sets?
Splitting data lets you train the model on one portion and then test it on data it has never seen, giving an honest picture of how well it will really perform.
Q47. What is accuracy?
Accuracy is a simple metric that shows the percentage of predictions a model got completely correct out of all the predictions it made.
Q48. What is precision?
Precision looks only at the cases the model predicted as positive, and tells you what fraction of those predictions were actually correct.
Q49. What is a confusion matrix?
A confusion matrix is a table that lays out a classification model's correct and incorrect predictions, broken down by actual versus predicted categories.
Q50. What is a data science project?
A data science project is a complete, real-world task where the full data science workflow, from collecting data to sharing results, is used to solve an actual problem.

