Chapter 3 Flashcards

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

What does the Control Unit do?

A

Manages other components of the CPU

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

What does the Arithmetic Logic Unit do?

A

Carries out mathematical calculations

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

What are registers?

A

Small areas of storage in the CPU

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

What are the 5 registers in the CPU?

A

PC, MAR, MDR, CIR, ACC

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

What does the Program Counter do?

A

Holds the ADRESS of the NEXT instruction

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

What does the Memory Address Register do?

A

Contains address of RAM to be written to / read from

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

What does the Memory Data Register do?

A

Contains the data to be written to RAM / read from RAM

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

What does the Current Instruction Register do?

A

Holds the instruction currently being decoded or executed

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

What does the Accumulator do?

A

Holds data stored by ALU during operations

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

What does the Control bus do?

A

Carries control signals, CU -> CPU
Control signals = [‘read’ or ‘write’]
Carries Control signals, CPU -> RAM

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

What does the Address Bus do?

A

Carries addresses ONE WAY
MAR -> RAM

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

What does the Data Bus do?

A

Carries data to be written from MAR -> RAM.
When data is read, it carries read data from RAM -> MAR

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

What is meant by “fetch” in the fetch-decode-execute cycle?

A

An instruction is taken from RAM -> CPU

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

What is meant by “decode” in the fetch-decode-execute cycle?

A

Instruction is decoded by CU

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

What is meant by “execute” in the fetch-decode-execute cycle?

A

Instruction is executed, usually by ALU.

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

What is Clock Speed

A

How many cycles a CPU can perform in one second (measured in GHz)

17
Q

What is Cache?

A

Fast memory in the CPU. Stores temporary copies of data in RAM. When CPU reads data, it will first check if the address is in the cache, to determine whether to read from cache or RAM (RAM is slower)

17
Q

What are cores?

A

Processors in the CPU.
A single core can perform one instruction at a time.
Beneficial for running multiple programs at once.

18
Q

What is an input device?

A

Inputs information to be processed

19
Q

What is a sensor?

A

Detects physical qualities of surroundings

20
Q

What is an output device?

A

Outputs information so it is suitable for humans

21
Q

Primary Storage is divided into

A

RAM and ROM

22
Q

What is RAM

A

Random Access Memory is temporary storage used to access programs currently ran. It is volatile (deleted when closed)

23
Q

What is ROM

A

Contains data that can be read but not altered, not volatile (permanent)

24
Q

Why is Secondary Storage used to store data permanently?

A

It is not volatile, and does not delete upon shutdown.

25
Q

Which is larger, Secondary or Primary Storage?

A

Secondary

26
Q

How does Magnetic Storage work?

A

Uses an electromagnet to detect charges on the surface, to read / write to the storage. i.e. HDD

27
Q

How does Optical Storage work?

A

A laser is shot at the storage. If it returns to a sensor, the location is a land. If not, the location is a pit. These lands can be created to write data. i.e. CD, DVD, Blu-ray

28
Q

How does solid-state storage work?

A

Has no moving parts. Consists of transistors with NAND commands (modern) and NOR commands (older). Control gate sets transistor charge, Floating gate retains charge when power is off. i.e. Memory card, Flash Drive

29
Q

What is virtual memory?

A

Used when the computer does not have enough RAM to run a program. Pages (chunks of data) are paged out to virtual memory, until there is free space in RAM. It is secondary storage and slows down program efficiency.

30
Q

What is cloud storage?

A

Secondary storage that holds mass amounts of data in one place. It is useful if a device is broken because it can be accessed via password.

31
Q

What is local storage?

A

It is storage directly on the device / another device. It is more private, however more prone to being lost.

32
Q

What is a Network Interface Card?

A

Allow a computer to connect to a network. Often contain an ethernet port.

33
Q

What is a MAC address?

A

A 48-bit hexadecimal number associated to a device. Holds the device model and the unique device ID. i.e.
6F:5D:41:AC:23:FF

34
Q

What is an IP address?

A

A temporary or permanent address assigned to a network.

35
Q

Describe IPv4 addresses

A

32 bits long. i.e. 200.67.53.43

36
Q

Describe IPv6 addresses

A

128 bits long, hexadecimal, 7 4-character parts separated by colons.

37
Q

What are routers?

A

Hardware used to connect devices to a Local Area Network. Can connect multiple LANs to form a Wide Area Network. Send data to the correct destination on a network.