Unit 1 - Components of a computer Flashcards

1
Q

What are the CPU components

A

CU(Control Unit)
Buses
ALU(Arithmetic Logic Unit)
Dedicated Registers

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

What does a control unit do?

A

Controls and coordinates the activities of the CPU, directing the flow of data between the CPU and other devices.

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

What are buses?

A

A bus is a set of parallel wires connecting 2 / more components of a computer (typically consists of 8/16/32/64 lines)

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

What are the three types of buses?

A
  • Address
  • Data
  • Control
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a control bus and what does it do?

A

The control bus is one of the three busses of the system.
The control bus controls most of the system. It gives commands to the system and hardware of the computer. These commands are:
Read - A single line that when active (logic zero) indicates the device is being read by the CPU
Write - A single line that when active (logic zero) indicates the device is being written by the CPU
Byte enable - A group of lines that indicate the size of the data (8, 16, 32, 64 bytes)
Transfer ACK - Delivers information that the data was acknowledged (read) by the device
Bus request - Indicates a device is requesting the use of the (data) bus
Bus grant - Indicates the CPU has granted access to the bus
Interrupt request - A device with lower priority is requesting access to the CPU
Clock signal - The signal on this line is used to synchronize data between the CPU and a device
Reset - If this line is active, the CPU will perform a hard reboot

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

What is a data bus and what does it do?

A

The data bus is one of the three buses of the system. The data bus takes data to/from the memory to/from the CPU. This bus is bidirectional, which means that data is able to travel both ways. The amount of data a data bus is able to transfer at once is called bandwidth. Typical bandwidths are 32 bits, with newer computers being able to handle 64-bit and 96-bit data paths. This means that up to 96 bits of data can travel through a data bus every second.

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

What is an address bus and what does it do?

A

An address bus is a computer bus architecture used to transfer data between devices that are identified by the hardware address of the physical memory (the physical address), which is stored in the form of binary numbers to enable the data bus to access memory storage

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

State all registers in the CPU and what they do

A

Current Instruction Register(CIR)- The register that stores the instruction that is currently being executed

Program Counter(PC)- The register that holds the address of the next instruction to be executed.

Memory Address Register(MAR)- The register that stores the address of the date, or the address of where the data will be sent to

Memory Data Register(MDR)- The register that holds the data being transferred to and from the immediate memory

Accumulator(ACC)- The register which holds an intermediate value in mathematical and logical calculations. This is all for a very short amount of time

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

Explain the Fetch decode execute cycle - 6 marks

A

Fetch: Contents of Program Counter / PC are transferred to Memory Address Register / MAR
the address bus is used to transfer this address to the main memory
The transfer of content uses the data bus
Contents of addressed memory location loaded into the Memory Data Register /
MDR
Increment (contents of) Program Counter / PC A. at any part of fetch process
after transferring PC to MAR
Increment Program Counter / PC and fetch simultaneously
Contents of MDR copied to CIR
Decode:
Decode instruction held by the (Current) Instruction Register / (C)IR
The control unit decodes the instruction
Instruction split into opcode and operand
Execute:
If necessary, data is fetched
If necessary, data is stored in memory
The opcode identifies the type of operation/instruction to be performed (by the
processor)
Result (maybe) stored in register/accumulator
The operation (identified by the opcode) is performed by the processor. A. ALU
Status register updated
If jump/branch required Program Counter/PC is updated
Remember this for full marks in ANY FDE question

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

What is clock speed?

A

Generates signals switching between 0 and 1 to synch CPU operations. The speed is measured in Ghz - The more the better

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

What is a multi-core processor

A

A multi-core processor is a processor that consists of two processors linked together in an integrated circuit. A dual core is likely to have double the speed of a signle core (unless the app does not support multi core processors) - The more the better

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

What is Cache Memory

A

The cache is a small amount of expensive, fast memory inside the CPU - The more the better

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

What is pipelining how does it work and why is it useful?

A

Pipelining allows for the processor to start another process while the previous one is still being completed allowing for faster processing speeds, therefore, a higher clock speed.

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

What is the von Neumann machine?

A

In a von Neumann machine, the same data bus is used to transfer both data and instructions. The same word length is used for all memory, whether it holds data or instructions.

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

What is the Harvard Architecture?

A

Unlike the Neumann it has separate memories for instructions and data.

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

What is the difference between Von Neumann and Harvard:

A

Von Neumann:
* Used in conventional processors in PCs, servers and embedded systems.
* Data and programs share the same memory
* One bus is used to transfer data and instructions
Harvard:
* Used in digital signal processing and in embedded systems mobile coms, audio/image processing.
*Instructions and data are held in separate memories
*Parallel data and instruction buses may be used
*Programs tend to be large

17
Q

What is a CISC?

A

A complex instruction set computer is a computer in which single instructions can execute several low-level operations or are capable of multi-step operations or addressing modes within single instructions

18
Q

What is a RISC?

A

A reduced instruction set computer, or RISC, is a computer with a small, highly optimized set of instructions, rather than the more specialized set often found in other types of architecture, such as in a complex instruction set computer.

19
Q

What is a GPU?

A

A GPU is a specialised electronic circuit which is efficient at manipulating computer graphics.It uses parallel processing and has a large number of cores that assist it in said computer graphic manipulation

20
Q

Barcode readers

A

*Pen type readers - a type of pen dragged across bars at a certain speed.
- Durable - can be sealed against dust and other envoiermental hazards.
- Application is limited because they must come in direct contact with a barcode to read it
*Laser scanners - same as pen scanners but they use a laser beam - reliable and economical for low volume application typically used in supermarkets
*Camera-based readers:
A camera-based imaging scanner uses image processing and can read a barcode on any surface.

21
Q

What is Radio Frequency Identification?

A

Uses both input and output - an input device to read the signal from an RFID chip, and output to transmit a signal from an active tag.

Similar to barcodes are RFIDs - used to track everything

  • It’s a small microchip 1mm.
22
Q

Passive and active tags

A

Active tags are larger as they include a battery to power the tag so it transmits a signal
- used to track cars as they pass through motorways.

Passive tags are cheaper to produce as they have no battery and rely on radio waves to power up and transponder.

23
Q

What is an output device?

A

A device that allows data to be transmitted by the computer in a human-friendly form. -Monitor, Printer, Speakers

24
Q

What is the purpose of input/output devices?

A

To allow humans to interact with a computer, without the need of advanced technological knowledge.

25
Q

What are LCD monitors?

A
  • reach maximum brigtness immedieatly
  • image is sharper with more realistic and vivid colours
  • produce a brighter light -> better picture definition
  • last very long (reliable)
  • consume little to no power
26
Q

What are Organic LEDs?

A

Brighter thinner and lighter than LCD or LED screens. It’s plastic and not glass
LCDs can have a slow refresh rate while OLEDs can respond 200 times faster.
Produce truer clours through a much bigger viewing angle.

27
Q

What are Laser Printers?

A

Laser printers offer high quality, high-speed printing. Their function is similar to that of a photocopier. Colour laser printers are more expensive. They contain four toner cartridges(Cyan magenta yellow black)

28
Q

Inkjet printers?

A

Inkjet printers work by spraying dots of ink onto paper to create images. They are cheaper than laser printers but much slower.

29
Q

What’s a hard disk?

A

Rigid rotating platters coated with magnetic material. The disk rotates at speeds of up to 10K RPM.
They are less portable than optical or solid-state media but their huge capacity makes them very suitable for desktop purposes.

30
Q

What is ROM and how is it used?

A

ROM is a form of non-volatile memory that can only be read from, it stores necessary startup operations/ bootstrap protocols that allow the computer to startup.

31
Q

What is RAM and how is it used?

A

RAM is a form of volatile memory that stores program operations that are currently active, information stored in RAM is faster to retrieve than from storage, as RAM is closer and faster than traditional storage devices. This makes the entire system more efficient as information can be forwarded to the CPU faster.

32
Q

What’s an optical disk?

A

CD-ROM holds 700MB, Blue-ray 50GB - An optical disk works by using a high powered laser to burn sections of its surface, making them less reflective. A laser at lower power is used to read the disk by shining light onto the surface.

33
Q

What are solid-state disks?

A

Capacity is low
Have faster access speed than hard disks
SSDs consume far less power than traditional hard drives
Meaning that in a laptop for example battery life is accessed just as quickly as any other even if they are not close together.
SIlent