4 - Computer Systems Flashcards
Yhhhhh
Hardware
The physical components that make up a computer system, including processors, memory, storage, and input and output devices
Software
The programs that run on a computer, including operating systems, utility programs and application software (which includes mobile apps)
Logic
In computer science, ‘logic’ refers to producing Boolean outputs (0 or 1; true or false) based on combinations of Boolean inputs
AND
all inputs must be ‘1’ for the output to be ‘1’
OR
If either input, or both inputs, is ‘1’, the output is ‘1’
NOT
the output is simply the opposite of the output
Truth Table
Can be used to map Boolean logic
System Software
Programs that are needed for effective communication with the hardware, and for launching application software. E.g:
- OS, such as windows and Android
- Utility Software, such as antivirus and compression software
Application software
Programs launched from the OS, by the user, to perform a specific task or group of tasks. E.g:
- Desktop apps such as browsers and word processing packages
- Mobile apps
Operating system
OS. A piece of system software that acts as an interface between the user and the hardware, managing all hardware and all other software. If another piece of software is to be launched, it will be launched from the OS
OS complexity
OS are complex pieces of software, often requiring many years and many people to develop them. The reason that they are complex is simply that computers are complex, with many hardware and software that requires management.
Things managed by the OS
- Processors
- Memory
- I/O devices
- Apps
- Security
OS: Processor(s)
The operating system decides…
- which processes will be carried out by which processors
- if multiple processes are running, which one the processor should handle next
- how long a time scale a process should be given, i.i how long before the processor’s attention switches to the next process
OS: Memory
The OS…
- loads programs and data from backup store to main memory
- removes unneeded programs and data to make room for more
- manages virtual memory where part of secondary storage is used as an overflow area for main memory
OS: I/O devices
The OS…
- acts as a go between, passing data from input to application software or application software to output
- manages device drivers, which are programs telling the OS how to communicate with attached input/output devices
OS: Apps
The OS…
- communicates between app software and hardware
- processes requests from app software for resources, such as network connection or a remotely stored file
OS: Security
The OS can…
- manage multiple user accounts, keeping the user’s data separate
- automatically back up data, thereby increasing its security
- handle usernames and passwords to prevent unauthorised access
- recognise one user as an admin, who would have greater access rights
Utility Software
programs that keep the computer functioning efficiently, perhaps by freeing up storage space, removing viruses or ensuring the files are backed u[
Utility: Compression
Reducing the size of a file so that it can be stored using less space or transmitted more quickly
Utility: Defragmentation
Moving separate parts of a file physically together, to speed up disk access
Utility: Backing up
Creating a copy of files, either on the same disk, on a backup device or in the cloud
Backing up can be either full or incremental:
- Full backup involves creating a copy of all files
- Incremental backup involves creating a copy only of files that have been created or edited since the last back-up
Utility: Encryption
Allowing for data to be scrambled in order to prevent unauthorised individuals from understanding any files that they see. This might be for secure storage or secure transmission
Von Neumann Architecture
Data is input, processed by the CPU, which has several components of its own, and output. There is also memory allowing data to be stored. Buses act as connections between them.
There is:
- An input
- A CPU
- An Arithmetic Logic Unit (ALU)
- A Register
- A Control Unit
- Memory
- An Output
The model of Von Neumann Architecture
The model defines the behaviour of many computers. The most advanced gaming PC has a processor (or several), an input in the form of a keyboard and mouse, an output in the form of a display and speakers, and vast memory to store the state of the game.
A digital alarm clock, which is also a computer, has an input (the user can set the alarm), outputs (the current time, and the alarm sound), processing (keeping track of what time it is), and memory (it needs to remember the time of the alarm)