Software Develoment Flashcards
What are some tools that an integrated development environment might have?
editors
runtime environments
automatic line numbering
error diagnosis
colour coding
debugger
trace
break points
variable watch
auto-correct
auto-suggestion
auto-indent
linker
loader
compiler
interpreters
What are some brands of IDE?
Python comes with a simple IDE called IDLE.
Eclipse and Netbeans are two fully featured IDEs used for programming in Java, JavaScript and HTML.
Visual Studio is an IDE that supports several programming languages including Visual Basic.NET and C#.
What is an editor program?
Examples of usage
Editors are software that allow programmers to write and edit code.
automatic line numbering
colour coding
auto-correct
auto-suggestion
auto-indent
What is a debugging tool?
Debugging tools help programmers to locate and fix errors.
What is a break point?
enable a program to be paused or stopped at predetermined points.
What is a variable watch?
see the changing values of variables as the program runs.
What is error tracing?
Some IDEs pinpoint exactly where a syntax error occurs, or at which line in a program an error is generated.
Tracing involves recording information as a program runs to see how different elements of the program are affected as it progresses.
What is a translator?
It’s a program that converts source code into object code.
Re-understanding source code for translators
Any program written in a high-level language is known as source code.
However, computers cannot understand source code. Before it can be run, source code must first be translated into a form which a computer understands - this form is called object code.
What are the three types translators?
Compilers.
Interpreters.
Assemblers.
What is a compiler?
A compiler takes the source code as a whole and translates it into object code all in one go. Once converted, the object code can be run at any time. This process is called compilation.
All of the object files used in a program must be combined before the program can be run.
What are some advantages to compilers?
Compiled programs run quickly since they have already been translated.
A compiled program can be supplied as an executable file.
Compilers optimise code. Optimised code can run quicker and take up less memory space.
What are some disadvantages to compilers?
there must be enough memory space to hold the source code, the compiler and the generated object code.
Compilers do not usually spot errors - the program has to be compiled and run before errors are encountered
The source code must be recompiled every time the programmer changes the program.
Source code compiled on one platform will not run on another - the object code is specific to the processor’s architecture.
What is an interpreter?
An interpreter translates source code into object code one instruction at a time.
It is similar to a human translator translating what a person says into another language, sentence by sentence.
The resulting object code is then executed immediately. The process is called interpretation.
What are some advantages to interpreters?
Instructions are executed as soon as they are translated.
interpreters require less available memory.
Errors can be spotted quickly.