Components of a Computer- S1 Flashcards

1
Q

The Central Processing Unit

A

the CPU or the processor, has a number of different components which enables the it to carry out its task of execution instructions.

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

Control unit

A

controls and coordinates the activities of the CPU It accepts next instructions and decodes it

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

Bus

A

a set of parallel wires connecting two or more components of a computer
The processor is connected to the main memory by three busses known as the system bus. Only one signal can be transmitted along a bus at a time.

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

Address Bus

A

The address bus transmits the memory addresses so that data can be retrieved and sent back to the processor. Data can only be sent one way (CPU to memory)

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

Data bus

A

The data bus, provides a bidirectional path for moving data and instructions from memory to location. (carries data between register components)

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

Control Bus

A

transmits control signals (from the control unit) to the rest of the processor (commands, timing) Data is a bi-directional bus between, CPU to memory or I/O devices.

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

Arithmetic-Logic Unit (ALU)

A

performs arithmetic and logical operations on the data. E.g subtract, shift operations within a register, Boolean logic operations.
Acts as a conduit through which all I/O to computer is done/gateway to the processor.

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

Fetch phase

A

1) The address of the next instruction is copied from the PC to the MAR
2) The instruction held at that address is copied to the MDR, and 1+ is added to the PC so it holds the address of next instruction.
3) The contents of the MDR are copied to the CIR.

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

Decode phase

A

The instruction in the CIR is decoded. The instruction is split into the opcode and the operand (the data that will be operated on).

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

Opcode

A

the instruction

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

Operand

A

the data that will be operated on

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

Registers

A

Provide fast access to data for when frequent access is needed like in the fetch execute cycle. It is used for temporary storage.

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

Memory Unit

A
Stores OS
 Stores data (currently in use)
 Stores software(currently in use)/boot
program/operations/instructions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Difference between RAM and ROM

A
  • RAM is volatile/ROM is not volatile
  • RAM is editable/ROM cannot be altered
  • RAM is larger/ROM is smaller
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Whats stored in RAM

A

Programs, software and data in use so that it can be accessed faster than the hardrive

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

What software is stored in RAM

A

Bootstrap, must be available when computer switched off in order to start the computer

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

Program Counter

A

-Is needed to store the address of the next instruction
-Value is then sent to the MAR
-After sending the value the PC is incremented
-OR the PC changes to address
held in CIR if the operation is a Jump

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

Memory Address Register

A

Contains the address of the instruction sent from PC

or sent from CIR

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

Memory data register(MDR)

A
  • Contains the instruction which has been accessed from memory
  • That is referenced by the MAR
  • Instruction sent to CIR
  • MDR acts as a buffer
20
Q

Accumulator(ACC)

A

Temporary storage that holds data being used during

calculations. It deals with input & output in the processor.

21
Q

Current instruction Register(CIR)

A

holds the current instruction being executed. Which is divided into operand and opcode.

22
Q

Name two architecture you can get for processors

A

The von Neumann and Harvard architecture

23
Q

What is the architecture of the Von Neumann

A

A program must be resident in main memory to be executed
Instructions are fetched from memory one at a time, decoded and executed in the processor.
There will be a CPU, Arithmetic Logic Unit and main memory (RAM).
Data bus transfers data and instructions, so instruction fetch and a data operation cannot occur at the same time
An address bus transfers addresses and instructions.

24
Q

Problems with the Von Neumann architecture

A

The data bus is slower than the rate at which the CPU can perform instructions and the speed of the processor is limited by the data transfer (bottleneck).

25
Q

Harvard Architecture

A
  • Instructions and data are held in separate memories
  • Parallel data and instruction buses may be used
  • Programs tend to be large
  • The CPU can be fetching both instructions and data at the same time.
  • Harvard can be faster the von Neumann
26
Q

What two types of Instruction Sets can you get?

A

CISC (Complex Instruction Set Computers)

RISC (Reduced Instruction Set Computers)

27
Q

CISC

A

Has a large instruction set to to accomplish tasks in as few lines of assembly language as possible. Complex instructions are built into the machine’s hardware.

28
Q

RISC

A

One instruction performs a simple task and there is only a limited number of instructions available. Therefore complex tasks can only be performed by combining multiple instructions.

29
Q

Difference between CISC and RISC

A

RISC has…
Has simpler hardware
More complicated software code
Takes one cycle per instruction (pipelining is possible)
Uses more RAM to handle intermediate results
More to compile
Used in smartphones and tablets, as they need less power and less energy. whereas CISC used in PCs

30
Q

Whats an instruction set

A

all the instruction in machine code that are recognised and executed by the CPU

31
Q

What two types of systems can be used for a processor

A

Co-processor and multi-core

32
Q

Co-processor

A

Designed to carry out specific task, usually floating point calculation,graphics and digital signalling processing, which would take up a lot of processor time.

33
Q

Multi-core`

A

Multi-core CPUs can distribute workload across multiple CPU cores, achieving higher performance. This is used in supercomputers when there is a lot of processing needed

34
Q

When will multi-core not work?

A

When a problem/operation can not be broken down and distributed

35
Q

Input

A

Inputs consist of data or commands that enter the computer system.

36
Q

Output

A

Where the information obtained after processing is presented to the user. It might be something you see, hear, smell, read.

37
Q

What is an Actuators

A

motors in conjunction with sensors to control a mechanism like opening windows, starting pump, turning a wheel

38
Q

Storage Device

A

Storage devices are secondary storage and are used to store data and software for later. It is not directly accessible to the processor like RAM and has a slower access speed, but it retains its contents when the computer it turned off.

39
Q

Give examples of Storage Devices

A

Hard Drive, Magnetic Tape, CD/DVD, USB/Flash memory,

40
Q

Out of CIR, MDR and PC which hold binary numbers?

A

All of them

41
Q

Out of CIR, MDR and PC which always hold only an address

A

PC

42
Q

Out of CIR, MDR and PC which can change more than once during a cycle

A

PC and MDR

43
Q

Out of CIR, MDR and PC which may pass a value to the MAR

A

PC and CIR

44
Q

Give the name of the computer architecture that uses fetch-execute cycle with a single control unit

A

Von Nueman architecture

45
Q

Explain once other advantage excluding cost of RISC compared with CISC

A

RISC runs faster due to simpler instructions

46
Q

Describe three different input devices used by police

A

Fingerprint scanning- digitises image and compares with those held in database.
DNA analysis looks for similarities in DNA in two samples.
Cameras (security in shops) which record.