4.2: hardware Flashcards

1
Q

processor

A
  • part of the computer that processes data by executing programs
  • manages the rest of the hardware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

main memory

A
  • memory that can be accessed directly by the processor.
  • The main memory consists of memory locations that store instructions or data.
  • 2 types of main memory: volatile memory and non-volatile memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

volatile memory

A

loses its contents when the power is removed

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

non-volatile memory

A

keeps its contents even without power

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

RAM

A
  • volatile temporary memory that has adressible locations
  • Each location can be accessed randomly, so any instruction or data can be placed in any location
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

ROM

A
  • non-volatile (permanent memory)
  • different from secondary memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

motherboard

A
  • main printed circuit board (PCB) inside a computer
  • connects all the components of the computer together.
  • Similar to a human nervous system, a motherboard transmits signals between a computer’s components.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what does GPU stand for

A

graphics processing unit

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

graphics processing unit (GPU)

A
  • processor designed specifically to render graphics.
  • In the early days of computers, the CPU was responsible for this job. Now that graphics have become more advanced and require more computation, specialist processors have been designed to process graphics more efficiently and to take the burden off the CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Rendering

A

the process of converting image data into the graphics that you see on the screen

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

sound card

A
  • component needed to output audio signals to devices such as headphones or speakers and to receive an audio input from devices such as microphones
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

characteristics of RAM

A
  • It is volatile
  • You can read and write to it
  • It is quicker to access than secondary storage
  • It has the largest capacity of all main memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

characteristics of ROM

A
  • It is non-volatile
  • It is written by the computer manufacturer
  • Usually stores the BIOS
  • Smaller capacity than RAM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

purpose of RAM

A

Stores data and
instructions
during processing

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

purpose of ROM

A

Stores boot-up
instructions set by
the manufacturer

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

volatility of RAM

A

Volatile, data lost
without power

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

volatility of ROM

A

Non-volatile, data
remains after
power switched off

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

read/write of RAM

A

read and write

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

read/write of ROM

A

read only

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

capacity of RAM

A

usually several gigabytes

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

capacity of ROM

A

a few megabytes in size

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

Cache memory

A
  • Designed to make access to frequently used data much faster
  • There are three levels of cache used by the processor, each level has a different capacity and access speed. The closer the cache is to the CPU, the faster it can read and write data, but the less it can store
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

level 1 cache

A

usually a part of the processor itself. This cache has the lowest capacity, but the quickest access speed

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

level 2 cache

A

In some processors, the level two cache might be built into the processor along with level one.
Level two is slightly slower to read but has a higher capacity than level one

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
level 3 cache
the slowest at reading and writing, but it is still roughly twice as fast as RAM.
26
Registers
* small memory devices * provide faster access than both the RAM and cache but are only able to hold a few bytes at most. * split into two categories: general purpose and dedicated
27
general purpose registers
used to temporarily store values generated by instructions if they need to be used again in the next instruction
28
dedicated registers
serve a specific purpose in the Fetch-decode-execute cycle
29
virtual memory
a way a computer system can compensate for a shortage of RAM
30
why virtual memory is used
To reduce the likelihood of lags, freezing or crashing, computer systems allocate a portion of secondary storage as virtual memory
31
flash memory
* Flash memory is non-volatile and can be both written to and read from * flash memory is used as both storage and main memory
32
system architecture
the structure of the internal components of a computer system
33
Neumann architecture
* occurss in modern computers * involves: a processor; a memory unit, which stores both instructions and data; connections for input and output devices; and secondary storage for data
34
fetch-decode-execute cycle
describes how instructions are retrieved and processed in order to run a program
35
what factors affect processor performance
number of cores and the size of the cache
36
computer architecture
the structure and organisation of a computer system. It specifies the components that make up a computer system and describes how these are interconnected
37
what von neumann architecture consists of
* a Processor * a Memory unit that can communicate directly with the processor * connections for input and output devices * Secondary storage for saving/backing up data
38
adress bus
used to identify the adressed location
39
data bus
used to transfer the contents to/from that location
40
control bus
used to synchronise and control operations
41
arithmetic calculations
addition, subtraction, division, and multiplication
42
logical operations
AND, OR, NOT
43
control unit
organises the execution of instructions, including managing the other components in the processor
44
what is control unit responsible for
* Ensures the execution of instructions in the correct sequence * Decodes every instruction that the processor will execute * Sends and receives control signals to and from other components * Checks that signals have been delivered successfully * Makes sure that data goes to the correct place at the correct time
45
Clock
* used to synchronise the operations of the processor components * generates regular clock pulses by emitting a signal
46
Current instruction registers (CIR) purpose
Holds the current instruction that the processor is executing
47
Memory address register (MAR) purpose
Temporarily stores the memory addresses used when searching for data in RAM
48
Memory data register (MDR) purpose
Temporarily holds the data that are read from or written to the main memory
49
Program counter (PC) purpose
Holds the address of the next instruction to be executed by the processor
50
Accumulator purpose
Stores the result of any calculation
51
Fetch, decode and execute cycle
describes the basic operation of modern computers
52
fetch
Each instruction is fetched from memory (in order) and put into the appropriate registers. The control unit can then access the instruction for the next stages
53
decode
* The instructions (which are received in binary) need to be decoded before they can be run. This is the process the control unit uses to work out what the other components need to do. * Each processor will have slightly different encodings for instructions
54
execute
The control unit will tell the other components what they need to do in order for the instruction to work
55
purpose of adress bus
Carries address locations of stored data from the processor to memory and input/output devices
56
purpose of data bus
Sends the data to and from the processor, memory, and input and output devices
57
purpose of control bus
Carries signals that coordinate the operation of the components
58
system bus
adress, data and control bus together
59
facts about buses
* Each bus consists of a set of parallel — not single — lines * Each connection of a component to a bus is made up of parallel lines * Input, output, and storage devices communicate with the other components via I/O controllers * The connection is only one-way from the I/O controller of the input device towards the data bus * There is a one-way connection from the data bus towards the I/O controller of the output device * There is a one-way connection from the processor towards the address bus * There is a one-way connection from the address bus towards all the other components, i.e., the main memory and the I/O controllers
60
cache
a high-speed memory that sits close to or can be directly on the processor; it is used to store the instructions and data most frequently used
61
number of cores
Computers with more than one processing unit (core) are called ‘multicore processors’. For example: * Dual-core = two processing units * Quad-core = four processing units * Hexa-core = six processing units * Octo-core = eight processing units
62
requiremets of secondary strogage
high capacity low cost fast enough for loading and saving files reliable permanent storage
63
3 types of secondary storage
* Magnetic (hard) disk * Solid-state disk * Optical disc
64
magnetic storage
referred to as hard drives oldest form of didgital storage
65
characteristics of magnetic storage
* mechanical devices with many moving parts * means that it is more likely to fail * works like a cd reader
66
advantages of magnetic storage
* large capacity * lower cost than SSDs * reliable * do not degrade over time
67
disadvantages of magnetic storage
* not portable * they are built to live insde a computer * can be fragile
68
reading data from magnetic storage
To read the data, the head sweeps across the tracks on the spinning platters. A small magnetometer (a sensor that reads magnetic forces) reads the states of the magnetised dots underneath the read-write head. The magnetised states of the dots on the platters are then translated to 1s and 0s
69
writing data to magnetic storage
In order to write data onto the platters, the magnet on the end of the read-write head is used to generate a small magnetic field. The field causes the dots to switch state, becoming either magnetised or not magnetised. When the magnetic field is taken away the dots keep their new state, allowing data to be stored until another magnetic field is applied
70
optical storage
Optical discs are a large family of different disc types such as CD, DVD and Blu-ray disc.
71
what does CD stand for
compact disc
72
what does DVD stand for
digital versatile disc
73
characteristics of optical storage
* made up of a set of layers. The base is usually polycarbonate, and provides the main structure of the disc. There is always a thin aluminium reflective layer on the disc's surface. * Each disc has a continuous track of data arranged in a spiral
74
advantages of optical storage
* light and portable * relatively cheap * reliable
75
disadvantages of optical storage
* lower capacity than hard drives * slow seek time * not rewritable
76
reading data from optical storage
laser is shone onto the surface of the disc. The pits and lands reflect different amounts of light. The electronics in the optical drive (installed in your computer) can interpret the changes in reflected light as 1s and 0s
77
writing data
* To write to R or RW discs, the laser burns new troughs into the reflective surface of the disc. * RW discs use a chemical dye that allows the burning process to be reversed, allowing you to rewrite the data on a disc
78
R discs
* recordable * can be written to once * used to archive data
79
RW discs
* rewritable * can be written and read many times * used to back up files
80
solid-state storage
* caled SSD * form of Flash memory used for the medium to long term storage of data * has no moving parts * usb stick is an SSD
81
advantages of SSD
* portable * no moving parts so mechnical failure is less likely * less heat generated
82
disadvantages of SSD
* number of times that a solid-state device can be written to is limited * not suitable for long term archiving of data
83
cloud storage
* way to store and access files through the internet * data is stored on servers with secondary storage decvices
84
advantages of cloud storage
* expandable * files can be accessed from anywhere in the world * backs up your files and provider takes responsability for your data
85
disadvantages of cloud storage
* requires and internet connection * slower than other methods * malcious individuals may gain access to your data * data cna be lost
86
embedded systems
* a system designed to do a specific job * cheap, low-power devices using simple technology and limited memory
87
examples of embedded systems
traffic lights toaster toy