components of a computer system Flashcards
what is the purpose of a computer?
- to take data, process it, then output it, and doing this more efficiently than humans.
what does a computer system consist of?
- consists of hardware and software that work together to process data / complete tasks.
what is hardware?
- the physical stuff that makes up your computer system, like the CPU, motherboard, monitor and printer.
what is software?
- the programs or applications that a computer system runs e.g. an OS, a word processor or video game.
what are peripherals?
- external pieces of hardware like the keyboard, mouse and printer.
what are the different types of computer system?
- general purpose: designed to perform many tasks like PC’s and tablets.
- dedicated systems: designed for one particular function like controlling traffic lights or an aeroplane.
what are embedded systems?
- computers built into other devices, like dishwashers, microwaves and TV’s.
- usually dedicated systems.
what is the purpose of embedded systems?
- usually used as control systems (monitor and control machinery in order to achieve a desired result).
embedded vs. general
- embedded systems are dedicated to a single task so are usually easier to design, cheaper to produce and more efficient at doing their task than a general purpose computer.
what are the main hardware components of a computer and what do they do?
- power supply: supplies power to motherboard, optical and hard drives, and other hardware.
- case cooling fan: extracts hot air from the computer case.
- CPU heat sink and cooling fan: keeps CPU at steady temperature as they generate a lot of heat.
- CPU (under heat sink): does all processing and is most important component.
- graphics card.
- motherboard: main circuit board in computer, where the hardware is connected.
- hard disk drive: internal secondary storage.
- RAM sticks: computer memory.
- optical drive: for read/writing of optical disks.
what is the purpose of the CPU?
- processes all of the data and instructions that make a system work, and carries them out.
- is the brain of the computer system.
what are the main components of the CPU?
- the control unit (CU).
- the arithmetic logic unit (ALU).
- the cache.
- various registers.
what does CPU stand for?
- central processing unit.
what does the CU do?
- in overall control of the CPU.
- main job is to execute program instructions by following the fetch-decode-execute cycle.
- controls flow of data inside the CPU (to registers, ALU, cache) and outside CPU (to main memory and input/output devices).
what does the ALU do?
- does all calculations (simple addition and subtraction, compares size of numbers and can do multiplications and divisions using repeated addition and subtraction).
- performs logic operations such as AND, OR and NOT and binary shifts.
- contains accumulator register.
what is cache?
- very fast memory in the CPU.
- slower than registers but faster than RAM.
- stores regularly used data so CPU can access it quickly when next needed (when CPU requests data, it checks cache first to see if data is there, else, it fetches it from RAM).
- very low capacity and expensive compared to RAM and secondary storage.
what are the different levels of cache memory?
- L1 is quickest but has lowest capacity.
- L2 slower but can hold more.
- L3 slower but can hold more.
what are registers?
- in CPU, and temporarily hold tiny bits of data needed by CPU.
- super quick to read/write to (way quicker than any other form of memory).
what is Von Neumann architecture?
- describes a system where the CPU runs programs stored in memory.
- programs consist of instructions and data which are stored in memory addresses.
- came up with his design in 1945.
what are the features of Von Neumann architecture?
- program counter (PC) in CU.
- accumulator in ALU.
- registers: memory address register (MAR) and memory data register (MDR).
- only uses one memory for both the data and the instructions.
what is the PC?
- holds memory address of the instruction for each cycle.
what is the accumulator?
- stores intermediate results of calculations in the ALU.
what is the MAR?
- holds any memory address about to be used by the CPU.
- the address might point to data or a CPU instruction.
what is the MDR?
- holds the actual data or instruction, which may have been fetched from memory, or be waiting to be written to memory.