CSF: Boring Stuff Flashcards
Name the 6 Storage Units in Order (Smallest to Largest)
Bit
Byte
Kilobyte
Megabyte
Gigabyte
Terabyte
Name all the Components in the CPU?
Control Unit, ALU, Accumulator, Instruction Register, Program Counter, Memory Address and Memory Data
What does the CU (Control Unit) do?
It decodes, controls and co-ordinates everything that happens within the CPU
What does the Arithmetic & Logic Unit (ALU) and the Accumulator do?
The ALU makes calculations and makes decisions while the Accumulator holds the data being manipulated by the ALU
What does the Instruction Register do?
Holds the instruction currently being decoded by the CU
What does the Program Counter do?
Keeps track of the point we have reached in the program
What does the Memory Address Register (MAR) and the Memory Data Register (MDR) do?
The MAR points to the exact memory location in RAM of the data/instructions being fetched or written and the MDR is a ‘transfer zone’ for data being transferred between the memory and CPU
Name all three buses and explain them
Control Bus - Connects the CU to all other components and it carries timing and control signals. This bus is bi-directional as the CU sends out control signals and receives acknowledgements.
Data Bus - Allows data to be passed between the CPU and RAM. This bus is bi-directional as well meaning data can flow in both directions between the MDR and the RAM.
Address Bus - Connects the Memory Address Register to the RAM and it carries binary signals which prepares the cell to send or retrieve data. This bus is uni-directional meaning it only carries points from the MAR to the RAM,
How to Calculate the Number of Cells in the Address Bus?
2^width of the address bus
Is RAM volatile or not?
It is volatile meaning it loses all stored information when it loses power.
What is the role of the ROM chip?
Its role is to start the computer, perform the Power On Self Test (POST), load basic input and output services, then load the OS. Also, the ROM chip is non-volatile.
Explain cache
The cache is memory which sits between the RAM and the CPU. When the processor needs to read/write to a location in the processor it can first check if the data can be found on the cache and if it is it will just read/write to the cache which is much quicker.
What is a Device Driver?
A dedicated piece of software that enables Hardware to communicate to the OS. They also pass data to and from the peripheral.
What is Polling Approach?
Polling is when the processor goes round each device in turn and see’s if they require any resources
Name an Advantage and Disadvantage of Polling
Ad - Easy system to implement
Dis - Once the processor has moved on, a device has to wait on its turn again