Unit 2: Programming languages and programming Flashcards

(4 cards)

1
Q

machine language vs. human language

A

machine language => binary digits (1s & 0s) a CPU can understand
-> long string = error prone
-> e.g. 1000110001

human language = short words & symbols
e.g. mov val, 61 => move the value 61

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

Von Neumann Architecture
-> “How do computers work?”

IPO

A

Input → Processing → Output
=> Computers clearly divided into different areas & physically separated

1) Input: Data/Command I put into computer (e.g., by using a keyboard or mouse).
2) Processing: CPU processes input.
3) Output: Results are displayed or sent out through devices like monitors, printers, or speakers.

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

3 Main Components of the Von Neumann Architecture

A

1) Central Processing Unit (CPU): “Brain”.
-> Arithmetic Logic Unit (ALU): Arithmetic (like addition or subtraction) & logical operations.
-> Control Unit: Directs activity in computer. Tells components what to do.

2) Memory = Temporarily storage.

3) Input & Output Devices:
-> Input devices (keyboard, mouse): data -> computer.
-> Output devices (monitor, printer) display result.

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

Limitations: The Von Neumann Bottleneck

A

“Von Neumann Bottleneck”
=> instructions & data use the same communication path between CPU & memory => slow down

Problem for modern environments:
=> shared pathways = delays

Solution: parallel processing systems with multiple processors

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