Unit 1.1 - Characteristics of contemporary processors, input, output and storage devices Flashcards
What is the Control Unit (CU)?
Coordinates all activities of the CPU and directs the flow of data between the CPU and other devices.
It, with the help of the DU, decodes the instruction currently being executed.
What is the Program Counter (PC)?
Holds the address of the next instruction to be executed.
What is the Memory Address Register (MAR)?
Holds the address of the memory location from which data or an instruction is to fetched or to be written.
What is the Memory Data Register (MDR)
Used to temporarily store the data which is read from or written to memory.
What is the Current Instruction Register?
Holds the current instruction being executed, the contents of the MDR are copied to the CIR if it is an instruction.
What is the Arithmetic Logic Unit?
Performs arithmetic, logical and boolean operations on data.
What is the accumulator?
The result of calculations carried out by the ALU can be temporarily stored here.
What are the three buses called?
- Data Bus
- Address Bus
- Control Bus
What is the Decode Unit (DU)?
Works with the CU to translate the instruction and fetch register operands using the register set identifier.
What is the Data Bus?
Carries the binary 1s and 0s that make up the actual information being transmitted around the CPU/Computer.
What is the Address Bus?
Carries memory addresses that identify where the data is being read from or written to.
What is the Control Bus?
Carries command and control signals to and from every other component of the CPU/Computer.
What is assembly code?
A language that has a direct one-to-one relationship with the processor architecture.
What is the Little Man Computer?
- An instructional model of a computer, created around 1965. - It models a simple Von Neumann architecture.
- Can be programmed using machine code (normally binary numbers that represent instructions to the computer).
What is the OPCODE?
The bit field identifying the instruction.
What is the OPERAND?
The bit field identifying data locations.
What is the Clock speed?
Number of cycles per second, measured in hertz (Hz)
What is the Cache?
Temporary storage of data and instructions being read to and written from, located on or near the CPU.
What is a Core?
A complete copy of the CPU.
What is Pipelining?
The process of fetching one instruction while executing another, which enables higher throughput of instructions in the CPU.
What is a RISC processor and what does it do?
A microprocessor that aims to use simple instructions that will be executed within a single machine/clock cycle.
Executes smaller number of simple, standardized instructions that are all a fixed length.
What is a CISC processor and what does it do?
A microprocessor that completes a task in as few lines of assembly as possible.
Executes a large number of complex instructions at variable length.
What is a GPU and what does it stand for?
- Graphical Processing Unit
- A co-processor initially used for rendering graphics.
What is Parallel Processing?
The processing of program instructions by dividing them between multiple processors or processor cores.
What is an Input device?
Any device that allows you to pass information from the outside world into a computer system.
What is Optical Storage?
Written and read using lasers, they spin so the laser can read the (indentations) data from the correct location.
The surface of the disk will have billions of locations where holes can be physically burned by a laser or not to represent “1” or “0”.
What is an Output device?
Any device that can take data stored in digital form and convert it into another format that humans can process.
What is Magnetic Storage?
Divided into tracks and sectors. Tracks are circular in shape and each track is divided into eight segments.
The disk spins so the disk’s read-write head can access the data in a segment.
What is Solid State Storage?
They use flash memory to store data and use a special type of memory that can retain its state once power has been disconnected.
This is called EEPROM.
What is RAM, and what does it stand for?
- Random Access Memory
- Temporary storage of instructions and data that is being executed by the processor
- Volatile memory
- Much faster than hard disk
What is ROM and what does it stand for?
- Read Only Memory
- Located on the motherboard
- Non-volatile
- Contains the BIOS - very first instructions for the computer (bootstrap).
What do these mnemonics mean?
- ADD
- SUB
- STA
- LDA
- Add
- Subtract
- Store
- Load
What are the factors that affect the performance of the CPU?
• The number of cores
• The Size of the registers
• The clock speed
• The speed of the RAM
• The speed and width of the data bus
• Size of the cache
What do these mnemonics mean?
- BRA
- BRZ
- BRP
- Branch Always
- Branch if zero
- Branch if positive
What do these mnemonics mean?
- INP
- OUT
- HLT
- DAT
- Input
- Output
- End program
- Data location
Why is pipelining important for efficiency?
- Allows different parts of instructions across different stages to be completed in different registers at the same time.
- Reduces the processor’s cycle time as it can process more instructions simultaneously, while reducing the delay between completed instructions.
- The CPU does not have to wait for one instruction to complete the machine cycle.
What are the disadvantages of pipelining?
- Designing of the pipelined processor is complex.
- Instruction latency increases (timing variations)
- Difficulty of Parallelization
- Branch instructions may not benefit
What are the advantages of pipelining?
- Faster Processing
- Improved Resource Utilization
- Flexibility
- Lower Latency of entire workload.
What are the two old computer architectures?
- Von Neumann architecture
- Harvard architecture
What are the features of the Von Neumann architecture?
- Shared memory space for instructions and data
- Instructions and data are stored in the same format
- A single CU follows a linear F-D-E cycle (one instruction at a time)
- Registers used as fast access to instructions and data
- More than a single clock cycle may be required to execute a single instruction.
What are the features of the Harvard architecture?
- Instructions and data are stored in separate memory units
- Each memory unit has its own system bus
- Reading and writing can be done at the same time as fetching an instruction
- Used by RISC processors
What does SIMD stand for?
Single Instruction Multiple Data
What does MIMD stand for?
Multiple Instruction Multiple Data
What is distributed computing?
- When multiple computers on a shared network take part on a bigger problem which can be done over a grand scale over the Internet.
- Done by designing the software so different computers can program different functions and communicate to develop the final solution.