1 – Systems architecture, memory and storage Flashcards
All computer systems must have a…
Central processing unit (CPU), memory (primary storage), and at least one input device.
What are input devices?
Something that retrieves data from the real world.
What are examples of input devices?
A mouse, keyboard, microphone, thermistor etc.
What are examples of output devices?
A computer screen, an actuator (moves stuff in machines), a speaker etc.
What is memory (primary storage)?
Primary storage is used for holding instructions that are currently being executed and data that is being used.
What is secondary storage?
The computer system may need to use stored data to perform the processing and, as a result of processing input, may generate data that is then stored. (eg photographs, projects, music, films, letters and spreadsheets.)
What is Von Neumann Architecture?
The Von Neumann architecture used the idea of holding both programs and data in memory. Data would then move between the memory unit and the processor.
What does the CPU do?
The central processing unit of a computer is the hardware that executes programs and manages the rest of the hardware.
What is cache memory?
Cache is very fast memory, close to the CPU, and is used to hold data or instructions temporarily that are likely to be needed by the processor in the course of running a program.
What three components does the Fetch-Decode-Execute cycle contain?
The processor contains the Control Unit (CU), the Arithmetic Logic Unit (ALU) and registers.
What does the Control Unit (CU) do?
The Control Unit coordinates all the activities taking place inside the CPU:
* It makes sure the instructions are executed in the correct sequence
* It decodes the instructions
* It controls timing of instructions using the clock speed
* It sends and receives control signals to and from other devices within the computer.
What operations does the Arithmetic and Logic Unit (ALU) carry out?
- Logical Operations: These include AND, OR and NOT.
-
Shift Operations: The bits in a computer word can be shifted left or right by a certain number
of places. - Arithmetic Operations: These include addition, subtraction, multiplication and division.
What is a register?
A register is a special very fast memory location within the CPU used in the execution of instructions.
What special purpose registers are in a CPU?
- Memory Address Register (MAR)
- Memory Data Register (MDR)
- Program Counter (PC)
- Accumulator (ACC)
What does the Memory Address Register (MAR) do?
The MAR holds the address (location in memory) of the
instruction or piece of data to be fetched or stored.
What does the Memory Data Register (MDR) do?
The MDR holds data or a program instruction temporarily when it is fetched from memory or is to be sent to memory.
What does the Program Counter (PC) do?
The PC holds the memory address of the next instruction to be processed.
What does the Accumulator (ACC) do?
The ACC is a special-purpose, memory location in which results of operations carried out in the ALU are temporarily stored.
What are the main factors affecting CPU performance?
- Clock speed
- Cache size
- Number of cores
What is clock speed?
The speed at which a processor operates is quoted as the clock speed, and measured in hertz.
What are hertz?
Hertz is the name for the number of cycles per second, or the rate at which the electrical current changes in the actual circuits.
What does a higher clock speed mean?
Everything the processor does occurs on the ‘tick’ of the clock - so a faster clock means that more instructions are fetched, decoded and executed in a second.
Will a 4GHz processor operate twice as fast as a 2GHz processor?
In theory a computer with a 4GHz processor should operate twice as fast as one with a 2GHz processor, but it isn’t that simple. There are many other components that contribute to the overall speed of the computer.