Systems Architecture Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a computer system?

A
  • A computer system takes a set of digital inputs, processes them and creates a set of outputs
  • This is done by using a combination of hardware and software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a General Purpose System?

A

General Purpose Systems:

  • Performs many varied tasks by making use of software applications
    e. g. a tablet can be used to listen to music, view web pages, use camera software and create documents
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an Embedded System?

A

Embedded System:

  • Performs one specific task within a larger system
  • Don’t have a monitor, keyboard or touch screen. They are built on a single printed circuit board
  • They are made up of both hardware and the software that they need to do their task. This is called ‘Firmware’.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why Von Neumann Architecture?

A
  • Before the VN Architecture, computers were designed to do 1 specific task (‘fixed program’ machines). The program was part of the machine.
  • If you wanted the computer to do a different task it literally had to be rewired. This was long and difficult.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Von Neumann Architecture?

A
  • The Von Neumann architecture means that program instructions & data are both stored in computer memory (RAM).
  • The CPU can now change tasks simply by loading a different program into memory - no rewiring needed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are some features of the Von Neumann Architecture?

A
  • RAM: There needs to be enough memory for both programs and data
  • Buses: Data and instructions are carried on buses
  • ALU: responsible for carrying out calculations and logic comparisons
  • Registers: small, very fast type of memory, inside the CPU.
  • Input & Output: There is a way to input data into the computer and to output info
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the Harvard Architecture?

A
  • Harvard Architecture has the idea of keeping data and instructions in separate memory
  • Disadvantages: Costly & Complex
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the Memory Data Register?

A
  • When the CPU needs to fetch an instruction/data from RAM, it’s initially stored in the MDR
  • It is then moved from the MDR to the relevant register in order to be processed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the Instruction Register?

A
  • Having fetched an instruction from RAM (which is stored in the MDR), it is then transferred to the Instruction Register to be decoded and executed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the Program Counter?

A
  • The PC is used to identify the location of the next instruction/data to be executed by the CPU.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the Memory Address Register?

A
  • The MAR is updated by the PC to contain the location of the next instruction/data to be fetched from RAM
  • This address is passed to RAM via the address bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the Accumulator?

A
  • A register used to temporarily store data whilst calculations are being performed within the ALU.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the Fetch-Decode-Execute Cycle?

A

The FDE cycle is the process that a CPU follows to execute instructions.

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

What is the Fetch step of the FDE cycle?

A
  • The program is loaded into RAM by the operating system. The operating system notifies the CPU where it can find the first instruction in RAM.
  • The location is loaded into the Program Counter and the fetch cycle begins.
  • The address location in the PC is copied into the MAR. The CU then loads the address from the MAR to the address bus.
  • RAM reads the contents on the bus and looks up the contents stored at the location which is then loaded into the data bus.
  • The MDR receives the data, the instruction is then copied into the instruction register.
  • The PC is now incremented by 1 location.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the Decode step of the FDE cycle?

A
  • While the next fetch cycle begins, the CPU simultaneously is decoding the first instruction. The Control Unit reads the contents of the instruction register.
  • It checks if the instruction is valid or not
  • If for some reason the instruction was not valid then it would not recognize it and if this were to happen the program will probably turn off and crash
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the Execute step of the FDE cycle?

A
  • The ALU is responsible for all the calculations.
  • It will read the original value of the accumulator and then will process the instruction.
  • It will then store the result of the calculation in the accumulator
17
Q

What three main factors affect the CPU’s performance?

A
  • Cache
  • Core
  • Clock
18
Q

What does the clock do?

A
  • A tiny quartz crystal inside the CPU
  • Each time the clock ticks, one instruction has been processed

Higher clock speed -> More heat generated

  • CPU can become overheated and damaged
  • To keep the temp. a medium a heat-sink is situated on the motherboard on top of the CPU chip

Overclocking def. : A clock ticks more than its normal design limit

19
Q

What are cores?

A
  • Cores are a complete processing unit within the CPU (has its own ALU, CU and registers)
  • Having extra cores allows additional tasks to be carried out simultaneously, therefore ^ processing time
20
Q

Why can’t a dual core exactly double the processing time of a CPU?

A
  • Parallel processing is where a single task is split into 2/more parts and each part is processed at the same time
  • However, this doesn’t always double the performance as some programs are sequential and cannot easily be split into 2 parts
21
Q

What is cache memory?

A
  • As small, but extremely fast type of memory
  • A temporary buffer between the CPU and RAM
  • Stores frequently used instructions/data
  • Speeds up the performance
22
Q

What are the two types of cache?

A

Internal and External cache.

23
Q

Where is cache located?

A

Close to the CPU.

24
Q

The process of turning inputs into outputs employs a combination of what?

A

Hardware and Software.

25
Q

What is RAM?

A

It is volatile main memory. Stores data and programs that are currently in use, can be read from and written to.

26
Q

What is secondary storage?

A
  • Secondary storage is non-volatile, long-term storage. It is used to keep programs and data indefinitely.
  • Without it all programs and data would be lost the moment the computer is switched off.
27
Q

What is primary storage?

A

Primary storage is the memory in which the computer can store the data or instructions that are currently in use.

28
Q

What are the 2 types of primary storage?

A
  • Random-Access-Memory (RAM)

- Read-Only-Memory (ROM)

29
Q

What are the two main types of processors?

A
  • Central Processing Unit

- Graphics Processing Unit

30
Q

How many instructions are executed per second at 3GHz?

A

3 billion instructions per second