WGU C952 Ch 2-3

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/66

encourage image

There's no tags or description

Looks like no tags are added yet.

67 Terms

1
New cards

Integrated circuit (IC)/Microchip/Chip

Combines dozens to millions of transistors

2
New cards

Kilobyte/KB

Thousand/10³

3
New cards

Megabyte/MB

Million/106

4
New cards

Gigabyte

Billion/109

5
New cards

Terrabyte/TB

Trillion/1012

6
New cards

Petabyte

Quadrillion/1015

7
New cards

Nanosecond/ns

10-9

8
New cards

1 GHz

1 × 10^9 cycles/sec; 1 ns/cycle

9
New cards

What is the instruction count set by?

Program, compiler, and ISA

10
New cards

What is the CPI set by?

Set by hardware organization and instruction mix

11
New cards

What is clock cycle time set by?

Set by hardware technology and clock design

12
New cards

Clock cycle time/Clock time/Clock period

Time for 1 clock period, measured in seconds/cycle (usually ns)

13
New cards

Clock rate/frequency

Cycles per second (measured in Hz)

14
New cards

What is the relationship between CPU clock cycle time/period and CPU clock rate/frequency?

Inverses; Clock cycle time = 1/Clock rate; Clock rate = 1/Clock cycle time.

15
New cards

A higher clock rate means what for the clock period?

A shorter/faster clock period.

16
New cards

Formula for number of CPU clock cycles

Instruction count x CPI

17
New cards

CPU time/execution time formula

Take num of clock cycles and either multiply by period or divide by rate

18
New cards

Execution time/response time

The total time required for the computer to complete a task, including disk accesses, memory accesses, I/O activities, operating system overhead, CPU execution time, and so on.

19
New cards

Throughput/bandwidth

Number of tasks completed per unit of time.

20
New cards

A faster processor has what effect on performance?

Decreased response time and increased throughput

21
New cards

Instruction mix

Measure of the dynamic frequency of instructions across one or many programs.

22
New cards

Amdahl’s Law

Possible performance enhancement is limited by how much the improved feature is actually used.

23
New cards

True or False: Computers at low utilization use little power.

False

24
New cards

What is the most critical resource of computer design?

Energy

25
New cards

Power limitations forced computer designers to do what?

To exploit parallelism to improve system performance.

26
New cards

“x is n times as fast as y” - What formula determines this?

(performance x / performance y) = (execution time y / execution time x) = n

27
New cards

Instruction set

Vocab of commands understood by a given architecture (eg LEGv8, Intel x86)

28
New cards

Register

Small, fast, intermediate storage unit in CPU; holds data during arithmetic operations

29
New cards

LEGv8 number of registers

32 (X0 - X30, XZR) (XZR always equals zero)

30
New cards

ADDIS

Add and set flags

31
New cards

LDUR

Load; Memory > register

32
New cards

STUR

Store; Register > memory

33
New cards

CBZ X1, #25

If (x1 == 0), go to PC + 4 + 100

34
New cards

CBNZ

If (x ≠ 0), go to PC + 4 + 100

35
New cards

B.cond #25

If (condition), go to PC + 4 + 100

36
New cards

B #2500

Go to PC + 4 + 100

37
New cards

BR X30

Go to X30

38
New cards

BL #2500

X30 = PC + 4; PC + 4 + 10000

39
New cards

LSL X1, X2, #10

X1 = X2 << 10

40
New cards

LSR X1, X2, #10

X1 = X2 >> 10

41
New cards

EOR

Exclusive OR; ^

42
New cards

ORR

Inclusive OR; |

43
New cards

More registers means what for clock frequency?

Slower clock frequency

44
New cards

Number of bytes in a doubleword

8

45
New cards

LDUR X1, [X22, 8] means…?

Put value of Memory[X22, #8] in register X1

46
New cards

STUR X1, [X22, #8] means…?

Put value of register X1 into Memory[X22, #8]

47
New cards

Least significant bit (LSB)

Rightmost bit in a doubleword

48
New cards

Most significant bit (MSB)

Leftmost bit

49
New cards

Binary values right to left

1 2 4 8 16 32 64 128

50
New cards

Hex letter values 10-15

10 = a, 11 = b, 12 = c, 13 = d, 14 = e, 15 = f

51
New cards

How do you convert to 2’s complement when the MSB (leftmost bit) is 1?

Flip, add one, then add minus sign

52
New cards

Bytes/bits in a word (LEGv8)

1 byte/8 bits

53
New cards

Bytes/bits in a doubleword (LEGv8)

8 bytes/64 bits

54
New cards

Adding additional processors to a system that uses multiple processors for separate tasks -- for example, searching the web -- has what effect? Assume that before adding processors, tasks do not wait to execute (tasks do not "queue up").

Increases throughput

55
New cards

Adding additional processors to a system that uses multiple processors for separate tasks -- for example, searching the web -- has what effect? Assume that before adding processors, tasks often must wait to execute due to another task executing (tasks "queue up").

Increases throughput and decreases response time

56
New cards

Elapsed time/response time/system performance

Total time to complete task (disk/memory access, I/O, everything); time experienced by user

57
New cards

CPU time

The actual time the CPU spends running instructions either of the task, or of the OS for the task

58
New cards

User CPU time/CPU performance

CPU time spent in a program itself/time running a task, excluding time waiting for I/O or other programs

59
New cards

System performance

Elapsed time

60
New cards

CPU performance

User CPU time

61
New cards

CPU clock cycles units should be…

cycles

62
New cards

CPU clock rate units should be…

cycles/second

63
New cards

An increased clock rate means what for clock cycle length?

Decreased clock cycle length

64
New cards

Opcode

The field that denotes the operation and format of an instruction.

65
New cards

Rm

The second register source operand.

66
New cards

Rn

The first register source operand.

67
New cards

Rd/Rt

The register donation operand. It gets the result of the operation.