1 - System Architecture Flashcards

(53 cards)

1
Q

What are the main components of a computer?

A

CPU, Output and Input devices, Main Memory, Secondary Storage

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

What is the CPU?

A

Central Processing Unit- Processes instructions and acts as the “brains” of the computer.

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

What is the Von Newmann architecture?

A

Program instructions and data programs are using both stored in same memory. CPU accesses both instructions and data from same RAM.

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

What is the Control Unit?

A

Coordinates and controls activites taking place in CPU. Decodes and executes instructions, receives signals from system clock and directs timing and control of other parts of the CPU.

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

What is the ALU

A

Arithmetic Logic Unit - where arithmetic operations and logic operations including AND, OR and NOT are done.

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

What is Cache?

A

Slower than registers but faster than RAM. Frequently used programs.

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

What is a register and what are the 4 types?

A

Fast memory location in CPU.
Program Counter (PC) - Holds address of next instruction to be executed.
Accumulator (ACC) - Holds the result of an instruction before it is transferred to memory.
Memory Address Register (MAR) - holds memory address of current instruction and data it uses so that these can be fetched from memory.
Memory Data Register (MDR) - holds actual instruction, and then the data that has been fetched from memory. Works in tandem with MAR.

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

What is the fetch, decode and execute cycle.

A
  1. Next instruction and data involved fetched from main memory.
  2. Instruction decoded.
  3. Instruction executed.
  4. Cycle repeats
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What happens in the fetch stage of FDE cycle?

A

Address of instruction to be executed copied from Program Counter –> Memory Address Register
Instruction of that address fetched from memory and copied to Memory Data Register.

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

What factors affect CPU performance?

A

Clock speed, No of Cores, Cache size

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

How does clock speed affect cpu?

A

Is cycles per second measured in hz. Faster clock speed means faster processing of instructions.

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

How does No of cores affect Cpu?

A

Multi core processors mean more instructions can be processed and executed at the same time. However some software can not take advantage of all cores so may not be as fast as some programs designed to only run on one core.

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

How does cache size affect CPU?

A

Cache is small, fasrt and expensive memory. It is closer to processer than RAm so takes less time to retrieve an instruction or data. Frequently used programs are stored in here.

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

Describe the 3 levels of cache memory

A

Level 1: extremely fast but small (2-256kb). Each core
Level 2: slower than level 1 (256kb - 8mb). Each core
Level 3: slowest but faster than RAM (4mb - 50mb). Cache shared between all cores on processor

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

What is an embedded system?

A

Computer system built into larger machine and provides means of control. Single microprocessor including RAM, ROM and CPU. Performs specific tasks.

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

What are examples of an embedded system?

A

Washing machine, Traffic light, Cruise control + Engine fan (in cars), Satnav, Microwave and Dishwasher

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

Compare the following characteristics between and embedded and general purpose machine:
CPU speed, Software, Where Storage occurs + Reliability

A

CPU speed: Slow on embedded. Very fast on general purpose.

Software: One purpose for embedded system. New software can be installed on general purpose.

Storage: Programs stored on ROM in embedded system. programs stored on hard drives.

Reliability: Embedded more reliable. General purpose less reliable.

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

What is primary storage?

A

Needed to store programs that are currently running and need to be accessed by the CPU.

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

What is RAM?

A

Random Access Memory (RAM): Often refered to as main memory. Can be read from and writte to. Faster than hardrive. CPU can access any part of the memory in the same amount of time.
Normally stores: OS, software currently in use and the data the software is currently using.
Volatile - data lost if power is off.

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

How does RAM work?

A

When computer turned on, RAM empty. OS from hard drive is loaded into RAm. Applications and programs are copied into RAM from hardrive.

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

What are key features of Secondary Storage?

A

Not directly accessible by CPU
Non Volatile
Secondary Storage devices may be internal or external to the computer

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

What are the uses of secondary storage?

A

Programs are stored on hard drives
Blu-Rays
Memory sticks
Magnetic tape/ external hard drives (for backup)
SD cards - additional storage on cameras/ smartphones

23
Q

What are the types of primary storage?

24
Q

What are the types of Secondary Storage?

A

HDD - Hard Disk Drive
SSD - Solid State Drive

25
What are the types of Offline Secondary Storage?
CD, DVD, BluRay, Flash memory, SD cards, removable HDD, SSD, Magnetic tape
26
What is Magnetic storage?
Mechanical parts move over disks surface to read and write data magnetically, or a driver head reads a magnetic tape.
27
What is Optical storage?
Lasers read and write data using light.
28
What is Solid State?
Data recorded onto solid memory chips without any moving parts.
29
What are Magnetic disks?
Disks containing concentric circles (tracks) divided into sectors. Disk heads mounted on mechanical arms which read and write data.
30
What is a hard disk made from?
Solid platter
31
What is a floppy disk made from?
Soft plastic
32
What is Virtual memory?
Part of hard drive used as an extension to RAM. It is cheap secondary storage on hard drives and prevents errors emssages as files and programs still open when RAM is filled up.
33
Drawbacks of Virtual memory
Slow and existing data in RAM needs to be copied to virtual memory then data in virtual memory needs to be copied to RAm.
34
What is ROM
Read only memory- can not be edited. Is non volatile and permanently stores data in primary storage even with no power. Stores bootstrap instructions and BIOS (Basic input/output system)
35
RAM vs ROM
Size: RAM 4-32GB ROM 4-8MB Storage: RAM used to stored running programs and OS. ROM used to store BIOS and Boostrap. Read: Both can be read Write: Only RAM can be written to Volatility: RAM is volatile while ROM is non volatile.
36
What is the order of speed between Processors, Cache, Virtual memory and Primary memory?
Fastest to slowest processor, cache, primary memory, virtual memory
37
How are hard disks used in Magnetic storage?
Fixed magnetic hard disks used in PCs and Laptops. Large storage capacities of 6TB + Cheap Portable hard disks can be connected to computer via USB (used for transporting and backup data)
38
What are the advantages of magnetic storage?
Cheap Large storage Fast write speed
39
What are the disadvantages of magnetic storage?
Mechanical parts Durability Sealed unit due to disk head and platter precision Not very portable
40
Uses and capacity of Magnetic storage?
Computers Storage of high quantities of data. Capacity: 500GB - 12TB+
41
What is Optical storage?
Data stored as pits and lands burnt or presed into spiral track circulating outwards fropm centre. Laser beam passes over them and level of reflection measured. 0s and 1s can be derived from this signal.
42
Advantages of Optical Storage
Cheap Portable Little physical space taken up
43
Disadvantages of Optical storage
Less storage Easily scratched Requires CD reader Slow write speed
44
Uses and capacity of Optical Storage
Songs Videos Multi-media storage, Backup and archiving data Capacity: CD-ROM 720MB DVD - 8.4GB (dual layered disk) BluRay- 50GB (dual layered disk)
45
Difference between CD and BluRay pit size
CD - Bigger pits and lands as red light has large wavelength. BR - Smaller pits and lands can store more data
46
What is a Solid State Drive
SSDs use non-volatile flash memory to store info.
47
Advantages of SSD
Durable No moving parts Fast read and write speeds No noisy fan or driver arm Faster start up
48
Disadvantages of SSD
More expensive Similar storage as magnetic disks
49
Uses and capacity of SSD
High end computers, laptops, smartphones + tablets. Capacity: 100GB-16TB
50
What are the advantages of Flash memory?
Low cost Portable Durable No moving parts
51
What are the uses of Flash memory?
Cameras Phones USB memory sticks
52
How does flash memory work?
Large electric current force electrons through a barrier and trap them on other side. They remain on other side until flashed with a new current.
53
What are the main characteristics of Storage devices?
Capacity Speed Portability Durability Reliability Cost