Topic 3: Computers Flashcards

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

Von Neumann architecture

A

A structure in which the hardware is connected and organised.
It consists of Main Memory and a Central Processing Unit interconnected by buses.

__________Main Memory
________ (Read)!_____¡(Write)
Input –> Central Processing Unit –> Output

The CPU reads and writes data & program instructions to and from main memory.

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

Main memory

A

Known as Random Access Memory(RAM)
It stores the data & programs the CPU can access.
Volatile - Loses content when power is lost.

Faster and more expensive than secondary storage

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

Programmable computer

A

A computer that is multi-purpose, can be programmed to carry out different tasks. They are able to store program instructions and data in main memory.

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

CPU parts

A

Consists of:
- Control Unit (CU)
- Arithmetic Logic Unit (ALU)
- Registers

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

Control Unit (CU)

A

Decodes instructions received from main memory and coordinates the actions of the other parts of the CPU.

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

Arithmetic Logic Unit(ALU)

A

Performs arithmetic and logic operations on data.

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

Registers

A

Provides fast, temporary storage for instructions.

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

Buses

A

Buses connect the components inside a computer.
Types:
- Address bus
- Data bus
- Control bus

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

Adress bus

A

Carries the address of the memory location. Unidirectional, only the CPU can put an address on this bus.

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

Data bus

A

Holds the value being read from or written to memory. Bidirectional.

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

Control Bus

A

Carries command signal from the control unit to other components. The status signal is sent back to the CPU. Bidirectional.

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

Clock

A

A tiny quarts crystal that vibrates and sends out electronic signals to synchronise the actions of the hardware components.
Measured in hertz, 1 hertz = 1 “tick” per second.

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

Fetch/Decode/Execute cycle

A

Program instructions and data are stored in main memory and transferred/fetched one data at a time to the CPU, where they are decoded and executed.

Fetch: The control unit sends a read signal to main memory along the control bus. It also places the memroy address of the next instruction on the address bus. The RAM copies the content of the memory location indicated by the address bus on the the data bus.

Decode: The control unit decodes the instructions.

Execute: The control unit sends signal to the other components of the CPU instructing them what to do.

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

Secondary storage

A

Non-volatile
Allows the system to store data and programs permanently.
Cheaper and slower than main memory.
Types:
- SSD(Solid State Drives): USB drive
- Magnetic storage: HDD(Hard Disc Drive)
- Optical Storage: DVD/CD

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

Magnetic storage

A

A head reads & writes to spinning discs.
An area that is magnetised represents a 1.
An area that is not magnetised represents a 0.

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

Solid State Drive

A

Represents bits by little pools of trapped electrons on a microchip.
No flow(trapped) represents a 0.
Electron flow represents a 1.

17
Q

Optical storage

A

Laser beam reads and writes data(Pits and land)
Pit represents a 0
Land represents a 1

18
Q

Operating system (OS)

A

A program that controls and manages the hardware and all other software on a computer and provides an interface for users)

19
Q

Aplication software

A

Programs or apps deigned for end users.
Such as:
- Web browser
- Spreadsheet
- Game

20
Q

Utility software

A

Programs that functionality to a computer system or improve its performance in som e way.
Such as:
- Disk repair
- Compression
- Anti-malware

21
Q

Why is robust software made

A

To produce software that is capable of handling the unexpected without crashing, generating incorrect output, or revealing sensitive data

22
Q

Bad programming practices

A

Not having a well-thought design
Not following coding standards
Using a temporary fix
Writing unstructured code
Not testing