What is a process
📖 Scenario: Imagine you are learning how computers run programs. Each program that runs is called a process. Understanding what a process is helps you know how your computer manages tasks.
🎯 Goal: You will build a simple explanation and example of a process using a list of tasks that a computer might run. This will help you understand the concept of a process in an operating system.
📋 What You'll Learn
Create a list called
tasks with three example tasks: 'Open browser', 'Play music', and 'Write document'Create a variable called
current_task_index and set it to 0Use a
for loop with variable task to go through each item in tasksAdd a final statement that sets a variable
process_state to 'Running'💡 Why This Matters
🌍 Real World
Understanding processes helps you know how your computer runs multiple programs at the same time.
💼 Career
Knowledge of processes is important for roles in IT support, software development, and system administration.
Progress0 / 4 steps