Coding Concepts
Python
Careers in coding
Coding Logic
Everyday coding
100

Why is it important to debug your code?

To identify and fix errors so the program runs as intended.

100

What is a variable in Python?

A container used to store data values.

100

What is a software developer?

A person who designs, builds, and maintains software programs.

100

What does an if statement do in Python?

It allows the program to make decisions based on conditions.

100

Name one everyday device that uses coding to work.

  • Smartphones, smart TVs, or computers.

200

What is an algorithm in coding?

A step-by-step set of instructions to solve a problem or complete a task.

200

What is the purpose of the print() function in Python?

To display output to the screen.

200

What is the role of a front-end developer?

They focus on designing and coding the parts of a website or application that users interact with.

200

What is the purpose of a loop in coding?

To repeat a block of code multiple times

200

How do streaming platforms like Netflix use coding?

They use algorithms to recommend shows and movies based on user preferences.

300

How can learning coding help you in other areas of life or school?

It improves problem-solving, logical thinking, and creativity.

300

What is the difference between a list and a dictionary in Python?

A list is an ordered collection of items, while a dictionary stores key-value pairs.

300

What is the difference between a web developer and a mobile app developer?

A web developer creates websites, while a mobile app developer creates applications specifically for mobile devices.

300

What is the difference between a for loop and a while loop in Python?

A for loop runs a specific number of times, while a while loop runs until a condition is no longer true.

300

How can coding be used in video games?

It controls character actions, graphics, game mechanics, and interactions.

400

Name 4 coding languages 

python, js, css, html 

400

What will the following code output? 

x = 5

y = 10

print(x + y)


15

400

Why is problem-solving an important skill for a career in coding?

Coders often encounter bugs or challenges and need to find effective solutions to make programs work.

400

In Python, what will the following code output? 

for i in range(3):

    print("Hi")


Hi

Hi

Hi


400

What is one way coding helps businesses?

It automates tasks, manages data, or improves customer experiences through apps and websites.

500

Imagine you’re creating a program to track homework assignments. What steps would you take to plan your code before writing it?

Answer: Identify the features needed (e.g., due dates, subjects), decide how to organize the data (e.g., lists or dictionaries), and outline the logic for adding, updating, and viewing assignments.

500

How would you write a loop in Python that prints the numbers 1 to 5?

for i in range(1, 6):    print(i)

500

Name a high paying job that requires coding. How do they use coding in their job? 

ex. A data scientist analyzes and interprets complex data using coding and statistical tools to provide insights and make predictions. 

500

What happens if you write a loop with no way to stop it?

It creates an infinite loop, which can crash your program.

500

How can coding help in fields like medicine or science?

  • It’s used to analyze data, model diseases, or create software for medical equipment.

M
e
n
u