U1 - CPU Flashcards

1
Q

WHAT ARE TRANSISTORS ?

A

Tiny switches that control the flow or current. Current represent 1 and no current 0

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

WHAT ARE TRANSISTORS STORED ON ?

A

Slices of silicon
A single chip can contain thousands of transistors

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

DESCRIBE F-D-E USING VON NEUMANN ARCHITECTURE

A

Data from currently running instructions are stored in binary in the main memory
Instructions are fetched from the memory into the CPU one at a time
The instruction is decoded and run
The next instruction is fetched from memory
Data is fetched as and when needed

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

WHAT IS VON NEUMANN ARCHITECTURE ?

A

The design on which general purpose computers are based

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

NAME 5 REGISTERS

A

Program Counter
Memory Address Register
Memory Data Register
Current Instruction Register
Accumulator

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

WHAT IS A REGISTER ?

A

A fast access temporary storage location in the CPU

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

WHAT DOES A PC DO ?

A

Program Counter
Keeps track of the memory ADDRESS of the NEXT instruction

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

WHAT DOES THE MAR DO ?

A

Memory Address Register
Holds the ADDRESS of the instruction CURRENT instruction

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

WHAT DOES THE CIR DO ?

A

Current Instruction Register
TEMPORARY holding area for the INSTRUCTION that is being decoded

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

WHAT DOES THE MDR DO ?

A

Memory Data Register
TEMPORARILY stores data that has been fetched from memory

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

WHAT DOES THE ACCUMULATOR DO ?

A

Register in ALU that holds the RESULTS of currently running instructions

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

NAME THE 4 CPU COMPONENTS

A

Registers
Control Unit
ALU
Memory

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

CONTROL UNIT

A

Directs the flow of data
Coordinates all parts of the CPU
Controls clock

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

ALU

A

Arithmetic Logic Unit
Performs all calculations and logical operations within the CPU

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

NAME 3 BUSES

A

Address Bus
Data Bus
Control Bus

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

WHAT DOES THE ADDRESS BUS DO ?

A

When data is saved or loaded from memory, the address it is stored at must be sent
Memory address travel on the address bus
GOES BETWEEN INTERNAL MEMORY AND RAM

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

WHAT DOES THE DATA BUS DO ?

A

When data is sent between different parts of the computer it is sent on the data bus

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

WHAT DOES THE CONTROL BUS ?

A

The CU uses this bus to send control signals to different parts of the computer

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

FETCH

A

The CPU reads the PC to locate the address of the instruction. The PC value is COPIED TO THE MAR and sent on the address bus. The CU tells the RAM to check the A-Bus and send the INSTRUCTION at that location on the DATA BUS to the MDR

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

DECODE

A

The CU AUTHENTICATES THE INSTRUCTION in the CIR.
The instruction is decoded to determine the ACTION THAT NEEDS TO BE CARRIED OUT

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

EXECUTE

A

SIGNALS ARE sent to different parts of the CPU to execute the instruction.
Sent via the CONTROL BUS.
Any arithmetic or logic functions are performed in the ALU

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

WHAT 3 FACTORS AFFECT PERFORMANCE ?

A

CACHE
CLOCK SPEED
CORES

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

WHAT DOES CACHE DO ?

A

Holds frequently used instructions
Improves performance as more cache means more frequently used instructions available quicker
Increase hit rate
INCREDIBLY FAST BUT VOLATILE AND EXPENSIVE MEMORY used in the CPU

24
Q

CLOCK SPEED

A

Number of F-D-E cycles a CPU can run per second
FASTER CLOCK SPEED = MORE INSTRUCTIONS EXECUTED
Measured in Hertz
OVERCLOCKING can strain battery and requires a cooling system

25
CORES
Multiple processors can run parallel, sequentially or can multitask Double cores should mean double the processing power However sometimes slowed by having to wait on other cores. No better than one core
26
WHAT IS RISC ? ADV/DIS
RISC = Reduced Instruction Set Computer Processes a limited number of simple instructions Complex instructions must be broken ADV - Less circuitry, uses less power Physically smaller and doesn't require a dedicated cooling system Cheaper and less complex to make Ideal for phones and embedded systems
27
WHAT IS CISC ? ADV/DIS
CISC = Complex Instruction Set Computer Can process complex instructions quickly Used in computers DISADVANTAGES - More expensive Requires more complex circuitry Physically larger Use more power and requires a dedicated cooling system
28
DEFINE AN INPUT DEVICE ?
Allow the user to interact with computer by entering text or sound (data)
29
DEFINE AN OUTPUT DEVICE ?
Provides the results of the computer's processing to the user. DISPLAYS THEM
30
NAME SOME SPECIALIST I/O DEVICES
Braille Printer Barcode Scanner
31
WHAT ARE THE 4 KINDS OF PRIMARY STORAGE ?
RAM ROM FLASH CACHE
32
What is RAM ?
Random Access Memory A TEMPORARY storage for currently running programs and data e.g. the OS RAM consists of many store locations each of which has unique address
33
IS RAM VOLATILE ?
RAM IS VOLATILE
34
What is ROM ?
Read Only Memory Used for the PERMANENT storage of data The data cannot be changed 'READ ONLY' ROM stores the BIOS, disadvantage is that BIOS can't be updated
35
IS ROM VOLATILE ?
ROM IS NON-VOLATILE
36
WHAT IS FLASH ? (PRIMARY)
Used for the PERMANENT storage of data and INSTRUCTIONS It is NON-VOLATILE Data can be edited in flash memory The BIOS can be stored and UPGRADED there
37
WHAT IS CACHE ?
Used for the TEMPORARY storage of frequently accessed data and instructions Small number of store locations Can be accessed quickly by the CPU VOLATILE FASTEST STORAGE TYPE
38
WHAT IS SECONDARY STORAGE ?
A non-volatile, LONG-TERM storage that is not accessed directly by the CPU When DATA is needed it is transferred into PRIMARY STORAGE Data is put into secondary memory when it is not being actively used It takes longer to access secondary memory stores than primary
39
WHAT ARE THE 3 KINDS OF SECONDARY STORAGE TYPES ?
OPTICAL MAGNETIC FLASH
40
HOW DOES OPTICAL STORAGE WORK ? EXAMPLES ?
CD, BLU-RAY, DVD Laser beams are projected onto the disc, if light is reflected it is one, if light is not reflected it is zero
41
HOW DOES MAGNETIC STORAGE WORK ? EXAMPLES ?
Discs are magnetised + or -, equating to 0 or 1 Data is stored and read using a READ/WRITE HEAD and a magnetic platter CASSETTE TAPES, VHS, HDDs
42
HOW DOES FLASH STORAGE WORK ? EXAMPLES ? (SECONDARY)
Also called SOLID STATE DRIVES because there are no moving parts Flash works by sending a large current to force electrons through a barrier the electron arrangement gives the data SD cards, USBS, SSDs
43
HDD - PROS/CONS
PRO - Good compromise between storage capacity and cost CON - Speed does not come close to RAM/ SSDs
44
SSDs - PROS/CONS
PRO - Quicker start up than HDD Consume less power and are lighter are smaller than HDD CON - SSDs are more expensive
45
CD / DVD
PRO - Two-layered storage CONS - Easily scratched going out of fashion
46
NAME THE DATA TYPES IN ORDER
Byte = 8 bits / 4 nibbles Kilobyte - 1024 bytes Megabyte - 1024 Kb Gigabyte - 1024 MB Terabyte - 1024 KB Petabyte - 1024 TB Exabyte - 1024 PB Zetabyte - 1024 EB Yottabye - 1024 ZB
47
WHAT DOES GPU STAND FOR ?
GRAPHICS PROCESSING UNIT
48
WHAT DOES A GPU DO ?
Generates and controls the output to the screen
49
INTEGRATED GPU
An integrated GPU is placed on the same chip as the CPU. It relies on the system's memory for graphics processing
50
ADV / DISADV OF A DEDICATED GPU
A discrete graphics card is separate form the CPU and has its own video memory to provide HIGH GRAPHICS PROCESSING POWER Uses more power and generates more heat Used by professional graphic designers and gamers
51
WHAT IS A SOUNDCARD ?
Canbe fitted onto the motherboard or PCI slot They enable the computer to output sound Sound cards converts analogue inputs into digital sound and reverse this process fro sound output
52
WHAT IS THE MOTHERBOARD ?
The main circuit board of the computer. CPU & ROM will be mounted onto the motherboard It provides space for RAM expansion slots, USB ports and PCI slots for extension cards, and controllers for devices
53
WHAT IS AN EMBEDDED SYSTEM ? EXAMPLES ?
A combination of hardware and software that performs a specific task Fitbits / Washing Machines An embedded system are reactive, they respond to conditions in their environment, i.e. temperature & weight
54
WHAT IS SOFTWARE WRITTEN FOR AN EMBEDDED SYSTEM CALLED ?
FIRMWARE
55
WHERE IS DATA STORED IN EMBEDDED SYSTEMS ?
ROM or FLASH