Computer Systems (Computer Structure) Flashcards

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

What is the ALU?

A
Part of the processor/CPU that handles all arithmetic, logic and calculations. Stands for Arithmetic and Logic Unit. 
Floating point (mantissa and exponent) calculations and decisions involving AND, OR, NOT are made on the ALU.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are Registers?

A

Temporary Storage Location on the processor. Data, instructions and addresses can be held in registers.
Have the fastest access time as they are on the processor unlike RAM or backing storage.

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

What is the Control Unit?

A

Part of the processor/cpu. Different lines have different roles. The main line is the clock line, which dictates the speed of fetching data from RAM. Clock, Read, Write, Reset and Interrupt are the different lines.

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

What is the data bus?

A

A bi-directional bus (two way) that can carry data to and from RAM and the processor/CPU.
Goes to the address that is on the address bus and takes the data back to the processor OR takes the data from the processor to the address on the address bus.

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

What is the address bus?

A

A uni-directional (one way) bus. Holds the address in RAM that the processor wants to access.

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

How does RAM know which memory location to access?

A

Each location in RAM has its own binary address.
The address bus holds the address of the location
being read from or written to.

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

Explain how an interpreter works

A

Used to translate high level language code (programming code) into binary. Will translate a line, then execute it. Stops if it finds an error and lets programmer know where error is located.
Must be present in RAM during every translation/every time you run the program using an interpreter.

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

Explain how a compiler works

A

Used to translate high level language code
(programming code) into binary. Will translate each line in order and thencreate a new binary file called object code.
Only in RAM once, and not needed again as the object code runs on its own. Does not identify errors and should be used when a program is totally error free and
complete.

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

What is machine code?

A

Machine Code is another name for binary, and is what programming code (high level languages) is turned into once it is translated using interpreters or compilers.

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