3.4 Computer Systems Flashcards
Definitions of hardware and software:
What is the relationship between them?
Hardware: physical stuff that make up the computer system
(CPU, motherboard, monitor, printer)
Software: programs a computer system runs
(Application software, system software)
Work together to process data/complete tasks
Name the 3 logic gates and their shapes:
NOT = triangle AND = semi-circle OR = rocket
What is system software?
Vs
What is application software?
System Software: software designed to run and maintain a computer system
(OS = Operating System, Utility software)
Application software: programs that help the user perform specific tasks
(Word processors, web browsers, games)
Main functions of Operating systems (OS):
manages hardware and runs software
Main functions:
- communicate with input/output devices via device drivers
- provide platform for applications to run on & a user interface
- control memory management & allocation
- organise CPU & its processing tasks
- deal with file management & disk management
- manage system security & user accounts
Explain the Von Neumann Architecture:
What does each part do?
- describes a system where CPU runs programs stored in memory
- programs consist of instructions/data stored in memory addresses
- CU controls flow of data & keeps track of memory address of instruction for next cycle
- memory holds program instructions/data
- ALU gets data from CU and registers, performs operation on it & sends output back to registers
- registers hold any data/instructions/memory addresses about to be used by CPU, specific registers for different tasks
- input/output device
What are the major components of a CPU? (Central Processing Unit):
- Arithmetic Logic Unit
- Control Unit
- Clock
- Bus
- Cache
- registers
What does the arithmetic logic unit (ALU) do?
- complete simple addition/subtraction
- compares sizes of numbers
- can do multiplication/division using repeated addition/subtraction
- performs logic operations and binary shifts
- registers used to store immediate results if calculations
What does the Control Unit (CU) do?
- manages fetching, decoding and execution of program instructions (fetch-decode-execute cycle)
- controls flow of data inside CPU (to registers, ALU, cache)
- controls flow of data outside CPU (to main memory, input/output devices)
What does the clock do?
- sends out an electrical signal/pulses that continually cycles between 1 and 0, usually at constant rate
- signal used to synchronise when instructions will be carried out
- clock speed = no. of clock cycles executed by CPU per second
- measured in GHz
What are Buses, what do they do?
- collection of wires used to transmit data between components of CPU, and to other parts of computer system
- processor may have separate buses for carrying data, instructions and memory addresses
What is Cache? What does it do?
- very fast memory in CPU
- stores regularly used data so CPU can access it quickly
- very low capacity & expensive
What are registers? What do they do?
Registers are small amounts of high speed memory contained within the CPU. They are used by the processor to store small amounts of data that are needed during processing
5 most common registers: (in vonn Neumann)
- program counter
- memory address register (MAR)
- memory data register (MDR)
- current instruction register (CIR)
- accumulator (ACC)
What affects the performance of the CPU?
- clock speed
- no. of processor cores
- cache size
- cache type
What does clock speed do?
What is the affect of clock speed on the CPU?
- determines the no. of instructions a single core processor can carry out per second
- some CPUs can be ‘overclocked’ to make them run at a higher clock speed than factory set rate. But CPUs can overheat, causing crashes or permanent damage) so high performance cooling systems often needed
What is the affect of No. of processor cores on the CPU?
- more cores a CPU has = more instructions it can carry out at once = faster process of data
(Each core processes data independently of the rest)
What is the effect of cache size on the CPU
- larger CPU cache gives CPU faster access to more data it needs to process
What is the effect of cache type on the CPU?
- there are three levels of cache memory
- higher level = holds more but slower
- cache speed based on how far it is from CPU (L1 is on CPU, L3 is on motherboard)