Beruflich Dokumente
Kultur Dokumente
Interpreter
Reads the source code one instruction or line at a time, converts this line into machine code
and executes it. The machine code is then discarded and the next line is read.
Interpreter advantage
simple and you can interrupt it while it is running, change the program and either continue or
start again
Interpreter disadvantage
every line has to be translated every time it is executed, even if it is executed many times as
the program runs. And because of this interpreters tend to be slow.
IDE
Software application that provides facilities to computer programmers for software
development.
Typically consists of a source code editor, debugger, complier or interpreter and may have a
graphical interface (GUI).
Source code editor
Text editor designed specifically for the writing and editing of source code for computer
programs
highlighting
Displays source code in different colours and fonts according to the category of terms improves the readability and easier to spot mistakes
Autocomplete
Predicting a word or phrase that the user wants to type
Auto Indent
Automatically indent the next line if it is required when the Return key is pressed
Debugger
Used to test the code and highlight and remove programming errors. When an error is found,
it will show its location in the code.
Stepping
Allows the code to be run and inspected one line at a time.
Breakpoints
intentional stopping of the program at a specified place so that the programmer can inspect
the code
Variable tracing
Can see the values of variables at any stage in the running of the program
Auto documentation
Allows the automatic documentation of all the variables and modules used in a text. useful
when teams of programmers are working on the same project to ensure that they all
understand the coding
Algorithm
step-by-step procedure for solving a problem in a finite number of steps
Logic error
Bug or mistake in a programs source code that results in incorrect or unexpected behaviour.
e.g. Wrong operator used
Array
data structure that contains a group of linked elements which are usually of the same data
type. They allow the storing of multiple pieces of data in one variable
Syntax
Defines how declarations, functions, commands, and other statements should be arranged.
Syntax error
Error in the source code of a program. Not following the syntax (rules) of a programming
language