Hardware Flashcards

1
Q

What are buses?

A

Buses are wires used to connect different components of the computer’s hardware.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an Address Bus, Data Bus and Control Bus?

A

The address bus carries the address of the piece of memory or I/O device. It is a unidirectional bus, meaning that data travels only one way: from the CPU to memory.

The data bus carries the data that is to be written or has been read from memory. It is a bidirectional bus as it can carry data to or from memory.

The control bus carries signals that control the actions of the computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Non-volatile Memory?

A

Non-volatile Memory is retained even if the power to the computer is shut off.
Read Only Memory (ROM), generally installed by the vendor of the computer, it retains code that is required to start and run the computer and it cannot be lost or changed when the computer is turned off.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Volatile Memory?

A

Volatile Memory is lost when the computer loses power. Random Access Memory (RAM) is the form of volatile memory used to hold temporary instructions and data for manipulation while the system is running.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the CPU?

A

The Central Processing Unit (CPU) is the part of the computer that executes instructions. CPUs are constructed from millions of transistors.
A CPU has three main components, the Arithmetic and Logical Unit (ALU), the Control Unit and the Registers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the Arithmetic and Logical Unit (ALU)?

A

The ALU carries out the mathematical functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the Control Unit?

A

The Control Unit regulates the flow of information through the processor. The Control Unit determines how and when data is processed and ensures that it is sent to the correct components of the computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are Registers?

What is the Instruction Register?

What is the Memory Address Register?

What is the Memory Data Register?

What is the General Purpose Registers?

What is the Program Counter?

A

Registers are small pieces of memory located inside the CPU. They can be thought of as the hardware version of a variable in software.

Instruction Register (IR): The instruction register holds the instruction currently being executed.

Memory Address Register (MAR): The memory address register holds the address of the next piece of memory to be fetched.

Memory Data Register (MDR): The memory data register holds the piece of data that has been fetched from memory.

General purpose registers are available to store any transient data required by the program. For example, when a program is interrupted its state, ie: the value of the registers such as the program counter, instruction register or memory address register – may be saved into the general purpose registers, ready for recall when the program is ready to start again.

The program counter holds the location of the next instruction to be fetched from memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain the difference between SRAM and DRAM

A
Static RAM (SRAM) is physically different from dynamic RAM as the memory contents do not have to be continually refreshed. This means that it can always be accessed and so SRAM is a faster type of memory. However the process of manufacturing the memory and the components used make it more expensive.
It is mainly used as cache.

DRAM is the most common type of RAM used in computers. It is relatively easy to manufacture and so is cheap. However, DRAM contents must be continually refreshed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

CPU characteristics

1) bit width
2) clock cycles
3) execution cores

A

The bit width approach describes a processor in terms of how many bits it processes in a single instruction or transports across the processor’s internal circuits in a single cycle.

The clock cycle describes how many times per second an electrical charge passes through the chip (gigahertz).

Additional execution cores mean that you can run more applications at the same time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a storage device?

A

A storage device is any device used by a computer to store information permanently

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

hard disk drives

A

hard disk drives (HDDs), non-volatile devices that store information on magnetic platters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Input/Output referred to?

A

Input/Output (I/O) is the process of transferring data between a computer and its peripherals. A peripheral is any piece of equipment attached to a computer. For example a mouse, keyboards, printers, etc
Peripherals are connected via the I/O bus.

In order for the CPU to correctly identify the communicating device each device is assigned a unique address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Explain how the width of the address bus determines how much memory can be addressed in a PC.

A

The number of lines on the bus determines the number of addressable memory elements. For example an 8 bit bus can represent 2 to the power of 8 unique addresses. This equates to 256 unique memory addresses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Explain how the width of the data bus determines how much data can be moved in a PC, in one clock pulse.

A

It determines how much data it can transfer in one clock pulse. 32 bit data bus can transfer 32 bits of data per clock pulse and a 64 bit data bus can transfer 64 bits per clock cycle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the difference between SRAM and DRAM?

A

Dynamic RAM (DRAM) needs constantly to be refreshed with electric charge. However it is cheap and large quantities are affordable.

Static RAM (SRAM) is more stable in that it is made from transistors. It is used where higher speed of reading and writing is required e.g. registers on CPU

17
Q

Explain four different memory chip types then explain their function in the computer system.

A

ROM – contents permanently stored – contains instructions for starting computer
EEPROM – contents permanently stored – but can be erased and replaced – used wherever flash memory required
SRAM – contents can be erased and replaced – used in smaller quantities in registers and cache
DRAM – contents can be erased and replaced – used in larger quantities to store programs while they are being run e.g. operating systems and applications

18
Q

What is Polling?

A

Computers cycled round all of the peripherals attached to the computer in turn, asking if they required any attention. This type of interaction with peripherals is slow.

19
Q

What are Interrupts?

A

Interrupts are a mechanism for allowing peripherals to signal to the computer’s CPU that they require attention. Dedicated wires are used to connect with all of the peripherals connected to the computer. When a peripheral requires attention it sends a unique signal to the CPU for it to stop what it is doing and service the peripheral.

Once the CPU has identified the peripheral that requires attention, control of the processor is passed to a small program, called an interrupt handler or interrupt service routine (ISR), which deals with the peripheral.

20
Q

What are Interrupts?

A

Interrupts are a mechanism for allowing peripherals to signal to the computer’s CPU that they require attention. Dedicated wires are used to connect with all of the peripherals connected to the computer. When a peripheral requires attention it sends a unique signal to the CPU for it to stop what it is doing and service the peripheral.

Once the CPU has identified the peripheral that requires attention, control of the processor is passed to a small program, called an interrupt handler or interrupt service routine (ISR), which deals with the peripheral.

21
Q

What is Interupt Latency?

A

As interrupts stop a currently running process, the state of which must be saved before the interrupt is handled, there is a lag between the interrupt being generated and the ISR being run. This lag is the interrupt latency .

22
Q

What is Interupt Latency?

A

As interrupts stop a currently running process, the state of which must be saved before the interrupt is handled, there is a lag between the interrupt being generated and the ISR being run. This lag is the interrupt latency .