Why is programming useful for data analysis?
Programming allows you to automate tasks, manipulate large datasets, and perform repeatable analyses efficiently.
Name two beginner-friendly programming languages often used in data analysis.
Python and R
What is a variable in programming?
A container that stores a value which can be used and manipulated in code.
A ______ is a reusable block of code that performs a specific task.
Function
What is a list (or array) in programming?
A collection of items stored in a specific order that can be accessed and manipulated.
A ______ loop allows a block of code to repeat until a condition is met.
While / For
Which of these is an example of a programming task in data analysis?
A) Sorting a dataset
B) Cleaning missing values
C) Calculating averages
D) All of the above
D) All of the above
What does “syntax” mean in programming?
The set of rules that defines how code must be written for it to run correctly.
Why is debugging important?
To find and fix errors in code, ensuring accurate results and smooth execution.
Writing clear and readable code is called ______.
Code readability / clean coding
Give an example of a data-related task that can be automated with programming.
Examples: reading multiple files, cleaning repeated errors, generating reports.
Why is understanding programming logic important before using advanced tools like Power BI or Tableau?
It helps you understand how data is processed, transformed, and can be prepared for visualization.