unit 8: computer architecture operating system Flashcards

1
Q

source code

A

original language that a high-level/assembly language is written in

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

machine code

A

the language a computer’s CPU understands

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

assemblers

A

converts assembly languages into object code, which is then linked together to form machine code

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

compilers

A

translate high-level language into object code (often created in form of executable file). then linked to form machine code

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

interpreters

A

takes each line of high-level language code, one at a time, and converts it into intermediate language (often assembly)

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

stored program computer

A

computer that stores program instructions in memory

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

Fetch-Decode-Execute cycle

A

a sequence of actions that a CPU performs to execute each machine code instruction in program

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

Von Neumann architecture

A

architecture where data and program instructions are stored in the same memory location

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

Von Neumann Components

A

*memory
* control unit: manages movement of instructions & data
* input/output: enables user to interact w/ machine
* bus: electrical pathway used to move data & instructions around computer
*program counter: holds address in memory of next instruction

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

Von Neumann disadvantages

A
  • data & instructions both have to use the same bus so CPU spends too much time waiting for instructions
  • if a program is badly written, data can overwrite program instructions and vice versa
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Harvard Architecture

A

data & program instructions are stored in diff memory locations w/ dedicated buses

pipelining:- data is lined up ready to be fetched
no waiting for 1 item of data to be processed before next item is fetched

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