1.2 - The Fetch Execute Cycle Flashcards

1
Q

Where is the computer’s memory?

A

The computer’s memory is very close to the CPU.

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

How is the CPU and Memory joined?

A

By buses

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

When people refer to the CPU and Memory , what do they call it?

A

Processor

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

What are three memory types?

A

Secondary storage: is used to save user data files and program files in a non-electrical form until they are needed by the processor.

Immediate Access Store (IAS): Computer’s ability to go directly to a requested file or piece of data instead of sifting through a list

Random Access Memory (RAM): primary storage that holds data ready to be used by the CPU.

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

What does memory hold?

A

-The instructions that tell the computer what to do.
-The data values that the computer needs
-The results of the CPU’s work.

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

How do modern computers transfer data and instructions differently?

A

In a modern computer the instructions and data are held in the same memory. But they go down two different buses to the CPU.

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

When the CPU completes an instruction, what does it do with the results?

A

It sends the results back to memory

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

What is memory made up of ?

A

-Memory is made of microscopic electrical circuits.

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

How does memory work?

A

The memory circuits can be on or off. Everything inside the memory is stored using these on / off signals.

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

How is data stored in memory?

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

How is data lost in memory ?

A

Data is stored in memory as electrical signals. But if the electricity is turned off, all the data will be lost.

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

What happens when you save your work?

A

Data is copied from memory to storage

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

What are some examples of storage ?

A

-The hard disk of your computer
-A flash memory drive
-The storage on your school network
-Cloud storage on the internet

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

What is another name of storage ?

A

Secondary storage

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

What is secondary storage?

A

Peripherals such as storage drives. Secondary storage is used to save user data files and program files in a non-electrical form until they are needed by the processor.

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

What are the advantages of RAM (electronic memory)?

A

RAM is very close to the CPU. The CPU can get data and instructions form RAM easily and quickly.

17
Q

What are the disadvantages of RAM (electronic memory)?

A

The disadvantage of RAM is that it’s contents are lost when the computer is switched off.

18
Q

What are the advantages of the secondary storage ?

A

The secondary storage can keep data and instructions safe when they are not needed, or when the computer is turned off.

19
Q

What are the disadvantages of secondary storage?

A

Secondary storage is further away from the CPU. It takes longer for the CPU to get data and instructions from the secondary storage than from RAM.

20
Q

What is the fetch-execute cycle?

A

The actions that take place in a CPU during a single processing cycle.

21
Q

What are the fetch-execute cycle steps?

A

1) Fetch
2)Decode
3)Execute
4)Save

22
Q

Describe the Fetch step:

A

The control unit ‘fetches’ the instruction from RAM. The instruction travels down the bus from RAM to the control unit.

23
Q

Describe the Decode step:

A

The instruction is in the form of a binary code. The control unit knows all the binary number codes. The control unit ‘decodes’ the instruction, so it knows what to do.

24
Q

Describe the Execute step:

A

The control unit sends a signal to the ALU to tell it what to do. The ALU carries out the instruction. ‘Execute’ means carry out an instruction.

25
Q

Describe the Save step:

A

If the instruction produces a result, then the ALU sends the result back to RAM.

26
Q

In what form does the instruction arrive to the control unit?

A

In binary numbers

27
Q

Which part of the CPU know binary codes?

A

Control unit

28
Q

What 2 things affect the speed of the computer?

A

-The speed of the clock
-The size of the memory

29
Q

What happens if a computer has lots of RAM?

A

If a computer has lots of RAM,
then all the data and instructions can fit into the memory.
The CPU can get the data and instructions very quickly .
The computer will go quickly.

30
Q

What happens if a computer doesn’t have very much memory?

A

If a computer doesn’t have very much memory,
then the data and instructions won’t all fit into the memory.
Some will have to wait in storage .
The CPU will get the data and instructions slowly.
The computer will go more slowly.

31
Q

What is cache ?

A

A small area of primary storage that holds data and instructions that are about to be processed by the CPU.

32
Q

How close is the cache to the CPU?

A

The CPU has a small amount of memory (cache) which is even closer than RAM.

33
Q

What happens if a computer has a big cache?

A

It is very quick for the CPU to get data and instructions from cache.
If a computer has a big cache then it will be able to get all the dat and instructions quickly.

34
Q

What is word size?

A

The amount of data that a computer can fetch and use in one cycle is called the ‘word size’.

35
Q

How is the size of the buses in different word sizes?

A

Computers with a larger word size tend to have larger buses so they can carry more data in one cycle.

36
Q

How does word size affect a computer’s speed?

A

A computer with a larger word size generally works more quickly