Computer Architecture and Languages Flashcards

1
Q

Cache memory

A

Portion of memory used for high speed storage

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

Register

A

An internal memory location within the CPU that temporarily holds data and instructions during process

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

Accumulator

A

The register that is used for arithmetic and logic calculations

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

Describe computers before Von Neumann

A

Can only do specific task, have to be rebuilt in order to complete another task

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

What new things did Von Neumann introduce?

A

Not only data should be stored in memory, but all the instructions in order to reprogram easily

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

Where is Control Unit (CU) located?

A

Internal part of the CPU

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

What does the CU do?

A

Controls the flow of data through the CPU + interactions between different parts of the CPU

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

What does the CU tell the different components?

A

How to respond to the instruction given

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

Where is Immediate access store (IAS) located?

A

Memory inside the CPU

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

What does IAS do?

A

Hold the data and the instructions needed to process that data

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

How does IAS also know?

A

CPU memory

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

Where is Arithmetic Logic Unit located (ALU)?

A

Internal part of the CPU

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

What does ALU do?

A

Carries out calculations on data

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

What does ALU’s arithmetic operators do?

A

x ÷ + -

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

What does ALU’s logical part do?

A

< > ≤ ≥ =

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

Where do logic ALU’s logical part info has to be placed?

A

In the accumulator

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

Buses

A

The components of the model are connected with them

18
Q

What is the bus made out of?

A

Series of conductors, pathways

19
Q

Types of buses/What do they carry? (3)

A

1) Data/Data
2) Adress/Adress
3) Control/Instructions

20
Q

What is the first step of fetch-execute cycle called?

A

Fetching the instruction

21
Q

What is the second step of fetch-execute cycle called?

A

Decode the instruction

22
Q

What is the third step of fetch-execute cycle called?

A

Executing the instruction

23
Q

What does the first step of fetch-execute cycle do? Stored?

A

Fetches the instruction IAS

24
Q

What bus is used in the first step of fetch-execute cycle?

A

Address bus

25
Q

What does the second step of fetch-execute cycle do?

A

Needs to understand the fetched instruction

26
Q

What does the third step of fetch-execute cycle do?

A

Executes the instruction

27
Q

What happens after the end of a fetch-execute cycle

A

It can start again

28
Q

High level language

A

A programming language that looks like the language humans generally use

29
Q

Low level language

A

A programming language that is closer to the native language of computers

30
Q

Machine code

A

Series of binary numbers

31
Q

Assembly language

A

A low level programming language that uses mnemonic codes to create programs

32
Q

Syntax

A

The structure of a language in a computer program

33
Q

Compiler

A

A computer program that takes a whole program written in a high level language and translates it into machine code

34
Q

Interpreter

A

A computer program that translates a program written in a high level language line by line into machine code

35
Q

Executable file

A

A file format that a computer can directly process

36
Q

Mnemonic codes

A

Instruction codes used in assembly language

37
Q

Assembler

A

Converts assembly language into machine code

38
Q

Driver

A

A program that controls a device, for example, a printer or a keyboard

39
Q

Advantages of assembly code? (3)

A

1) Manipulate in individual bits and bytes
2) Runs very fast
3) Takes less memory than code compiled from a high level language

40
Q

Disadvantages of assembly code? (3)

A

1) Harder to delay
2) Longer to write programs in assembly code
3) Assembly language is more difficult to learn than high level language