Part 1 Block 3 - Hardware & Software Concepts Flashcards

1
Q

The p_______________ of a computer is the part that actually performs the instructions that we ask the computer to execute.

A

processor

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

In the processor, what is the ALU, and what is the FPU

A

The arithmetic logic unit (ALU)
floating-point unit (FPU)

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

ALU - Arithmetic Logic unit

The ALU contains the electronic circuits that perform b________ a____________, such as addition, subtraction, multiplication and division on i___________, as well as circuits to perform logical operations, such as c____________ integers with zero, testing two integers for equality, testing if one integer is greater than another, etc.

A

binary arithmetic
integers
comparing

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

FPU - Floating Point Unit

Its function is very similar to that of the ALU, but it operates on f________-p_______ numbers using specialised circuitry optimised to be as efficient as possible.

A

floating point

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

Main memory is a s_______ a__________ that contains program instructions and data.

A

storage area

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

When a program is first loaded, the corresponding instructions and data are put into main memory.
Is main memory inside or outside the processor?

A

Outside

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

Main memory is sometimes referred to as
R_____.

A

RAM

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

Where is the cache memory?
Inside the processor or outside of the processor?

A

Inside

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

‘Registers’ are memory locations.
Registers are very small but very fast areas of memory that are used as a holding area for instructions and data immediately before they are needed by the A___/F____

A

ALU/FPU

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

To calculate a percentage increase in time:

= new time - original time
___________________________ x 100%
original time

If the original time was 1.00 x 10^-7
and the new time is 1.09 x 10^-7
What is the percentage increase in time?

A

A 9% increase in time.

Step 1:
1.09 x 10^-7 - 1.00 x 10^-7
= 0.09 x 10^-7

Step 2:
0.09 x 10^-7
_____________
1.00 x 10^-7

= 0.09

Step 3:
0.09 x 100%
= 9%

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

Each instruction and piece of data is held in a ‘chunk’ called a w______.

A

word

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

A word has a fixed size (usually 32 or 64 bits in a modern computer), and it is handled as a u______ by the hardware of the processor.

A

unit

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

As each ‘word’ gets closer to being processed, it is moved into the processor so that it can be accessed more quickly. This movement from main memory into the processor usually happens in two steps:

First, the word is moved to c_______ memory which is inside the processor
then from c________ memory to memory locations called r__________.

A

cache
cache
registers

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

Registers are very small but very f______ areas of memory that are used as a h______ a_____ for instructions and data immediately before they are needed by the ALU/FPU.

A

fast
holding area

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

The result of the operation is returned via r__________ and the c_________ memory, back to m________ memory.

A

registers
cache memory
main memory

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

More about cache memory

Like the registers, cache memory is included on the p___________ microchip.

A

processor microchip

17
Q

More about cache memory

Cache memory is used as an i____________ storage area between the registers and the main memory.

A

intermediary

18
Q

More about cache memory

If there were no cache memory, a b___________ of data and instructions trying to get into and out of the processor would occur.

This is because the speed of data written to and read from the processor’s registers is much f___________ than the speed of reading from and writing to main memory.

A

bottleneck of data

faster

19
Q

More about cache memory

In modern processors, there may be s_________ levels of cache memory.

A

several levels

20
Q

More about cache memory

Which level of cache is fastest and smallest?
Level 1 or Level 2

A

Level 1

the aim is to use this for the data and instructions that will imminently be transferred to the registers.

21
Q

Organise the areas of memory in terms of speed.

main memory, cache, registers

A

1 = registers
2 = cache
3 = main memory

22
Q

In general, the f__________ the memory, the more e______________ the engineering required to make it.

A

faster
expensive

23
Q

More about cache memory

Data has to be moved into cache memory from main memory b____________ it is needed by the processor.

A

before

Therefore the use of the cache to speed up execution depends on how effective the cache management is at predicting future data use.

24
Q

More about registers

There are a number of different types of register in different parts of the p_________, and each is designed to hold a particular type of information for a specific function.

A

processor

25
Q

More about registers

The register within the ALU where an actual calculation takes place is sometimes referred to as the a____________________.

A

accumulator

The processor contains several general-purpose registers that can be used as accumulators.

26
Q

More about registers

What is the name of the register, sometimes called the flags register, that holds further information about the last operation executed?

A

The status register

Each bit in the register represents some description of the result – is the result zero? Is the result negative? Is the result too big to be stored in the accumulator? And so on. The values in the status register act as a report on the result of the recent activity in the processor.

27
Q

The control unit and other registers

The control unit has the role of c________________ the m____________ of data and instructions within the processor.

It does this by sending out electrical pulses, called c_________ s___________, that activate the necessary connections between main memory, cache, registers, ALU and FPU, as required, to execute the instruction.

A

coordinating the movement of data
control signals

28
Q

The a_________ r_____________ holds the location in memory (the memory address) of the next instruction to be executed.

A

address register

29
Q
A