Systems architecture, memory, storage Flashcards

1
Q

Explain the Fetch Decode Execute cycle

A

-Fetch an Instruction from main memory
-Decode the instruction
-Execute the instruction

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

What is cache memory

A

Cache memory is very fast memory used to temporarily hold data or instructions that are likely to be used again by the processor in the course of running a program

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

In Von Neumann architecture are the data and instructions stored in the same memory

A

Yes

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

What does the Control Unit do?

A

The CU coordinates all the activity within the CPU. It can:
-control the execution of instructions in the correct sequence
-decode instructions
-send and receive control signals to and from devices within the computer

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

What does the Arithmetic and Logic Unit to?

A

The ALU carries out the following functions:
-Logical Operations
-Binary shifts
-Arithmetic operations

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

Name 4 registers inside the CPU

A

-Memory Address Register
-Memory Data Register
-Program Counter
-Accumulator

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

What is a special purpose register

A

A register is a very fast memory location within the CPU, used within the CPU for the execution of instructions

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

What does the MAR stand for and do?

A

Memory address register, holds the address (location in memory) of the instruction or piece of data to be fetched or stored

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

What does the MDR stand for and do?

A

Memory data register, holds data or a program instruction temporarily when it is fetched from memory or is to be sent to memory

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

What does the PC stand for and do>

A

Program Counter; holds the memory address of the next instruction to be processed

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

What does the ACC stand for and do?

A

The accumulator is a special-purpose, memory location where the results of operations carried out in the ALU are temporarily stored

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

What are the 3 main factors affecting CPU performance?

A

-Clock speed
-Cache size
-Number of cores

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

What is the clock speed?

A

the number of instructions a single processor core can carry out per second

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

What is cache memory?

A

stores regularly used data for quick access.
-it is low capacity
-it is expensive

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

The _____ cache memory a computer has the ______ the performance

A

more, better

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

How does the number of cores affect speed. What is a core

A

Each core processes data independently, meaning more instructions can be carried out per second with more cores.

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

Which type of memory is most expensive?

A

Cache memory

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

What is an embedded system?

A

computer built into another device. e.g. washing machine, microwave

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

Name 3 advantages of embedded systems

A

-Easier to design
-Cheaper to produce
-More efficient at tasks

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

Name an off-line storage device that is read-only and cannot be written to

A

ROM

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

What type of memory is used as the computer’s main memory?

A

RAM

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

What is hardware?

A

physical parts of a computer

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

What is software?

A

programs that a computer system runs

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

Why is virtual memory used?

A

When there isn’t enough main memory to store the entirety of a program so some data is moved to a location in secondary storage.
-THis data is moved back to RAM when the CPU needs it.
-Data transfer is slower on secondary storage, so this slows the computer’s performance.

25
Name some non-volatile storage forms
HDD, SDD, ROM
26
Name a volatile storage form
RAM
27
List the 4 features of ROM, and what it is
ROM (Read Only Memory) is the main permanent memory in a computer. It is: >non-volatile >read-only >small amount of memory build into the motherboard >Contains BIOS (Basic Input Output System)- instructions for the pc to boot up
28
List 4 features of RAM, and what it is
RAM (Random Access Memory) is the main temporary memory in a computer. It is; >Volatile >Can be read and written to >Programs and files are copied here from secondary storage while in use >Slower than CPU cache but faster than secondary storage
29
Define PRimary storage
memory that the CPU can read/write to quickly, e.g. RAM
30
Define Volatile
Storage / memory where data is lost when power is removed.
31
Define Non-Volatile
Storage/Memory where component retains data even when power is turned off
32
Name 2 types of internal storage
-Hard Disk Drive (HDD) -SDD (Solid State Drive)
33
Name 3 characteristics of HDDs
-Moving Parts -Store data magnetically on metal disks -Can be noisy
34
Name 3 characteristics of SDDs
-No moving parts -Use flash memory for faster read/ write times -Usually silent/ quiet
35
Name 4 types of external storage
-Flash drives/ memory cards -Optical disks -Magnetic tape -External HDDs & SDDs
36
When are flash drives and memory cards used?
solid state storage used to expand the capacity of small devices
37
Name 3 optical storage types
-CDs -DVDs -Blu-ray
38
What is the definition of optical storage
Makes use of a laser to shine and reflect light to read the data stored
39
What are 3 properties of optical storage
-Low capacity compared to other types of storage -SLow to access data -Thin, lightweight, portable
40
Name 3 Solid state storage devices
-SSD -Memory Sticks -Flash memory cards
41
Name 4 characteristics of solid state storage
-High storage capacity -quick access to data -no moving parts so high reliability -no noise -low power -no need to defragment
42
Define solid state storage
Use non-volatile random access memory to store data indefinitely
43
Name 2 magnetic storage types
-Hard Disk Drives -Tape
44
Name 4 characteristics of magnetic storage
-High storage capacity -QUick access to data -Has a moving part which eventually fail -hard disks perform better if they are defragmented
45
Define magnetic storage
Makes use of a magnetisable coating. Magnetised dots are made on the surface of the material, these dots are created, read, and erased by very small electromagnets.
46
What are the bumps and grooves on a DVD or CD called?
pits and lands
47
I want to make a backup of 125 photos, which each take up 16MB of disk space. What is the minimum amount of secondary storage space that I need?
equation for required capacity: RC = number of files x size of single file substitute values. RC = 125 x 16MB = 2000MB MB --> GB NUmber of MB/1000 = GB convert to appropriate units: 2000MB/1000 = 2GB
48
Describe the fetch stage
Fetch the next instruction from main memory(RAM) -Bring back to CPU
49
Describe the decode stage
-Inspect the instruction and work out what it is that needs doing
50
Describe the execute stage
-Carry our the instruction -Could include activities such as -going back to main memory and fetching data -performing a calculation -storing information back into main memory
51
What does the control unit do?
Controls the flow of data in and out of the CPU, manages the FDE cycles
52
What happens at the Fetch stage?
-Memory address copied from PC to MAR -Instruction copied from memory to MDR -PC incremented to point to the next instruction
53
What happens at the Execute stage?
-Decoded instruction carried out. Example instructions: -Load data from memory -write data to memory -do calaculation of logicoperation
54
WHat happens at the Decode stage?
-Instruction in the MDR decoded by CU -CU prepares for the next step, e.g. loading values into the MAR or MDR
55
Does the FDE cycle ever end?
The fetch-execute cycle runs continuously while the computer is running
56
What holds the address of the next instruction to be executed
MAR
57
Data stored here is not erasable and usually contains instructions for booting the system, what am I?
ROM
58
Arithmetic and Logical instructions are carried out here:
ALU