Computer systems Flashcards

1
Q

What is the are hardware and software ?

A

Hardware is the physical components that make up the computer. Software is the programs or applications that a computer runs.

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

What are embedded systems

A

Embedded systems are computers built into other devices. They are dedicated to one task , embedded systems are usually easier to design , cheaper to produce and more efficient at doing their task than a general computer.

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

What is the CPU?

A

It processes all the data and instructions that make the system work. The speed at which it works depends on clock speed , number of cores and cache size.

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

What is the function of the Control Unit (CU)?

A

The CU is in overall control of the CPU . It executes programs by following the fetch-decode-execute cycle . It also controls the flow of data inside and outside of the CPU.

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

What is the function of the ALU ?

A

It performs all the basic maths calculations It also performs all the logic operations such as AND , OR and NOT and binary shifts.

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

What is the function of Cache

A

The cache is very fast memory. It stores regularly stored data so the CPU can access it quickly . The CPU checks the cache first when it requests data and if not , it goes to the RAM.

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

Why isn’t the whole of the memory cache memory?

A

It has a very low capacity and is very expensive compared to RAM . There are different levels : L1 has the smallest capacity but is the quickest going down to L3.

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

What is the program counter ?

A

The PC holds the memory address of the next instruction that is to e executed.

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

What is the accumulator ?

A

It stores the immediate results of calculations in the ALU

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

What is the memory address register ?

A

The MAR holds any memory address about to be used by the CPU . The address might point to data or a CPU instruction.

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

What is the function of the memory data register?

A

The MDR holds the actual data or instruction .

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

What is the function of memory ?

A

The memory holds the program instructions and the program data

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

What is Von Neumann ‘s architecture ?

A

It describes a system where the CPU runs programs stored in memory. Programs consists of instructions and data which are stored in memory addresses.

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

What happens in fetch ?

A

Copy address from the program counter to the MAR . Copy the instruction stored in MAR address to the MDR. Increase the program counter to point to the address of the next instruction.

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

What happens in decode ?

A

The instruction in the MDR is then decoded by the CU . The CU can then prepare for the next step.

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

What happens in Execute ?

A

The instruction is then performed eg load data or do a calculation on the ALU.