Lecture 2 Flashcards

1
Q

What is hardware?

A

Hardware: covers all the parts of the computer that you can physically touch.
E.g. Keyboard

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

What is a bus?

A

A ‘bus’ is a set of wires or copper tracks that are built into the motherboard
External buses such as USB can transfer data in and out of the computer
The bus system determines the size of each memory location and it also determines how much memory can be installed in the system.

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

Data bus?

A

It is a bi-directional bus that carries data between the processor and memory

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

Address bus?

A

Carries the address of the memory location being read from or written to

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

Control bus?

A

Carries signals that control the operation of each device

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

What is the control unit?

A

This is the part of the central processor unit (CPU) which manages the execution of instructions.
The control unit fetches each instruction in sequence, decodes and synchronises it before executing it by sending control signals to other parts of the computer.

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

What is the ALU?

A

This is the part of the CPU where data is processed and manipulated. The Arithmetic Logic Unit performs logic, shift and arithmetic operations on data.
Logic-NOT, AND, OR
Shift-shift bit pattern to left or right
Arithmetic-add, times,subtract

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

What are registers?

A

A small number of read/write memory cells that operate at very high speed.
Part of the ALU.
Holds the operands of an operation and on completion holds the result of the operation.
Addressed more quickly than regular memory cells

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

what is a byte?

A

If a memory location contains 8 binary digits (bits) it is known as a byte

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

What is ROM?

A

ROM cannot be changed by the processor, but only read by it.
When the computer is turned off the contents of ROM are maintained - known as non-volatile memory.
ROM is used for:
Storing the bootstrap program that starts the computer
Store fixed data associated with the computer system
Sometimes stores programs that remain in the computer at all times.

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

What is RAM?

A

Memory which holds data loaded from the backing store – data that the computer is to process, screen display etc.
It can be written to i.e. read/write memory
Lost when the computer is turned off -known as volatile memory
RAM is used for:
Storing programs that are being executed
Store data required for immediate use
As buffers for external storage devices

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

what is Cache memory?

A

High speed memory
Part of the processor or a special high speed cache memory chip
Used to speed up the execution of computer programs
Cache memory is faster than RAM and ROM but slower to access than a register
The following can be stored in a cache:
Program instructions that are executed many times
Regularly used data
Virtual memory page tables
Pipelining

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

what is the Machine clock?

A

An electronic device that produces a pulse of electricity at regular intervals.
A computer runs on a clock – a 2.5 GHz machine is running at 2.5 thousand million cycles per second. Each cycle is a clock pulse. The faster the clock, the more instructions per second.
Used to synchronise the computer system
Normally connected to the processor passing on synchronising signals through the control bus.
The complexity of the instructions affects the speed of processing.

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

Improving performance:

Number of cores

A

A single processor can only run 1 instruction at a time.
To get beyond this you need an additional processor.
This allows more than one instruction to be run and increases the speed of the computer.
Programs and computers have to be written to make use of the second processor

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

Improving performance:

Bus speed

A

The speed of the computer is also determined by how fast the data can travel. Data travels down buses
Increasing the speed of the bus decreases the waiting time and increases the speed. The speed of the bus is determined by the clock speed

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

Improving performance:

RAM

A

The more RAM you have, the more instructions you can store without having to access the disk which is slow. It decreases disk thrashing
Cache memory is even faster and with more of it, the machine runs faster still

17
Q

Improving performance:

Dedicated Processing Devices

A

Instead of using the processor to do all the processing you can use specialist processors to take some of the load and thus speed up the machine. These include sound and graphics processors

18
Q

Making a Machine Run Faster

Software options

A
Memory Optimiser:
Better use of memory
Replace programs with up-to-date ones:
Make better use of memory and resources
Patch software / run anti virus / anti spyware:
Remove programs using resources
Defragment Hard Drive:
Increases BUS speed
Remove Unused Programs:
Frees up hard drive space
Large swap file
19
Q

Magnetic storage devices

A

Create magnetised areas on magnetic media to represent the data. Areas of magnetised and non-magnetised are detected by the computer
e.g.s are hard disks, floppy disks, magnetic tape

20
Q

Optical storage devices

A

Uses lasers to burn spots on optical media
A light is used to read the spots and interpret them as data
e.g.s CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-R and DVD-RW

21
Q

Memory sticks

A

Use semi-conductor memory called flash memory

Similar to memory chips in the computer but hold data permanently

22
Q

What is an input device

A

Allows data to be entered onto a computer

23
Q

What is an output device?

A

Allows data to be retrieved from a computer after processing

24
Q

What is the Program Counter?

A

PC-keeps track of the memory location of the line of machine code being executed
Contains the address of the next instruction that is needed to be fetched/carried out.