Computer architecture Flashcards

1
Q

Computer systems consist of software and hardware. What is meant by each term?

  • Software
  • Hardware
A
  • Software: programs executed from a computer system/ instructions that tell the hardware what to do.
  • Hardware: electrical component that makeup a computer system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is meant by the microprocessor or CPU?

A

A semiconductor chip that implements the central processor of the of a computer.The microprocessor is the component that executes instruction in a sequence.

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

Name and describe the functions of the main components within the Von Neuman CPU.

A
  1. Control Unit: provides the functionality required to control the movement of information between memory, the ALU an other portions of the machine.
    / is in charge of fetching the sequence it also decodes, synchronises and sends control signals between different internal parts.
  2. ALU (Arithmetic Logic Unit): Forms functions of two input values and produces a single output result/ performs arithmetic and logical operations.
  3. Registers: very small but fast storage located on the CPU
  4. Buses: connect all internal components (CPU with main memory).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define Main Memory

A

Volatile memory that stores instructions and data which is directly accessible by the processor.

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

Purpose of Main Memory

A

For storing programs that are currently being run and for data that is currently being processed.

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

Example of what is stored in Main Memory

A

A spreadsheet with its data that a user is currently working on.

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

Define Cache

A

Is small but fast memory which can be used by the processor much more quickly.

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

Purpose of Cache

A

To be accessed quicker than RAM by the CPU.

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

Example of what is stored in Cache

A

Instructions used for a loop that the processor is currently executing.

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

Define Register

A

Small but fast temporary storage located on the CPU.

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

Purpose of Register

A

Stores one instruction to be executed next.

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

Example of what is stored in a Register

A

LDA#15 - Load number 15 into accumulator.

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

Define ROM (Read Only Memory)

A

Series of instructions inside a computer that cannot be changed - non volatile.

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

Purpose of ROM

A

For data and instructions that are fixed onto the ROM chip to start the computer.

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

Example of what is stored in ROM

A

Configuration of the motherboard.

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

Define EEPROM (Electronically Erasable Programmable Read Only Memory)

A

Is non volatile but the entire contents can be erased and reprogrammed.

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

Purpose of EEPROM

A

Holds details of what is connected to the motherboard.

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

Example of what is stored in EEPROM

A

Multiple numbers and configurations of RAM modules

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

Example of secondary storage

A

Floppy disk

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

Example of Main Memory

A

RAM

21
Q

What is meant by CACHE memory

A

CACHE is small but fast memory that can be used by the processor much quicker compared to RAM. While CACHE is quicker, RAM has a higher capacity. Also RAM is volatile memory that stores instructions and data which is directly addressable by the processor.
CACHE: parts of the program currently being used.
RAM: All running programs.

22
Q

Describe three differences between RAM and ROM?

A
  • RAM is volatile
  • ROM is non volatile
  • RAM larger capacity
  • ROM smaller capacity compared to RAM
  • ROM does not require a constant source of power to retain information stored on it
  • RAM does require a constant source of power to retain information. When power is turned off RAM will lose all information stored on it
23
Q

What is the difference between ROM and EEPROM?

A

ROM: Cannot be changed
EEPROM: Content can be erased and reprogrammed
ROM: Systems / Programs / Instructions to boot your computer
EEPROM: Configuration of the motherboard attached devices

24
Q

Computers utilise different types of cache memory. Two traditional types of RAM cache and disc cache. Describe in detail each type of cache memory.

A
  1. On-chip cache: Area of microprocessor that contains cache memory.
  2. Disc cache: Area of very fast memory between a hard drive and RAM.
  3. RAM cache: Area of very fast memory between RAM and the microprocessor.
  4. Web Cache: File containing recently accessed web pages.
25
Q

Another use of cache is storing internet pages temporarily on the computer’s hard disc drive. Briefly describe the advantages of utilising this type of cache.

A

This cache (web cache) speeds up viewing because you can quickly view previously viewed pages.

26
Q

What is the highest address in a computer with 1K of memory?

A

2^10 - 1

27
Q

Give three examples of what can be stored in a 32 bit word.

A

Values / characters / integers

28
Q

A particular computer has 256 MB of RAM. How many bus wires are needed to address every Byte of this memory?

A
1MB = 2^20 --(20 lines)
256MB = 2^20 * 2^8 = 2^28 -- (28 lines)
29
Q

Giving an example in each case, define the computer terms bit and byte.

A

Bit: One binary digit, smallest unit of data in a digital computer system, can store one value (Example: 0 or 1).
Byte: A group of 8 bits (Example: 0101 0101).

30
Q

Define the computer term word. Give an advantage of a computer using a large word size compared with a computer using a small word size .

A

Word - the number of bits processed in one go in CPU.
Advantage - quicker than smaller word size because it can transfer more bits in one go.
/
A word is the number of bits which can be addressable or transferred as a single unit at a time. A computer with a large word size will be faster compared to a computer with a smaller word size.
Advantage: performance better because more instructions.

31
Q

What is meant by the stored program concept?

A

Program must be resident in Main Memory to be executed. From where they are fetched one after another, one at a time. Program can be replaced by loading another program into main memory.

32
Q

What is meant by a Von Neuman architecture?

A

Programs/ instructions and data are stored in one single store (MAIN MEMORY).

33
Q

Give two more names for immediate access store

A

RAM and Main memory

34
Q

Give another name for main memory

A

RAM

35
Q

If the data bus consists of 8 lines, what is the largest denary value which could be transferred in one go?

A

255

36
Q

What is the significance of the size of the address bus?

A

It determines the number of memory cells that can be accessed by the CPU

37
Q

Give two examples of a signal carried by the control bus

A
  • Command signals

- Timing signals

38
Q

What are the names of the three buses

A
  • Data bus
  • Control bus
  • Address bus
39
Q

A company has designed a new peripheral and is developing the I/O controller for it.
What do we mean by the term peripheral?

A

A peripheral is a piece of equipment that can be attached to the central processing unit, e.g. hard disk, keyboard (I/O controller).

40
Q

Why are devices not connected directly to the processor?

A

It would slow the computer down because the devices would have to have a separate interpreter in order to communicate

41
Q

Name one other device controller which may be found in a typical microcomputer

A

Expansion card

42
Q

The data bus carries data in both directions. Explain why the address bus only carries addresses in one direction

A

Does so from processor to system components. It only goes in one direction so no outside devise can write into the microprocessor.

43
Q

What is meant by the clock speed of a processor

A

The number of pulses per second generated by an oscillator that sets the tempo for the processor

44
Q

How is clock speed measure?

A

in GHz

45
Q

What is the relationship between the word length and bus width of a processor?

A

Bus width - determines the number of bits that can be transmitted together.
Word length - number of bits that the processor can process simultaneously

46
Q

Identify and describe three factors that affect the rate at which operations are carried out by the microprocessor.

A
  1. Control Unit - coordinates the activities taking place in the processor memory and peripherals.
  2. ALU - in which all arithmetic and logical operations are carried out.
  3. System Clock - generates clock pulses to step the control unit through its operations.
47
Q

What is the effect on processor performance of increasing (1) clock speed, (2) word length and (3) data bus width?

A
  1. If clock speed increases the speed at which instructions are executed increases in the processor.
  2. The overall speed of the computer will increase with the increase of word length.
  3. Determines the overall speed and performance.
48
Q

Why are microprocessors being designed with multiple cores?

A
  • They become faster

- Clock frequency increases with multiple cores

49
Q

The internal components of a computer are connected by a bus. Briefly describe two roles of the bus

A

Data bus - carries data to and from memory

Address bus - carries the memory address to the next instruction to be executed.