Fundamentals of Computer Architecture Flashcards

1
Q

What are the 3 components of Von Neumann Architecture?

A

CPU, Main Memory, I/O devices

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

What is a system bus?

A
  • Allows the CPU to connect to other parts of the computer system using wires
  • Facilitates communication between different components
  • Some of the wires in a system bus are for sending signals, some for addresses and some for data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a bus master

A

The part of the system bus responsible for coordinating the sending/receiving of data and signals and managing the processes

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

What is a clock?

A

A repeated signal/pulse that flips between 1 and zero. Voltage, on and off. It is a point of reference for all components in the system so they can keep time with each other.

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

What are logic gates and truth tables?

A

Logic gates are transistors in a system that act like switches. They can be set to on/off by either allowing or blocking an electrical signal. In essence they convert binary inputs to binary outputs with particular meanings i.e. these on/off positions can be combined to make logical ‘truths’ e.g. both ON = AND both OFF = NOT one ON and one OFF = OR - truth tables represent these combinations of input/output meanings in diagrammatic form

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

Clock Cycle

A

Has a rising edge (voltage from 0-1) and falling edge (from 1-0)

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

clock period

A

time to complete one clock cycle (t = 1/frequency)

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

frequency

A

Frequency = 1/t ( t is clock period)

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

If t (clock period) = 0.01 seconds (10 milliseconds) - what is the frequency for a clock cycle

A

1/0.01 = 100 hz

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

What is a bit?

A

Smallest binary digit (a 1 or a 0)

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

dynamic power

A

energy used by transistors to turn on / off

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

what is a byte

A

Combination of 8 bits (sequence of 1s and 0s)

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

CPU

A

circuit made up of transistors - can compute small amounts of information

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

static power

A

energy used by transistors when dormant

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

What are some of the challenges in the development of computer chips and increasing computing power

A

One of the main ways that computing power has increased has been decreasing the size of transistors and packing more onto a chip.

As the density of chips increases so does the heat generated.

Heat sinks and cooling fans can be used to remedy this but only so far.

Also transistors can only be made so small before the size starts to interfere with the flow of electricity on an atomic level making them unreliable

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

What is an instruction?

A
  • performs computation on small bits of data held in registers in the CPU
  • examples of computation are:
    • evaluating to TRUE or FALSE (and can do things based on the outcome) , arithmetic like adding or subtracting, reading information from or loading/storing information into memory
  • can be grouped with other instructions to make a program
15
Q

What does fetch/execute mean

A

CPU fetching instruction from memory and executing the instruction

16
Q

What is performance in relation to a CPU and what are the aspects we take into account when evaluating performance?

A

A cost benefit analysis on a system - i.e. how well it performs the task we want it to perform

  • mips (million instructions per second)
  • amount of power taken (e.g. in watts)
  • cost of electricity
  • ?dimensions
17
Q

What is power density and how is this calculated?

A

how much power is generated for the size of the chip - can give us an idea of heat generation

  • power (Watts)/volume of the chip (cubic mm)
    e.g.
    chip size: 20 x 20 x 5 mm
    power: 40 Watts

power density = 40 / 2000mm^3 = 0.02W/ mm^3 or 20mW/mm^3

18
Q

Ways to improve performance

A

Pipelining - one instruction doesn’t need to finish before another is lined up

Multiscalar - Starting a new (unrelated) instruction before the current one has finished

Multicore processors - multiple processors/cpus

Branch prediction - based on previous patterns, predicting what instructions will execute next and lining them up (there is a cost if wrong)

Speculation - as above but carrying out the instuction (must be roll-back-able )

19
Q

What components make up the internal structure of a CPU

A

Address Register
Instruction Register
ALU (Arithmetic Logic Unit)
Control Unit

20
Q

What’s a general purpose computer

A
  • a computer for a user who needs it to be able to do a wide variety
  • has a large amount of memory on disk
  • can run a variety of applications
  • can run a range of operating systems and software
  • can connect a variety of peripheral devices
  • built from easily sourced components
21
Q

What’s a mobile processor

A
  • chip optimised for the kind of processing needed on a small handheld device /performs multiple functions - rather than being separated into multiple chips / also optimised for running on limited power
22
Q

What’s an embedded systems

A
  • preprogrammed, within a device e.g. a microwave - with set operations that they perform without a user needing to program - small small memory, often adheres to von neumann architecture
23
Q

What is Amdahl’s law

A

1/(1-P) + (P/n)

P=proportion of the system optimised, n= speedup factor