Computer system Flashcards
What is a computer?
- a machine that processes data
Hardware
- physical component of a computer system
Embedded System
- a computer system built into a device
Control Unit
- controls the flow of data in and out of the CPU
CPU
- processes instructions and data
Registers
Examples:
- program counter
- accumulator register
- memory address register
- memory data register
- store data before its needed by CPU to be read to, written to, deleted or moved to another area
Accumulator Logic Unit
- stores results of logic calculations and preforms division, multiplications, addition and subtraction
Cache
- small memory store that contains frequently used data for faster access
- there are 3 levels ; higher level = lower capacity and faster access speed
Fetch Decode Execute cycle
1 - copy the memory address from the program counter to the memory address register
2 - copy the instruction form memory address register to the memory data register
3 - program counter is incremented (increased) to point to the next data address instruction
4 - the instruction is decoded in the control unit and prepares for the next step
5 - the instruction is carried out
Volatile
- data/ files that are deleted when device is switched off/ temporary
Non Volatile
- data/ files that are not deleted when device is turned off/ permanent
Random access memory
- stores data from in use program
- can be read and written to
Read only memory
- stores data required for programs to run
- can only be read to
Random Access Memory
- volatile
- stores data, files and programs when they’re in use
- can be read and written to
Read Only Memory
- non volatile
- contains the BIOS that allows a device to boot up
- when the computer is turned on the CPU reads instructions from ROM to do self checks and set up the computer
Virtual Memory
- used when RAM is full or low on storage
- its has slower access speed and lower capacity than RAM
- data is moved from VM back to RAM when it needs to be read
Clock speed
- number of instructions that can be carried out by CPU per second
- measure in Hz/GHz; 1GHz = 1 billion instructions per second
Cores
- A core is a section of the CPU that independently carries out instructions
- more instructions = faster access
Primary Storage
- mostly volatile
- areas that can be accessed by the CPU very quickly
- stores data from in use programs
- ROM, cache, RAM and CPU registers
- fastest read and write speeds
Secondary Storage
- non volatile
- where all data (operating systems, applications and user files) are stored when not in use
- includes hard disk drives, solid state drives, CDs and SD cards
- read and write speeds are slower compared to primary storage
Tertiary Storage
- non volatile
- used for storing data long term
- mainly used for archives and backups for large amounts of data
Hard Disk Drive
- traditional internal storage in PCs and laptops
- made up of a stack of magnetised metal disks
- data is stored magnetically in small areas called sectors, within circular tracks
- read and write heads on a moving arm are used to locate sectors
- portable HDDs are popular for backing up and transporting large amounts of data
Summary of secondary storage
slowest - fastest:
- optical, memory card, magnetic tape, HDD, SSD
cheapest - most expensive:
- magnetic tape, optical disc, HDD, memory card, SSD
lowest capacity - highest capacity:
- optical disc, memory cards, SSD, HDD, magnetic tape