Week 3 Flashcards

1
Q

A CPU is also called a…

A

Microprocessor.

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

What does ALU stand for?

A

Arithmetic and Logic Unit.

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

What concept is von Neumann architecture based on? (back in the day, when computers were massive and were used for calculating big things, what would have been ideal?)

A

Memory and storage, all in one!!

Von Neumann architecture is based on the “Stored Program Computer Concept”, where instruction data and program data are stored in the same memory. This design is still used in most computers produced today.

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

What is the CPU responsible for? (think about the actual function of the CPU and how essential it is)

A

Executing the instructions of a computer program - it does aaaaallll of the decision-making, data manipulation, arithmetic, etc. and performs billions of instructions per second.

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

Which two major control units does the CPU contain?

A

The ALU and CU - plus a variety of registers.

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

What does MAR stand for?

A

Memory Address Register.

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

What is the MAR’s only job?

A

To tell RAM what memory address the CPU wants next, OR…

Holds the next memory location of data that needs to be accessed.

https://www.youtube.com/watch?v=cNN_tTXABUA

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

What does MDR stand for?

A

Memory Data Register.

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

What does the MDR do?

A

Holds data that’s being transferred to or from the memory, acting as a buffer between the processor and the memory.

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

What does AC stand for? (hint: it’s not air conditioning - AC is the first two letters in the word…)

A

Accumulator.

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

What does the AC do? (it’s not air conditioning, and it’s not what ya think)

A

It stores intermediate arithmetic and logic results.

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

What does PC stand for? (the part in the CPU)

A

Program counter.

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

What does a Program Counter (PC) do?

A

Contains the addresses of the next instruction to be executed.

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

What does CIR stand for?

A

Current Instruction Register.

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

What does the CIR do?

A

It contains the current instruction during processing.

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

What does the ALU do?

A

It allows arithmetic and logic (AND, OR, NOT) operations to be carried out.

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

What does CU stand for?

A

Control Unit.

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

What does the CU do?

A

It’s like the captain in the army, receiving orders from the RAM and then breaking that instruction down into specific commands for other components. One of the most important things under the CU’s command is the ALU.

It controls the operation of the computer’s ALU, memory and input/output devices - it basically tells them how to respond to the program instructions that have just been read and interpreted from the memory unit.

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

What is a bus? 🚌

A

The data wires that connect different computer components to transmit data.

A group of wires connecting multiple components inside a computer.

‘How a CPU Works’ - In One Lesson https://www.youtube.com/watch?v=cNN_tTXABUA

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

What does a bus do?

A

It transfers data between all the major internal components, to the CPU and memory.

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

What does a standard CPU system bus contain?

A

A control bus, data bus and address bus.

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

What does an Address Bus do?

A

Carries the addresses of data between the processor and memory.

23
Q

What does a Data Bus do? (Buses carry, registers hold!)

A

It carries data between the processor, memory unit and input/output devices.

24
Q

What does a Control Bus do?

A

It carries control signals/commands from the CPU and other devices, so that all activities within the computer can be controlled and coordinated.

25
What is the main, or primary memory?
RAM.
26
What does RAM stand for?
Random Access Memory.
27
RAM is directly accessible by the CPU.
🐏
28
What data does RAM hold?
A list of addresses. At each of those addresses is a piece of data which is processed by the CPU in order - but if the CPU is instructed to pull data out-of-order, it can - which is where the name Random Access Memory comes from. It's split into partitions, and each partition consists of an address that uniquely identifies every location in the memory.
29
What is the 'bits' of a CPU referring to?
The number of bits the CPU can process in a single instruction + the width of the address bus.
30
What does 'word size' refer to?
The amount of data that a CPU's internal data registers can hold and process at once. Modern desktop computers have 64-bit words. Computers embedded in appliances and consumer products have word sizes of 8, 16 or 32 bits. - https://www.pcmag.com/encyclopedia/term/word#
31
What does CPU architecture (or microarchitecture) refer to?
The physical layout of the CPU design, registers and its instruction set. Some popular architectures are x86, AMD64 and ARM.
32
What does ISA stand for?
Instruction Set Architecture - it's the logical layout of the CPU - different to CPU architecture because that's the physical layout. When people say CPU architecture, they generally do mean ISA.
33
What is the physical layout of the CPU called?
The microarchitecture. It implements a particular ISA.
34
What does a GPU do?
It renders images (and it stands for Graphical Processing Unit).
35
CPU cores can work independently with its own instructions & registers.
No answer, just a fact ✏️
36
Unlike modern programming languages, assembly code is specific to a particular CPU architecture. With programming languages, as long as we have the compiler for it, we can use it.
💻
37
What two main categories can software be divided into?
Application software - the programs/apps that people use System software - the programs the computer needs to function, including the operating system and drivers.
38
What is a driver? 🚙
A specialised piece of software that lets the operating system interact with a particular device. For example, a printer driver. Some drivers, like keyboard and mouse drivers, are already built into the operating system, while others need to be installed manually.
39
When booting a computer, the operating system is loaded from the hard drive onto the RAM.
💻
40
What does BIOS stand for in an IT context?
Basic Input/Output System. **Superseded by UEFI**.
41
What does UEFI stand for? (it's a mouthful! You won't get it)
Unified Extensible Firmware Interface. It's a **newer system** that **replaces the BIOS system**.
42
What is the job of BIOS and EUFI? (They are software!)
Get the operating system running when you first turn on a computer.
43
Where is the BIOS/UEFI stored?
In ROM (on the motherboard).
44
What does CMOS stand for? (this is the oxide one)
Complementary metal–oxide–semiconductor.
45
Where is the CMOS in a computer?
On the motherboard.
46
What does the CMOS hold? (hint: what commands CMOS?)
Any settings that the BIOS might have set, such as what hard drive to boot from. CMOS requires power to remember data - computers often have a small battery just for the CMOS and real-time clock.
47
What is a register and what does it do? (hint: where are registers?)
It's a very simple component on the CPU whose job is only to store a number temporarily. It's similar to a RAM but much quicker, because it's inside the CPU.
48
What is one disadvantage of a bus? (data-wise)
It can only hold one number at a time. It's not a bad thing, because there are in-built things to compensate for it, like the ALU having a temporary register for the next output.
49
Quick recap: data moves around inside the CPU using the bus and is stored in each register according to how that data is going to be used. Modern CPUs can process multiple instructions per clock tick meaning that the computer you're using is likely processing tens or even hundreds of billions of instructions per second. That phenomenal speed is accomplished by using more than one of each component and making sure that all the components are active as much as possible. This makes modern CPUs much more complicated than the Scott CPU, but they are still fundamentally doing the same things as the Scott CPU.
'How a CPU Works' - In One Lesson https://www.youtube.com/watch?v=cNN_tTXABUA
50
How many bits does 1 hexadecimal number represent?
4 bits - and there's 4 bits in a byte, so a byte is always two hex digits.
51
What base number system is the hexademical system?
Base-16.
52
What does ASCII stand for?
American Standard Code for Information Exchange.
53
ROM stores permanent instructions for the device to start up, and ROM can't be changed after manufacturing.
💻