What is Debugging & Terminal? 🤔 | Programming Basics for Beginners

Опубликовано: 15 Август 2026
на канале: Prismatix 4
3
1

What do programmers do when their code doesn't work? 🐞💻

In our previous lesson, we learned about algorithms and flowcharts.

Today, we're moving into two practical skills that every programmer needs:

🐞 1. Debugging Mindset

Programs don't always work perfectly on the first attempt—and that's completely normal!

We'll learn what debugging means and how programmers investigate and fix problems in their code.

You'll learn about:

🔹 What is a bug?
🔹 What is debugging?
🔹 How to develop a debugging mindset
🔹 How to think like a programmer when something goes wrong
🔹 Syntax errors
🔹 Runtime errors
🔹 Logical errors
🔹 How to compare the expected result vs actual result

Instead of saying:

❌ "My program doesn't work!"

we'll learn to think:

🔍 "What did I expect? What actually happened? Where did the difference begin?"

💻 2. Terminal / Command Prompt

We'll also discover the Terminal and learn how programmers communicate with their computers using commands.

You'll understand:

🔹 What is a Terminal?
🔹 What is Command Prompt (CMD)?
🔹 What is PowerShell?
🔹 How terminals differ across Windows, Linux, and macOS
🔹 How to run a Python program from the terminal
🔹 Basic commands such as cd, dir, ls, and python --version
🔹 Why programmers use terminals for development and troubleshooting

For example:

python hello.py

can be used to run a Python program directly from the terminal.

🔄 Debugging + Terminal

These two concepts work together constantly:

Write Code

Run Program

Something Wrong?

Read the Error

Find the Cause

Fix the Code

Run Again

Working Program

The most important lesson is:

Good programmers don't avoid errors. They learn how to understand and fix them.

So remember:

🐞 Debugging Mindset → Investigate, understand, test, and fix.

💻 Terminal → Communicate with and control your computer using commands.

In the next lesson, we'll explore programming languages and understand why there are so many languages such as Python, C, C++, Java, and JavaScript.

See you in the next lesson! 👋

Like 👍 | Share 🔄 | Subscribe 🔔 to Prismatix 4

#Debugging #Terminal #ProgrammingForBeginners #PythonForBeginners #LearnProgramming #CodingForBeginners #CommandPrompt #Python #ComputerScience #Prismatix4