computer systems Flashcards
hardware
Physical component of a computer system
software
Instructions that tell a computer what to do
System software
Allows the user to operate a computer
example:
OS
utilities
libraries
translators (compiler, assembler, interpreter)
Application software
Used to carry out user oriented tasks
e.g. Web browsers
role of operating system/OS
to hide the complexities of the hardware from the user
What does the OS handle
Resource management
Managing hardware to allocate processors
Memories
I/O devices
examples of low level language code
machine-code
assembly language.
what does high-level language include
imperative high level-language:
A program translating high level language by reading each statement in the source code and immediately performing the action
relationship between low level and high level language
high level languages require the use of a compiler of an interpreter for their translation into the machine code.
low level language requires an assembler for directly translating the instructions of the machine language.
machine-code language
Written in binary and can be executed without needing to be translated
assembly language
Written using mnemonics and needs to be translated in order to be executed
pros and cons for assembly language
Easier to correct errors and amend instructions
More compact
It’s machine dependant and you must directly control the exact instruction sequences the processor executes
assembler
Program that translates from code written in assembly language code into machine code
Compiler
A program that translates high level language into machine code by translating all of the code
Interpreter
A program translating high level language by reading each statement in the source code and immediately performing the action