06 Fundamentals of Computer Systems Flashcards
define hardware
The physical components that make up a computer system
define software
Software comes in the form of programs which are sets of instructions that allow the computer to carry out a wide range of tasks.
define system software
software required to run and manage the computer’s hardware and applications e.g.
define application software
software which allows the user to carry out specific tasks e.g. word processor, spreadsheet software
what are the types of system software?
- operating system
- utility programs
- libraries
- translators
Define operating system
a collection of programs that control the operation of computer hardware
Define utility programs
software used to support the efficient running of the computer by analysing, configuring, optimising and maintaining the computer system
Define libraries
collections of pre-compiled routines that can be repurposed for use in other programs.
This is helpful as common tasks can be written as libraries for repeated use and this saves time e.g. math, random, turtle in Python
Define translators
software tools that are used to convert program code from one format into another, without adjusting the logical operation of the original program code
What are the roles of the OS?
- hide the complexities of the hardware
- Process scheduling
- Memory management
- I/O Device management
- handling interrupts
How does the OS carry out process scheduling?
- An OS schedules processes and switches between them by maintaining a process control block (a list organised by priority)
- Instructions from multiple operations are queued for the processor
- the processor executes a small part of each operation in turn so multiple programs appear to be running at the same time
- the OS allows us to multi-task e.g. music and word processor
- there are different types of scheduling algorithms e.g. Round Robin, shortest job next, priority system
How is memory management done by the OS?
- The OS allows you to run many processes at once
- The OS allocates memory for each process
- If there is not enough space in main memory, the OS creates virtual memory which will hold items in the RAM which are not currently being used
- Instructions and data are swapped in and out of virtual memory by the OS
How is device management done by the OS?
- the operating system makes devices accessible to the computer system through device drivers
- Communicates with I/O devices through the I/O controllers which are part of the CPU
- Checks if the output data is on and ready to receive data
- deals with processor interrupts e.g. out of paper
What are low level languages?
Languages that use the specific instruction set of the processor.
What are high level languages?
High-level languages are programming languages that are designed to allow humans to write computer programs and interact with a computer system without having to have specific knowledge of the processor or hardware that the program will run on.
- syntax reflects language used in everyday life