0% found this document useful (0 votes)
4 views17 pages

Excel and Python Questions

The document provides an extensive overview of MS Excel and Python, detailing their functionalities, applications, and differences. It covers various Excel features such as formulas, functions, data analysis tools, and visualization techniques, as well as Python's capabilities in data analytics and handling large datasets. Additionally, it discusses how both tools can be utilized in business contexts, particularly in insurance analytics.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views17 pages

Excel and Python Questions

The document provides an extensive overview of MS Excel and Python, detailing their functionalities, applications, and differences. It covers various Excel features such as formulas, functions, data analysis tools, and visualization techniques, as well as Python's capabilities in data analytics and handling large datasets. Additionally, it discusses how both tools can be utilized in business contexts, particularly in insurance analytics.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1. What is MS Excel and where is it used?

MS Excel is a spreadsheet software used to store, organize, analyze, and visualize data.​
It is widely used for calculations, reporting, data analysis, and dashboards.​
Businesses use Excel for MIS reports, financial analysis, and forecasting.​
In insurance, Excel is used for claim analysis, premium tracking, and risk analysis.

2. What are rows, columns, and cells?


Rows are horizontal lines represented by numbers.​
Columns are vertical lines represented by letters.​
A cell is the intersection of a row and a column.​
Each cell stores data such as text, numbers, or formulas.

3. What is a workbook and a worksheet?


A workbook is an Excel file that contains one or more worksheets.​
A worksheet is a single spreadsheet within a workbook.​
Workbooks help organize related data in one file.​
Each worksheet can store separate datasets.

4. What is a cell reference?


A cell reference identifies the location of a cell.​
Example: A1 refers to column A and row 1.​
Cell references are used in formulas.​
They allow Excel to perform calculations dynamically.

5. What are relative, absolute, and mixed references?


Relative reference changes when copied (A1).​
Absolute reference remains fixed using $ ($A$1).​
Mixed reference locks either row or column ($A1 or A$1).​
They are used to control formula behavior.
🔢 FORMULAS & FUNCTIONS
6. What is the difference between a formula and a
function?
A formula is a user-created expression like =A1+A2.​
A function is a predefined formula like =SUM(A1:A5).​
Functions simplify complex calculations.​
Both are used for data processing.

7. Difference between COUNT, COUNTA, COUNTBLANK


COUNT counts numeric cells only.​
COUNTA counts all non-empty cells.​
COUNTBLANK counts empty cells.​
They are used to understand data completeness.

8. Difference between SUM, AVERAGE, MEDIAN


SUM adds values.​
AVERAGE gives the mean.​
MEDIAN gives the middle value.​
Median is preferred for skewed data.

9. What is IF function?
IF function performs logical testing.​
Syntax: IF(condition, value_if_true, value_if_false).​
It is used for decision making.​
Example: Pass or Fail logic.

10. What is Nested IF?


Nested IF means using multiple IF conditions.​
It helps handle multiple scenarios.​
Example: Grade calculation.​
However, it becomes complex for many conditions.

🔍 LOOKUP & REFERENCE


11. What is VLOOKUP?
VLOOKUP searches for a value vertically.​
It retrieves matching data from another column.​
Syntax: VLOOKUP(value, table, col, match).​
Used in reports and reconciliation.

12. Limitations of VLOOKUP


Can search only left to right.​
Breaks if columns are inserted.​
Slower on large data.​
Cannot return multiple values.

13. Difference between VLOOKUP and HLOOKUP


VLOOKUP searches vertically.​
HLOOKUP searches horizontally.​
VLOOKUP is more commonly used.​
HLOOKUP is rarely used in practice.

14. What is INDEX and MATCH?


INDEX returns value from a position.​
MATCH returns position of a value.​
Together they replace VLOOKUP.​
They are flexible and faster.
15. Why INDEX-MATCH is better than VLOOKUP?
Works in any direction.​
Does not break when columns change.​
More efficient for large data.​
Preferred by analysts.

📊 DATA ANALYSIS & REPORTING


16. What is a Pivot Table?
Pivot Table summarizes large datasets.​
It allows grouping, filtering, and aggregation.​
Used for reports and analysis.​
Very powerful for MIS.

17. Advantages of Pivot Tables


Fast data summarization.​
No complex formulas needed.​
Dynamic filtering and grouping.​
Ideal for decision making.

18. What is sorting and filtering?


Sorting arranges data in order.​
Filtering shows specific records.​
Used for data exploration.​
Improves analysis efficiency.

19. What is conditional formatting?


Conditional formatting highlights data visually.​
It uses rules like color scales.​
Helps identify trends and outliers.​
Useful in dashboards.

20. What is data validation?


Data validation restricts data entry.​
Ensures accuracy and consistency.​
Example: dropdown lists.​
Used to avoid errors.

📈 CHARTS & VISUALIZATION


21. Types of charts in Excel
Bar, column, line, pie, area charts.​
Each serves different purposes.​
Used to visualize trends.​
Makes data understandable.

22. Bar chart vs Line chart


Bar charts compare categories.​
Line charts show trends over time.​
Choice depends on data type.​
Used in reports.

23. What is a dashboard?


Dashboard is a visual summary of KPIs.​
Uses charts, tables, and indicators.​
Helps management take decisions.​
Often interactive.
🧹 DATA CLEANING
24. What is Text to Columns?
Splits data into multiple columns.​
Based on delimiter or fixed width.​
Useful for raw data cleaning.​
Saves manual effort.

25. TRIM, LEFT, RIGHT, MID functions


TRIM removes extra spaces.​
LEFT, RIGHT extract characters.​
MID extracts text from middle.​
Used in text cleaning.

26. How do you remove duplicates?


Using “Remove Duplicates” tool.​
Based on selected columns.​
Ensures data uniqueness.​
Important for accuracy.

27. How do you handle missing data?


Using blanks, zero, or average.​
Depends on business context.​
Sometimes rows are removed.​
Handled carefully.

🔐 DATA SECURITY
28. How do you protect a worksheet?
Using password protection.​
Cells can be locked.​
Prevents unauthorized changes.​
Important for sensitive data.

29. What is cell locking?


Locked cells cannot be edited.​
Works with worksheet protection.​
Used for formulas.​
Ensures data integrity.

🚀 ADVANCED EXCEL
30. What is Power Query?
Power Query is data transformation tool.​
Used to clean and merge data.​
Automates data preparation.​
Very useful for analysts.

31. What is Power Pivot?


Power Pivot handles large datasets.​
Uses data models.​
Supports DAX formulas.​
Used in advanced analytics.

32. What are macros?


Macros automate repetitive tasks.​
Recorded or written in VBA.​
Saves time and effort.​
Used carefully.

33. What is VBA?


VBA is Excel’s programming language.​
Used to create macros.​
Automates complex tasks.​
Requires coding knowledge.

📌 SHORT & TRICKY


34. Difference between XLS and XLSX
XLS is older format.​
XLSX supports larger data.​
XLSX is more secure.​
Widely used now.

35. What is Freeze Panes?


Locks rows or columns.​
Helps view headers.​
Improves navigation.​
Used in large sheets.

36. What is Name Manager?


Assigns names to ranges.​
Improves formula readability.​
Used in complex models.​
Reduces errors.
37. What is What-If Analysis?
Analyzes different scenarios.​
Includes Goal Seek, Data Tables.​
Used for forecasting.​
Supports decision making.

38. What is Goal Seek?


Finds input for desired output.​
Works on one variable.​
Used in financial analysis.​
Simple optimization tool.

39. What is Solver?


Solver optimizes multiple variables.​
Used for constraints.​
Advanced what-if tool.​
Used in operations analysis.

🎯 BUSINESS / INSURANCE CONTEXT


40. How will you analyze insurance claim data in Excel?
Using Pivot Tables and charts.​
Identify claim frequency and severity.​
Find trends and outliers.​
Supports business decisions.

41. How do you find outliers?


Using conditional formatting.​
Using statistical limits.​
Visual inspection via charts.​
Important for fraud detection.

42. How can Excel help in fraud detection?


Pattern analysis and filters.​
Identify abnormal claims.​
Compare historical data.​
Early warning tool.

43. How do you create MIS reports?


Using Pivot Tables and charts.​
Standard KPIs are tracked.​
Automated refresh.​
Presented to management.

44. How do you track KPIs?


Define KPIs first.​
Use formulas and charts.​
Create dashboard.​
Monitor performance.

🧠 WHY QUESTIONS
45. Why Pivot Tables over Formulas?
Faster and flexible.​
No complex formulas.​
Easy grouping and filtering.​
Ideal for large data.
46. Why is Excel still relevant?
Easy to use.​
Widely accepted.​
Flexible and powerful.​
Integrates with BI tools.

47. Why Excel for analytics?


Quick analysis.​
Low learning curve.​
Strong visualization.​
Good for ad-hoc analysis.

48. How Excel supports decision making?


Summarizes data.​
Shows trends and insights.​
Supports forecasting.​
Improves business outcomes.

🅐 PYTHON BASICS (VERY IMPORTANT)


1. What is Python and why is it used in analytics?

👉 Python is a high-level, interpreted language widely used for data analysis due to its
simplicity, rich libraries like Pandas and NumPy, and strong community support. It allows
faster data processing and easy implementation of analytical models.

2. Why Python is preferred over Excel for large data analysis?

👉 Python can handle very large datasets efficiently, automate repetitive tasks, perform
complex calculations, and integrate with databases and visualization tools, whereas Excel
has size and performance limitations.
3. Is Python interpreted or compiled?

👉 Python is an interpreted language, meaning code is executed line by line. This makes
debugging easier and development faster, which is useful in analytics and reporting tasks.

4. What are Python data types used in analytics?

👉 Common data types include int, float, string, list, tuple, dictionary, and set. In analytics,
lists and dictionaries are frequently used for storing structured data.

5. What is dynamic typing in Python?

👉 Python determines the data type of a variable at runtime. This makes coding faster but
requires careful handling to avoid logical errors.

🅑 DATA STRUCTURES (HIGH FREQUENCY)


6. Difference between list and tuple

👉 Lists are mutable (can be changed), while tuples are immutable. Lists are used when
data changes frequently; tuples are used when data integrity is important.

7. Difference between list and dictionary

👉 A list stores ordered values, while a dictionary stores key-value pairs. Dictionaries are
preferred for fast lookups in analytics.

8. What is mutable vs immutable data?

👉 Mutable objects like lists can be modified, while immutable objects like strings and tuples
cannot. This affects memory usage and program behavior.

9. What is slicing in Python?

👉 Slicing is used to extract a portion of a sequence. It is commonly used in data


preprocessing.
🅒 CONTROL FLOW & FUNCTIONS
10. What is a function in Python?

👉 A function is a reusable block of code that performs a specific task. It improves


readability and reduces redundancy.

11. What is lambda function?

👉 Lambda is an anonymous one-line function used for simple operations, often used with
map and filter functions.

12. What is *args and **kwargs?

👉 *args allows passing multiple positional arguments, and **kwargs allows multiple
keyword arguments, making functions flexible.

13. What is list comprehension?

👉 List comprehension provides a concise way to create lists and is widely used in data
transformation.

🅓 FILE HANDLING & DATA PROCESSING


14. How do you read data from a file in Python?

👉 Using open() function with read or readlines methods. Commonly used for reading CSV
or log files.

15. How do you write data to a file?

👉 Using write() or writelines() methods, useful for generating reports.


16. Difference between read(), readline(), readlines()

👉 read() reads entire file, readline() reads one line, readlines() reads all lines into a list.

🅔 EXCEPTION HANDLING (IMPORTANT)


17. What is exception handling?

👉 It is a mechanism to handle runtime errors using try-except blocks, ensuring program


continuity.

18. Difference between error and exception

👉 Errors are serious issues that stop execution, while exceptions can be handled gracefully.

19. What is finally block?

👉 The finally block executes regardless of exception, often used for resource cleanup.

🅕 PYTHON FOR DATA ANALYTICS (CORE AREA ⭐)


20. What libraries are used for data analysis in Python?

👉 Pandas, NumPy, Matplotlib, Seaborn, and Scikit-learn are commonly used.

21. What is Pandas?

👉 Pandas is a library for data manipulation and analysis using DataFrames.

22. Difference between NumPy and Pandas

👉 NumPy handles numerical arrays efficiently, while Pandas provides labeled data
structures for analysis.
23. What is a DataFrame?

👉 A DataFrame is a tabular data structure similar to an Excel sheet with rows and columns.

24. How do you handle missing values in Python?

👉 By using methods like dropna(), fillna(), or replacing with mean/median.

25. What is data cleaning?

👉 It is the process of correcting or removing inaccurate data to improve analysis quality.

🅖 PYTHON + BUSINESS / INSURANCE USE CASES


(VERY IMPORTANT)
26. How can Python help in insurance analytics?

👉 Python helps in claim analysis, fraud detection, risk assessment, and premium
optimization using data-driven insights.

27. How can Python reduce claim settlement time?

👉 By automating claim validation, detecting anomalies, and generating faster reports.

28. How can Python be used in fraud detection?

👉 Using pattern analysis, outlier detection, and machine learning models.

29. What KPIs can be analyzed using Python?

👉 Claim ratio, loss ratio, settlement time, policy renewal rate, and fraud rate.

30. How do you visualize data in Python?


👉 Using libraries like Matplotlib and Seaborn to create charts for management insights.

🅗 CONCEPTUAL / TRICK QUESTIONS


31. Difference between == and is

👉 == checks value equality, while is checks memory reference equality.

32. What is iterator?

👉 An object that allows traversing elements one by one.

33. What is generator?

👉 A function that returns values one at a time using yield, saving memory.

34. Difference between list and generator

👉 List stores all values in memory, generator produces values on demand.

35. What is time complexity?

👉 It measures execution time growth relative to input size.

🅘 HR + PYTHON LINKED QUESTIONS


36. How strong are you in Python?

👉 I am comfortable using Python for data analysis, automation, and reporting, especially
using Pandas and NumPy.

37. Have you used Python in real projects?


👉 Yes, for data analysis, report automation, and handling structured datasets.

38. How will you explain Python output to non-technical managers?

👉 By converting insights into charts, KPIs, and simple business language.

You might also like