Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
17 Cards in this Set
- Front
- Back
What are the 5 basic components of a computer? |
Input, output, memory, control, and data path. |
|
What are the different classes of computers? |
Personal Computers Server Computers Super Computers Embedded Computers |
|
What are the three levels of program code? |
High level language -> Assembly Language -> Hardware Representation |
|
What is the cost of an integrated circuit (IC) ? |
cost/die = (cost / wafer ) / (dies/wafer * yield) |
|
What is response time? |
How long it takes to do a task. |
|
What is Throughput |
Total work done per time |
|
What is elapsed time? |
The total response time including processing, I/O, OS, overheard and idle time. |
|
What is CPU time? |
Time spent processing a given job. |
|
CPU time = CPU clock cycle * Clock Cycle time What are the other formulas for finding CPU time? |
CPU clock cycles / clock rate and (Instruction count * Cycles per instruction ) / clock rate and Instruction count * Cycles per instruction * clock Cycle time |
|
What determines the instruction count? |
By program, ISA, and compiler |
|
What determines the average cycle per instruction? |
Determined by CPU hardware |
|
Computer A: Cycle time = 250ps, CPI = 2 Computer B: Cycle time = 500ps, CPI = 1.2 Same ISA Which is faster? by how much? |
CPUtime A = IC * CPI / rate = IC * 2 * 250ps = IC * 500ps CPUtime B = IC * 1.2 * 500 = IC * 600ps CPUA is 1.2 x faster than CPUB |
|
If different instruction classes take differentnumbers of cycles what would the formula for clock cycles be? |
Clock cycles = Sum(CPI * IC) |
|
Find avg CPI for each sequence. |
seq 1: IC = 5 clock cycles = 1*2 + 2*1 + 3*2 = 10 CPI avg = 10 / 5 = 2 seq2: IC = 6 clock cycles = 4*1 + 1*2 + 1*3 = 9 CPI avg = 9 / 6 = 3 / 2 = 1.5 |
|
|
|
|
|
|
|
|
|