Computer Systems Flashcards
Application Software
Performs user oriented tasks
System Software
Software used in mainting a computer system
Types of system software: (4)
-Operating system
-Utility programs
-Library programs
-Translators
Functions of operating system:
-Hide the complexities of the hardware from the user
-To handle interrupts
-To allocate processors to processes
-Memory management
-Manage power consumption
-Installation of new software
Utility programs
Used for completing housekeeping tasks in a computer system. Such as data backup, defragmentation and encryption
Library programs
Contain pre written code of frequently used functions by a program
e.g. NetFramework
Translators
Pieces of software which translate between different types of languages
3 types of translators
-Assembler
-Compiler
-Interpreter
Portability of low level language
Not portable. Programs are written for specific hardware
Portablility of high level language
Portable. Programs are not specific to any processor
Impertive Language
Programming language built on the programming paradigm of using subroutines and procedures as instructions to change a program’s state and describe how a program operates
Assembler
Translates assembly code into machine code. Assemblers are platform specific
Compiler
Used to translate programs written in high level language into machine code. take a high level program as their source code, check it for any errors and then translate the entire program at once.
Interpreter
Translates high level language into machine code line by line. Interpreters check for errors as they go, this means a program with errors can be partially translated up to an error
Use of intermediate languages in compilers
Some complilers dont produce machine code straight away but rather translate it into an intermediate language, such as bytecode, which allows for platform inderpendence. Then use a virtual machine to exectute the bytecode on different processors. Each different processor instruction set will have its own virtual machine. Using an intermediate language allows the interpreter to translate the source code just once.