Computer Systems (I) - Components of a Computer System Flashcards

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

What is a computer?

A

A machine that processes data

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

What is the purpose of a computer and why are they so beneficial?

A

The purpose is to take data, process it and output it – they are much more efficient than humans at certain tasks

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

What does a computer system consist of?

A

Hardware and software (working together to complete tasks)

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

What is hardware and what is software?

Give some examples

A

Hardware – physical components, e.g. CPU / motherboard / printer / monitor

Software – programs or applications that a computer system runs (e.g. an operating system / video games)

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

What are embedded systems?

A

Embedded systems are computers built into other devices, e.g. TVs / dishwashers

They are often used as control systems (monitoring / controlling machinery)

They are easier to design and cheaper / more efficient as they have a dedicated single task

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

What two types of computer system are there and what are their differences?

A

General purpose – designed to perform many tasks, e.g. a home PC

Embedded systems – designed to perform one specific function, e.g. controlling traffic lights

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

List some key components within a computer1

A
Power supply
Cooling fans
CPU
Graphics card
Optical drive
RAM
HDD / SSD
Motherboard
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does CPU stand for and what does it do?

A

Central Processing Unit – processes all the data and instructions that make the system work

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

What are the 3 main parts to a CPU?

A

Control Unit (CU)

Arithmetic Logic Unit (ALU)

Cache

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

What is the function of the Control Unit (CU) within a CPU?

A

CU is in overall control of the CPU – manages fetching, decoding and execution of program instructions.

It also controls the flow of data inside and outside of the CPU

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

What is the function of the Arithmetic Logic Unit (ALU) within a CPU?

A

The ALU undertakes the calculations – additions / subtractions (and multiplications / divisions using repeated additions or subtractions)

It performs logic operations (AND / OR / NOT) and binary shifts

It also contains the accumulator register

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

What is the function of the Cache within a CPU?

A

Cache is very fast memory in the CPU (faster than RAM but slower than registers)

It stores regularly used data

There are three types: L1 (quickest but lowest capacity), L2 and L3 (slowest but greatest capacity)

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

What does the following show?

A

Von Neumann’s architecture for a CPU

CPU runs programs, stored in memory

Programs consist of instructions and data, stored in memory addresses

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

What are CPU registers?

A

Registers temporarily hold tiny bits of data needed by the CPU – they are very fast at reading / writing

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

What do CPU’s follow?

A

Fetch-Decode-Execute cycle

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

Describe the Von Neumann CPU design

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

Describe the Fetch part of the Fetch-Decode-Execute cycle

A

Fetch – copy memory address from Program Counter (PC) to Memory Address Register (MAR)

Copy instructions stored in the MAR to the Memory Data Registers (MDR)

Increment the PC to point to the next address of the next instruction, ready for the next cycle

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

Describe the Decode part of the Fetch-Decode-Execute cycle

A

Decode – the instruction in the Memory Data Register (MDR) is decoded by the Control Unit (CU)
The CU may then prepare for the next step, e.g. loading values into the Memory Address Register (MAR) or MDR

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

Describe the Execute part of the Fetch-Decode-Execute cycle

A

Execute – instruction is performed, e.g. load data from memory / write data to memory / perform a calculation or logic operation (using the Arithmetic and Logic Unit (ALU)) / change the address in the Program Counter (PC) or halt the program

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

What does RAM stand for and what are its properties?

A

Random Access Memory (RAM) is used as the main memory of a computer

It can be read and written to

It is volatile – temporary memory requiring power to retain the data

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

What does ROM stand for and what are its properties?

A

Read Only Memory (ROM) contains the instructions a computer needs to properly boot up

It can only be read from (though can be updated with a ‘flash’)

It is non-volatile – the memory is permanent, containing data even without power

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

What is virtual memory and why might it be used?

A

Computers have limited RAM – when full, data can be moved onto secondary storage (virtual memory)

This is a much slower process but will allow many programs or RAM intensive programs to run

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

What does CPU performance depend on?

A

Clock speed

Number of cores

Cache size

24
Q

Why is clock speed a factor in CPU performance?

A

Clock speed is the number of instructions a single process can carry out per second (Hz)

The higher the clock speed the greater the number of instructions per second – which makes the machine faster

25
Q

Why is the number of cores a factor in CPU performance?

A

Each core in a CPU can process data independently

The more cores, the more instructions that can occur at once

*Software needs to be designed to take advantage of multi-core systems

26
Q

Why is the cache size a factor in CPU performance?

A

The cache is the data storage inside the CPU (faster than RAM)

A larger cache gives the CPU faster access to the data it needs to process

27
Q

What is over-clocking a CPU?

A

CPUs running at a higher clock speed that the factory-set rate

Benefits exist, but it can be risky as the CPU can overheat causing crashing or permanent damage

28
Q

What is the average CPU clock speed of a desktop computer?

A

Around 3.5 GHz (3.5 billion instructions per second)

29
Q

Why does more RAM make a faster, smoother system?

A

More RAM means the system is less likely to rely on virtual memory (which is slow)

More RAM means more applications or memory intensive applications can run smoother

*This only works to a point, where other factors will limit the system

30
Q

What are GPUs?

A

A GPU is a graphical processing unit

31
Q

How do GPUs help CPUs?

A

GPUs are specialised circuits for handling graphics and images

They relive the processing load on the CPU

Dedicated GPUs can drastically improve performance of graphics-intensive applications

32
Q

What are the two main tiers of storage and what are their characteristics?

A

Primary (CPU registers / cache / ROM / RAM) – volatile and fastest read/write speeds

Secondary (HDDs / SSDs / DVDs etc…) – non-volatile but much slower read/write speeds

33
Q

What are the characteristics of HDDs?

A

HDDs – high capacity and reliable as well as portable and long lasting (but can be physically damaged due to moving parts)

34
Q

What are the characteristics of SSDs?

A

SSDs – very fast and reliable (no moving parts) using a type of flash memory (though they are still quite expensive)

35
Q

What other type of flash storages exists?

A

USB pen disks / memory cards (SD) though these are much slower and have shorter read/write lives

They are extremely small, so useful for increasing capacity (e.g. in a camera / phone / handheld console)

36
Q

Compare the advantages of HDDs / SSDs

A
37
Q

What three forms do optical discs come in?

A

Read only (-ROM)

Write once (-R)

Rewritable (-RW)

38
Q

What are the benefits of optical discs?

A

CDs / DVDs / Blu-ray can hold 700 MB – 25 GB

Relatively low capacity but and slow read/write and poor reliability

Cheap, portable and not damaged by water or shocks (though easily scratched)

39
Q

Compare the types of secondary storage

A
40
Q

What are magnetic tapes mainly used for (and what are their properties)?

A

Magnetic tape has extremely large capacity (low cost per GB)

Often used for archiving large libraries, e.g. financial transactions

It is read/written sequentially

41
Q

What are the main functions of an Operating System (OS)?

A

Operating Systems manage the hardware and run the software.

Main functions include: communication with hardware / user interface / platform to run applications / multi-tasking / file management / security and user accounts

42
Q

Name some common Operating Systems

A

Windows, Mac OS, Linux

iOS, Android

43
Q

What two types of user-interface are there?

A

Graphical User Interface (GUI)

Command-line Interface

44
Q

What are device drivers used for?

A

Device drivers let the Operating System and hardware communicate with each other

45
Q

What are the differences between a GUI and command-line?

A

GUI are easy ways for the user to interact with the computer system (visual, interactive and intuitive)

Command-line are text based and ‘harder’ to use for the average user but are less resource-heavy and can be very efficient and powerful

46
Q

What GUI input methods exist?

A

Touchscreen (e.g. iOS / Android) use finger gestures

WIMP-based (windows / icons / menus / pointers) for systems such as Windows / Mac OS / Linux

47
Q

How does the Operating System help with multi-tasking?

A

Multi-tasking can occur as the Operating System manages resources

OS opens necessary parts of an app to memory (and if not actively used, can remove / place in virtual memory)

OS divides CPU time for multiple apps, prioritising where necessary

48
Q

How does the Operating System help with file and disk management?

A

Operating Systems affix file extensions (.jpg / .mp3 etc…) and deal with naming / saving / moving / editing / deleting files

Operating Systems also manage storage devices and any hierarchical structures

49
Q

What is defragmentation and how can utilities help?

A

As files are moved / deleted / changes small gaps can appear on the disk

Over time the disk can become more fragmented, slowing down the read/write of the files

Utilities can reorganise files, putting the fragments back together

50
Q

How does the Operating System help with user accounts and security?

A

Operating Systems can be single or multi-user

Access is granted to the system / different parts of the system

Operating Systems also incorporate security layers, e.g. passwords / pins / pin patterns / fingerprints / retina or facial scanners

51
Q

Draw a fragmented hard disk and one which has undergone defragmentation

A
52
Q

Why is defragmentation not needed for a SSD (or even recommended)?

A

SSDs use flash storage (no moving parts) so fragmentation doesn’t slow them down (they can access data just as quickly)

SSDs have a limited number of read/writes so defragmenting them shortens their lifespan

53
Q

What is compression software?

A

Compression software reduces the size of files (temporarily or permanently)

Compressed files take up less space and are quicker to download

They need to be extracted (e.g. .zip and .rar)

54
Q

What are the two types of compression type?

A

Lossless (data retained) and Lossy (data lost)

55
Q

What is encryption software?

A

Encryption scrambles (encrypts) data so even if stolen it cannot be understood

To decrypt a key must be known – modern encryption can be extremely difficult to crack

56
Q

Can encryption be cracked with ‘brute force’?

A

Brute force attacks can’t be used to guess keys, so modern encryption is very secure. However, it isn’t a guarantee that it can’t be broken