Mapa mental
Computer Systems - Part 2; Libraries, software development environment
Contenido del mapa
Computer Systems - Part 2; Libraries, software development environment
Software development environment
- Software development environments, also known as Integrated Development Environments (IDE), provide programmers with various tools that are needed to create computer programs.
- Here are some of the tools and facilities offered by software development environments:
- Editor: Allows a programmer to enter, format and edit source code
- Compiler: Converts source code into executable machine code. Once compiled, a program can be run at any time
- Loader: A program which loads previously compiled code into memory
- Linker:: A program which allows previously compiled code, from software libraries, to be linked together
- Interpreter: Converts each line of source code into machine code, and executes it as each line of code is run. The conversion process is performed each time the program needs to be run
- Variable watch A facility which displays the current value of any variable. The value can be 'watched' as the program code is single-stepped to see the effects of the code on the variable. Alternatively a variable watch may be set, which will interrupt the program flow if the watched variable reaches a specified value
- Trace: A facility which displays the order in which the lines of a program are executed, and possibly the values of variables as the program is being run
- Break point A facility which interrupts a program on a specific line of code, allowing the programmer to compare the values of variables against expected values. The program code can then usually be executed one line at a time. This is called single-stepping
- Debugger: A program which helps locate, identify and rectify errors in a program
- Memory inspector: A facility which will display the contents of a section of memory
- Error diagnostics: Used when a program fails to compile or to run. Error messages are displayed to help the programmer diagnose what has gone wrong
- Here are some of the tools and facilities offered by software development environments:
- Software development environments, also known as Integrated Development Environments (IDE), provide programmers with various tools that are needed to create computer programs.
Libraries
- Definition
- A library is a collection of commonly used private functions and subprograms. Examples of private functions include standard mathematical operations such as square root, random number generators
- Examples of subprograms include standard input/output routines, such as saving data to disk. These functions and subprograms can be called from within your program anytime, but only when the appropriate library has been linked.
- Advantages
- Related private functions and subprograms are stored in the same location
- Programs will contain less code and will therefore be easier to maintain
- Subroutines contained in a library have already been tested, so they should work reliably and not need further testing
- Time is saved as the programmer can simply use the private functions and programs stored in a library
- Definition
Información
- Descripción
- Libraries, software development environment
- Creado por
- Afshin N
- Visitas
- 2
- Valoración