1.1 Hardware & Communication Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What happens in the FDE cycle?

A

1) The address in the PC is copied to the MAR
2) The address stored in the MAR is sent along the Address bus to the main memory where the data/ instruction is found
3) A “fetch” signal is then sent to the MDR via the control bus so it can fetch the contents of the memory address location which is then sent along the data bus
4) The contents of the MDR are copied to the CIR all while the contents of the PC are incremented
5) The contents are the CIR are decoded into operand and opcode
6) If more data is required for the instruction, it is fetched and passed to the accumulator
7) The instruction is then executed and the results are held in the accumulator or stored in the memory

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

How does the CPU make efficient use of memory and clock cycles?

A

As an instruction is being executed, the next one is being fetched by the MDR and the PC is incrementing to memory address by one

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

What does the Control bus do?

A

The Control Bus is unidirectional and sends control signals between the CPU’s registers and to other components

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

What does the Data Bus do?

A

Is bi-directional and carries data or instructions from the main memory to the registers and vice versa.

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

What does the Address Bus do?

A

Is unidirectional and carries the memory address of location being written or read to

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

What does the CIR split instructions into?

A

Opcode and Operand

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

What is opcode?

A

Is the part of an instruction that specifies the operation that is to be carried out

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

What is operand?

A

Part of the instruction that:
Specifies the memory address of any addition data which is copied to the MAR
or
The actual data to be operated upon

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

What is word size?

A

The number of bits that a CPU (registers) can manipulate at a time at a time.
Usually 8,16,32 or 64 bits

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

What does increasing the word size do?

A

It allows for data to be manipulated at a greater speed. It also means that the CPU can fetch and keep track of more memory locations

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

What happens if the width size of bus lines is the same as the word size?

A

Data can be transferred to and from memory in a single operation (clock tick), making the process more efficient

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

What are the advantages and disadvantages of overclocking?

A

Advantages
- Can increase processing speeds especially in resource intensive tasks like video editing.

Disadvantages
- The CPU can be instructed to carry out instructions too quickly leading to corruption
- Places strain on the power supply

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

What is a clock tick in terms of a wave?

A

When the electricity oscillates between 1 and 0 state

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

What is a clock period?

A

The time between each rising edge (from 0 to 1)

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

What are the advantages and disadvantages of using multiple cores?

A

Advantages
- Multiple programs can be run at the same time
- Resource intensive tasks take less time to process
Disadvantages
- Each core will take time in communicating to one another
- Sometimes a core will have to wait on the instruction of another core
OVERHEAD

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

What is Parallel Processing and what is it also known as?

A

Parallel Processing AKA concurrent processing is when several processor cores are used at the same time to process multiple computations. It does this by splitting tasks into sub-tasks (threads) and splitting them between cores

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

What are threads in parallel processing?

A

When a single task is split into smaller sub-tasks that are executed simultaneously by available processors

18
Q

What are all the types of cache memory and the difference between them?

A

Level 1 (Fastest, Smallest, Harvard Architecture)
Level 2 (Fast, Medium, Von Architecture)
Level 3 (Slower, highest capacity, shared by all cores to improve performance of L1 and L2)

19
Q

What is ‘overhead’?

A

The time lost due to communication between cores in parallel processing

20
Q

What is level 1 cache?

A

It is super-fast but small memory embedded on the CPU. The memory is split into instruction cache and data cache so data and instructions can be fetched simultaneously using Harvard Architecture.

21
Q

What is level 2 cache?

A

It is higher capacity cache (compared to level 1) and operates more slowly. It is located near the CPU or on another chip

22
Q

What is level 3 cache?

A

It is the highest capacity cache and aims to improve the performance of level 1 and 2 cache.
It is shared by ALL cores of the processor.

23
Q

What are the disadvantages of parallel processing?

A
  • Programs are more complex to design and write compared to sequential processing
  • To be efficient, synchronisation and communication between different sub-tasks (threads) must also be efficient which is difficult to achieve
24
Q

What is Von Neumann Architecture?

A

A system architecture where the data and instructions share the same memory and single data bus. They also have the same word length

25
Q

What is Harvard Architecture?

A

A system architecture where the data and instructions are held in separate memories and may have different word lengths. 2 busses are used for parallel access to data and instructions

26
Q

What is special about contemporary Processor Architecture and an example?

A

A modern CPU chips often incorporate aspects of both Von Neumann and Harvard architecture.

27
Q

What are the advantages and disadvantages of Von Neumann Architecture?

A

Advantages
- It is more cost effective
- There is a common bus for instruction transfer
- Overall simpler design (especially with the CU)

Disadvantages
- Two clock cycles are required to execute a single instruction
- CPU cannot access data and instructions at the same time
- Therefore less efficient

28
Q

What are the advantages and disadvantages of Harvard Architecture?

A

Advantages
- More efficient CPU as it can access instructions and read/write at the same time
- An instruction is executed per clock cycle

Disadvantages
- It’s more expensive than Von Neumann Architecture
- The control unit is more complicated due to 2 data busses
- Free data memory cannot be used for instructions leading to a less efficient memory

29
Q

What are the uses of Von Neumann Architecture?

A

Personal computers or small computers such as phones

30
Q

What are the uses of Harvard Architecture?

A

Used in micro controllers, digital signal processing and embedded systems

31
Q

What does RISC stand for?

A

Reduced Instruction Set Computer

32
Q

What does CISC stand for?

A

Complex Instruction Set Computer

33
Q

What does a RISC processor do?

A

It separates commands into a number of simple commands that can be executed in one clock cycle- it aims to process data in as little clock cycles as possible

34
Q

What does a CISC processor do?

A

It aims to complete a task in as few lines of code as possible by using circuitry that is able to execute a series of operations.

35
Q

What are the advantages and disadvantages of a RISC processor?

A

Advantages
- Simpler hardware is required
- Less complex circuitry and silicon meaning less expensive
- Lower energy consumption and heat produced

Disadvantages
- The compiler is required to do more conversation work
- More RAM is required to store the assembly instructions which, once used heavily, results in data bottlenecks
- Fewer address modes are available

36
Q

What are the advantages and disadvantages of a CISC processor?

A

Advantages
- Makes very efficient use of RAM
- The compiler is require to do less work
- Multiple addressing modes are available

Disadvantages
- Complex instructions take multiple clock cycles to complete
- Requires more complex hardware and circuitry
- More energy consumption

37
Q

What are the 3 types of screens?

A

LED (Light Emitting Diodes
OLED (Organic Light Emitting Diodes)
QLED (Quantum Light Emitting Diodes)

38
Q

What are the instructions executed on boot-up?

A

1) Self-diagnostic to check hardware is working
2) BIOS also checks the hard drive for bootstrap loader program
3) Bootstrap loader looks for and begins the OS
4) Hardware drivers are loaded to allow the OS to interact with the hardware
5) Log-in screen is displayed
6) Start-up programs (anti-virus software or printer software) are initiated

39
Q

What is the catch when increasing CPU threads?

A

While greatly boosting performance, some threads may need to wait on the result of another meaning the performance isn’t proportional to the number of cores.
This wait time is called ‘overhead’

40
Q

What is pipelining?

A

This is when the CPU is executing an instruction and fetchs the next instruction at the same time

41
Q

What is fragmentation and how does it arise?

A

Fragmentation is when a HDD stores the contents of a file/ program on physically different parts of the disk. This occurs when a file is removed and a bigger file attempts to take its place but then stores some of the data in that space and the rest at the end of the disk.

42
Q

What are the disadvantages of disk fragmentation?

A

The read-write arm will have to move across the HDD just to read a single file resulting in slower read times. The free space can also be located in different places on the HDD which results in slower write times too