1.1 architecture of the cpu +1.2 memory and storage Flashcards

1
Q

what is the fetch cycle in the fetch-decode-execute cycle?

A

An instruction is fetched from main memory (also known as RAM) and brought back to the CPU

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

what is the decode cycle in the fetch-decode-execute cycle?

A

The instruction is then decoded to find out exactly what needs to be done

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

what is the execute cycle in the fetch-decode-execute cycle?

A

The instruction is then carried-out (e.g. a calculation is performed)

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

what is the control unit?

A

Controls the flow of data from the CPU to and from other devices (such as the main memory)

Keeps the computer synchronized using the clock

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

what is the arithmetic logic unit (ALU)

A

Carries out arithmetic (such as binary addition) and logic (such as comparing numbers) operations

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

what are the registers of a cpu for?

A

The fastest memory locations in a computer

Used to store instructions and data currently being used by the CPU

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

what is the cache of a cpu?

A

Second fastest memory location in computer (after the registers)

Used to store data/instructions about to be used, or frequently used by CPU (faster than getting from main memory/RAM)

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

what is the von neumann architecture?

A

Instructions and data are both stored in the same place - the main memory (RAM) - we call this Von Neumann architecture

Instructions are fetched from the memory and processed by the CPU one at a time

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

what is the program counter?

A

Holds the address of the next instruction to be fetched from the memory

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

what is the memory address register (MAR)

A

Holds the address in memory where data will be fetched/stored

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

what is the memory data register? (MDR)

A

Holds the actual data that was fetched from memory or that will be stored in the memory

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

what is the accumulator?

A

Holds the results of calculations

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

what is clock speed?

A

The CPU clock dictates how fast the FDE cycle happens.

If the clock speed is increased, more FDE cycles can be completed per second.

If more FDE cycles are completed per second, more data can be processed per second

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

what is an embedded system?

A

An embedded system is a computer which is built-in to another device to complete a specific task

e.g a washing machine

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

what is ascii?

A

he ASCII character set is able to store:

The letters used in most European languages (English, French, German, Spanish,….)

The digits 0 - 9

Common punctuation symbols (!,?,&,%,….)

Standard ASCII uses 8-bits (1 byte) binary values.
(00000000)
So ASCII can store 256 different characters in its character set. (0 – 255 gives a range of 256)

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

what is unicode?

A

Uses 16 bits (2 bytes) binary value for each character. It can represent 65,536 different characters (216 = 65,536).

Enough values to allow us to represent alphabets used in many writing systems.

17
Q

what are bitmap graphics?

A

Images are made up of coloured blocks called pixels (short for picture elements)

18
Q

what is resolution?

A

the number of pixels within a defined area
measured in dots per inch (DPI)

19
Q

what is bit depth?

A

The number of bits used to store the colour of each pixel.
the number of bits squared is the amount of colours in the image

20
Q

how do you calculate file size?

A

the rows x the columns gets the pixels, then you do the number of pixels x the bits per pixels

21
Q

how do you calculate the file size of sound?

A

File size (bits) = sample rate × duration x bit depth

22
Q

what is lossy compression?

A

Some of the data is permanently removed from the file
Advantages: Larger reduction in file size
Disadvantages: Loses some quality as you can’t get back the removed data. Not suitable for all types of data

23
Q

what is lossless compression?

A

Some of the data is temporarily removed from the file
Advantages: No loss in quality as as the data removed can be retrieved. Suitable for all types of data
Disadvantages: Smaller reduction in file size