Unit 1 - Computer Components Flashcards

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

define control unit

A

-the part of the CPU that manages the execution of instructions. it fetches, decodes and synchronises instructions before executing it by sending control signals via the control bus to other parts of the computer

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

define buses

A

a common physical pathway shared by signals to and from several components of a computer

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

define ALU

A

arithmetic logic unit - where data is processed and manipulated by performing arithmetic, logic and shift operations allowing a program to make decisions

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

define accumulator

A

holds all inputs/outputs, holds results of any calculations, checked for conditional branching, stores data from the MDR/RAM

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

define CPU

A

central processing unit - the main part of the computer, consisting of the registers, ALU and CU
- processes instructions and runs the OS

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

name the 5 main registers

A
  1. PC
  2. CIR
  3. MAR
  4. MDR
  5. ACC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

function of the program counter

A

holds the memory address of the next instruction to be executed

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

function of CIR

A

current instruction register - holds the address of the current instruction being executed and decoded, which is split into opcode and operand

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

function of MAR

A

memory address register - holds the address of the memory location currently in use
fetch - address of the instruction being loaded
execute - address of the data being used

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

function of MDR

A

memory data register - acts as a buffer by temporarily holds data moving between the processor and main memory

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

steps in the fetch stage of the FDE cycle

A
  1. address of instruction moved from PC to MAR
  2. data/ instruction held at the address is moved to MDR
  3. PC incremented by 1
  4. contents of MDR moved to CIR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

steps in the decode stage of the FDE cycle

A
  1. instruction in CIR decoded
  2. split into operand and opcode to determine the type of instruction. (additional data fetched if required)
  3. passed to the ACC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

steps in the execute stage of the FDE cycle

A
  1. the instruction is executed and result held in ACC or stored in memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what is the opcode

A

specifies the operation to be carried out

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

what is the operand

A

holds either:​
- the address of the data to be used, which is then copied to the MAR
-​ the actual data to be operated on, which is passed to the MDR

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

define words

A

sections of memory that each hold a seperate memory address

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

function of the address bus

A

the part of the bus which carries identification about where data is being sent
- the width of the address bus determines the maximum possible memory addresses of the system

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

function of the data bus

A

the part of the bus that carries the actual information
- bi-directional so data can be sent both ways along the bus. the width of the data bus is defined by the number of wires or lines it contains.

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

what determines machine code format

A

architecture of the computer
- including word size and bus width

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

what are three factors affecting performance

A
  1. clock speed
  2. number of cores
  3. amount and level of cache
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

how does clock speed affect processor perfomance

A

FDE cycle is triggered by the clock pulses from the system clock the faster the clock speed the greater number of cycles per minute

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

how does the number of cores affect processor performance

A

each core is theoretically able to process a different instruction at the same time with its own FDE cycle, making a quad core computer up to four times faster than a single core processor

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

why might an increased number of cores not affect processor performance

A

the software may not be able to take full advantage of all multiple processors

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

define parallel processing

A

using several processor cores working at the same time

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

advantage of parallel processing

A

if the system is designed for parallel processing, each core can work concurrently on different parts of the same time therefore reducing time taken to complete

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

why does the amount and type of cache affect processor performance

A

the more and higher level cache memory a computer has, the more likely it is that it will not have to fetch the next instruction or data from RAM, as it will already have been loaded into the super fast cache memory from which it can be retrieved more easily

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

define cache

A

a small amount of super fast memory between the central processor and main memory that stores data and instructions that have recently to take advantage of its short fetch cycle

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

why does the location of the cache affect processing performance

A

cache is located on the cpu and therefore it takes less time to fetch instructions/data and copy them to the corresponding registers

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

factors of level 1 cache

A
  • memory split into instruction cache and data cache, so that data and instructions can be fetched simultaneously
  • extremely fast
  • very small
  • 2 - 256KB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

factors of level 2 cache

A
  • very fast but slower than level 1
  • 290KB - 8MB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

factors of level 3 cache

A
  • slowest but still faster than RAM
  • shared between all cores on the processor
  • 4MB - 50 MB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

define pipelining

A

an instruction can be fetched as the previous one is being decoded and the one before that is being executed
- successive steps of an instruction sequence are executed in turn by a sequence of cores able to operate concurrently, so that another instruction can be begun before the previous one is finished

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

define input devices

A

transfers data from the source in the outside world to a computer
- some require greater human intervention to generate the data

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

examples of manual input devices

A
  • keyboards
  • pointing devices (mouse)
  • microphones
  • touch screens
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

what are the two types of bar codes

A
  1. universal product code
  2. code 128
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

uses of 3-D scanners

A
  1. face recognition
  2. industrial and medical fields
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

define sensors

A

a hardware device that can take measurements of physical properties such as temperature or pressure from real world surroundings. these measurements are usually a representation of the actual property being measured

38
Q

how can input devices be controlled

A

the output from a computer or microprocessor can alter how the process is operating - it can change the value of the next input recieved

39
Q

how can input devices be monitored

A

the computer or microprocessor will make no changes to the process but will report the values

39
Q

how can input devices be monitored

A

the computer or microprocessor will make no changes to the process but will report the values

40
Q

define output devices

A

takes data produced by a computer and turns it into a human-readable form such as a printed document or an image on the screen

41
Q

examples of output devices

A
  • inkjet printers
  • laser printers
  • dot matrix printers
  • 3D printers
42
Q

applications of output devices

A
  1. medicine - with manufacturing prosthetic limbs, reconstructive surgery, general surgery
  2. manufacturing and art - car parts, prototyping and design, fashion and art, saving huge costs
43
Q

describe the stored program concept

A

a program must be loaded into main memory to be executed by the processor. the instructions are fetched one at a time, decoded and executed sequentially by the processor. the sequence of instructions can only be changed by a conditional or unconditional jump instruction.

44
Q

describe von neuman architecture

A

a single CU manages program control flow following a linear sequence of FDE. instructions and data are stored in a common main memory and transferred using a single shared bus

45
Q

advantages of von neuman architecture

A
  • owing primarily to cost and programming complexity, almost all general purpose computers are based on von Neumann’s principles
  • it simplifies the design of the Control Unit
  • data from the memory and from devices are accessed in the same way
46
Q

describe harvard architecture

A

a computer architecture with physically separate storage and signal pathways (buses) for instructions and data. data storage entirely contained within the CPU, and provides no access to instruction storage as data

47
Q

advantages of harvard architecture

A
  • different sized memories and word lengths can be used for data and instructions
  • harvard principles are used with specialist embedded systems and digital signal processing, where speed takes priority over the complexities of design
  • program instructions and data are no longer competing for the same bus
48
Q

uses of von neuman architecture

A

used in PCs, laptops, servers and high performance computers

49
Q

uses of harvard architecture

A

used in digital signal processing, microcontrollers and in embedded systems such as microwave ovens and watches

50
Q

differences in control unit of von neuman and harvard

A

von neuman - one bus is simpler for control unit design
harvard - control unit for two buses is more complicated and expensive

51
Q

differences in programs for von neuman and harvard

A

von neuman - can be optimised in size
harvard - tend to be large

52
Q

describe contemporary processor architecture

A

von neuman - one main memory holds data and instructions
harvard - cache is split into separate memory for data and instructions

53
Q

describe CISC architecture

A

complex instruction set computers - a design that produces a complicated and expensive integrated circuit capable of performing a large variety of complex instructions that can be executed with several machine cycles
- enhancing CPU speed by minimizing the number of instructions per program
- von neuman architecture

54
Q

advantages of CISC

A
  1. quicker to code programs
  2. the compiler has very little work to do translate a high-level language statement into machine code
  3. because the code is relatively short, very little RAM is required to store instructions
55
Q

describe RISC architecure

A

reduced instruction set computers - a design that produces a simple, cheap integrated circuit with a basic range of machine instructions. relies on speed as it only uses simple instructions, each taking one clock cycle to be executed
- the number of cycles an instruction may take to execute is minimized
- harvard architercture

56
Q

advantages of RISC

A
  1. the hardware is simpler to build with fewer circuits needed for carrying out complex instructions
  2. because each instruction takes the same amount of time, i.e. one clock cycle, pipelining is possible
  3. the logic of RISC machines is simple to decode. Consequently, fewer transistors are required to complete tasks
57
Q

describe multi-core processors

A

able to distribute workload across multiple processor cores, thus achieving significantly higher performance by performing several tasks in parallel. these are therefore known as parallel systems

58
Q

describe co-processors

A

is an extra processor used to supplement the functions of the primary processor. it may be used to perform floating point arithmetic, graphics processing and digital signal processing

59
Q

describe the GPU

A

graphics processing unit - graphics processing unit is a specialised electronic circuit designed to rapidly manipulate and alter memory to accelerate computer graphics and image processing. it consists of thousands of small efficient cores designed for parallel processing.

60
Q

define RAM

A

Random Access Memory – data, information and applications is that are currently being used are stored in the RAM. RAM is volatile so once the computer loses power the data and information will be lost

61
Q

define ROM

A

Read Only Memory – stores the BIOS* in the ROM. ROM is non-volatile so will not lose data if the computer is turned off
- cannot be written to

62
Q

define virtual memory and the need for it

A

virtual memory is an area of secondary storage and is used when the RAM is full so it can transfer some of the data into it

63
Q

advantages of virtual memory

A
  • uses cheap secondary storage on the hard drive
  • prevents error messages saying “out of memory” - the programs and files will still open
  • improved reliability and performance
  • the flexibility to scale the storage requirements up and down as your needs change over time
64
Q

disadvantages of virtual memory

A

accessing virtual memory is very slow
- TO access data, the existing data in RAM needs to be copied to the virtual memory, then data in virtual memory needs to be copied in RAM

65
Q

features of secondary storage

A
  • non-volatile
  • external or internal
66
Q

name the three storage methods

A
  1. magnetic
  2. optical
  3. solid state
67
Q

what are 6 characteristics of storage

A
  1. capacity
  2. speed
  3. durability
  4. reliability
  5. portability
  6. cost
68
Q

basic features of magnetic storage

A

disk contains concentric circles called tracks. each track is divided into sectors. disk heads mounted on mechanical arms read and write the data.
- a disk with a solid platter is a ‘hard’ disk. Soft plastic disks are known as ‘floppy’ disks.

69
Q

advantages of magnetic storage

A
  • cheap
  • large storage capacity
  • relatively fast write speed
70
Q

disadvantages of magnetic storage

A
  • lots of mechanical parts = durability issue
  • not very portable
71
Q

uses of magnetic storage

A
  • personal computers
  • storage of large quantities of data
72
Q

capacity of magnetic storage

A

500 GB – 12TB or greater

73
Q

basic features of optical storage

A

data is stored as pits and lands burnt or pressed into a spiral track circulating outwards from the centre. a laser beam passes over the pits and lands the level of reflection is measured. from this signal, 0s and 1s can be derived

74
Q

advantages of optical storage

A
  • cheapest
  • portable – physically small
75
Q

disadvantages of optical storage

A
  • less storage capacity compared to others
  • easily damaged/ scratched
  • slow write speeds
76
Q

uses of optical storage

A
  • songs, videos and other multi-media storage
  • backup and archiving of data
77
Q

capacity of optical storage

A

CD-ROM – up ton 720MB
DVD – up to 8.4GB
Blu-Ray – up to 50GB

78
Q

basic features of solid state storage

A

flash memory:
large electric current used to force electrons through a barrier and trap them on the other side. they remain on the other side until “flashed” with a new current, hence the name – trapped (charged) or not trapped = 0 or 1

79
Q

advantages of solid state storage

A
  • highly durable
  • very fast read/write speeds
  • no noisy fan or drive arm
  • faster start up times
80
Q

disadvantages of solid state storage

A
  • more expensive per GB than magnetic hard disks
  • lifetime issues as flash memory degrades
81
Q

uses of solid state storage

A
  • higher end computers
  • laptops
  • smartphones and tablets
    examples: USB Pen drives, SD cards, micro SD cards, SIM card
82
Q

capacity of solid state storage

A

100GB – 16TB

83
Q

define GPU

A

graphics processing unit capable of rendering graphics for display on an electronic device

84
Q

how does a GPU work

A

it gets instructions from the CPU and uses parallel processing and specialized RAM to handle graphics information

85
Q

differences between CPU and GPU

A
  1. CPU needs/requires more memory
  2. GPU is generally faster
  3. CPU contains a smaller amount of more powerful cores
  4. GPU is suitable for parallel processing
  5. CPU emphasis on low latency; GPU emphasis on high throughput
86
Q

other uses of a GPU

A
  • video editing
  • 3D rendering
  • scientific computing
  • improving the video editing process
87
Q

disadvantage of RISC

A

RISC processors use simpler instruction sets, complex and high-level instructions need to be divided into multiple, simple instructions - as a result, software components have more work to do in RISC than the processor’s hardware - can lead to compiler malfunction

88
Q

define concurrent processing

A

when more than one process is running from a program at once, with each process in turn being given a slice of an available processor’s time

89
Q

define virtual storage

A

data stored on a remote hard disk accessed over the internet