Week 1 Flashcards

1
Q

What is a program?

A

A sequence of instructions describing how to perform a certain task.

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

What is machine language?

A

A computers primitive instructions. (level 0 language)

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

What is translation? (in the context of computer language levels)

A

Every instruction of the HLL is converted into it’s LLL equivalents and then the entire program is executed.

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

What is interpretation? (in the context of computer language levels)

A

Each instruction of the HLL is individually converted into it’s LLL equivalents and then executed. After one instruction has been converted and executed the interpreter moves onto the next instruction.

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

Level 5 of a multilevel computer is also known as…? How are instructions at this level converted into the level below?

A

Problem oriented language level. Translation (compiler).

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

Level 4 of a multilevel computer is also known as…? How are instructions at this level converted into the level below?

A

Assembly language level. Translation (compiler).

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

Level 3 of a multilevel computer is also known as…? How are instructions at this level converted into the level below?

A

Operating system machine level. Partial interpretation (operating system)

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

Level 2 of a multilevel computer is also known as…? How are instructions at this level converted into the level below?

A

Instruction set architecture level. Interpretation (microprogram) or direct execution.

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

Level 1 of a multilevel computer is also known as…? How are instructions at this level converted into the level below?

A

Microarchitecture level. Hardware.

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

What is a Bit?

A

0 or 1.

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

What is a Byte?

A

an 8-bit word.

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

What is a Word?

A

The data stored in one register of the CPU.

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

What is a Register?

A

CPU memory; stores ONE WORD.

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

What is a CPU?

A

Central processing unit; fetches, decodes, and executes instructions.

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

What is Main Memory?

A

RAM.

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

What is a Bus?

A

Shared electrical pathway along which data travels between devices.

17
Q

What is Assembly language?

A

Very low-level computer programming language, close to machine code.

18
Q

What is an SSD?

A

Solid state drive.

19
Q

What is a Cache?

A

Fast memory between the registers and the main memory.

20
Q

Prefix for 10 ^ -3

A

Milli.

21
Q

Prefix for 10 ^ -6

A

Micro.

22
Q

Prefix for 10 ^ -9

A

Nano.

23
Q

Prefix for 10 ^ -12

A

Pico.

24
Q

Prefix for 10 ^ -15

A

Femto.

25
Q

Prefix for 10 ^ 3

A

Kilo.

26
Q

Prefix for 10 ^ 6

A

Mega.

27
Q

Prefix for 10 ^ 9

A

Giga.

28
Q

Prefix for 10 ^ 12

A

Tera.

29
Q

Prefix for 10 ^ 15

A

Peta.

30
Q

What is the formula for determining the amount of time a program will take to run at different language levels?

A

kn^(r-1) / m^(r-1)
k = seconds for program to run at level 1
r = level
n = number of interpretation required to convert 1 HLL instruction to its LLL equivalent
m = power

31
Q
A