Computer structure Flashcards

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

what is the purpose of the control unit

A

controls the sequencing of fetching, decoding and executing instructions.

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

what is the purpose of the arithmetic logic unit (ALU)

A

performs all calculations and logical operations

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

what is the purpose of registers

A

temporarily stores memories within the processor

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

why are memory locations given a unique address within RAM

A

so that the computer can read and write data to that location correctly

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

what are the two different types of buses

A

Address bus and Data bus

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

what is the function of the Address bus

A

this identifies the memory location that is going to read from or written to.

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

What is the data bus

A

the transfers data between the memory and the memory and vice-versa

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

what are the two types of translators used to translate high level language to binary

A

compiler and interpreter

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

how does an interpreter translate High Level Language to computer code

A

translates the program one line at a time into machine code and executes immediately. Machine code is not retained, so must be translated each time.

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

how does a compiler translate High Level Language to computer code

A

translate whole program, and then save machine code version. Translate code can be run again, and again.

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

what is a compiler good for

A

translating programs that are already ready for release

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

what is an interpreter good for

A

testing the translated could to make sure their are no errors within the code

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