What type of language is Python?
Interpreted(executes the code line-by-line), high-level(because keywords are english-friendly), object-oriented, dynamically typed(interactive).
What does IDE stand for? And what is it ?
Integrated Development Environment.
It is a software that helps you create , edit and debug programs.
Name three examples of IDEs for Python.
What does compiling mean in programming?
Translating the entire program into machine code before execution
How does Python execute code? And how is it called ?
Line by line. It is called interpreting.
What are the two modes in which Python can run?
What is IDLE in Python?
Python’s built-in lightweight IDE, good for beginners
What is PyCharm known for?
A powerful professional IDE for larger projects
What are identifiers in Python?
Names for variables, functions, or classes
What must identifiers in Python begin with?
A letter or underscore
What characters can identifiers contain?
Are identifiers in Python case-sensitive?
Yes
What are reserved words in Python?
Keywords with special meaning that cannot be used as identifiers
Give three examples of reserved words in Python.
How does Python define blocks of code?
Using indentation
What is the conventional number of spaces for indentation in Python?
4 spaces
What can cause errors related to indentation in Python?
Mixing tabs and spaces
How can multi-line statements be written in Python?
What types of quotes can strings in Python use?
How are comments written in Python?
What does Python’s clear syntax contribute to its ease of use?
Its English-like syntax and lack of compilation steps
Why is Python considered a high-level language?
It abstracts away complex low-level details
What is a code?
A set of instructions written in a programming language that tells the computer what to do.
What is a code editor?
A software tool used to write and edit code, often providing features like syntax highlighting and auto-completion.