The IDE Flashcards
What does IDE stand for?
Integrated Development Environment, e.g. Google Colab, Python IDLE
What are the 3 main tools in the IDE?
Source Code Editor
Error Diagnostic
Runtime Environment
What is the purpose of the source code editor?
This is where you write/edit the code, including features such as prettyprint, indentation etc.
What are the maintainability features of the source code editor?
Modularity - functions and procedures
#Comments - describing what code does
Indentation - makes it easier to read and follow, e.g. when you have multiple indentations
What are the maintainability features of the source code editor?
Modularity - functions and procedures
#Comments - describing what code does
Indentation - makes it easier to read and follow, e.g. when you have multiple indentations
What is the purpose of the error diagnostic?
To find the syntax errors, e.g. the interpreter reads the code line by line and stops when a syntax error is found - it can identify the line, the type of error and in Google Colab, had a red line underneath the error.
What is the purpose of the runtime environment?
It is where the syntax-correct code is run and enables the programmer to spot logic errors.
What is a logic error?
The program runs, but it does not run as expected, e.g. it does not do what it is meant to do and gives unexpected output.
What is a syntax error?
When the code does not follow the rules of the language.