Computer Architecture Test 1
What is Moore's Law? - Answer-The number of transistors in a chip doubles every 18-24 months
What are the following....
Personal Computers
Server Computers
SuperComputers
Embedded Computers - Answer-Personal Computers: General purpose, variety of software
Server Computers: Network based, high performance, reliable
SuperComputers: Hgih end scientific and engineering calculations
Embedded Computers: Hidden as components of systems
What does the abbreviation KiB stand for? - Answer-Kibibyte -- 2^10
How is a high level language compiled to machine code? - Answer-In assembly language, rather than
writing in binary notation, programmers created a symbolic version of instructions to be written for their
convenience. After this, the instructions would be translated to binary notation for the hardware. The
same process applies to a higher-level language; the more sophisticated instructions are compiled into
assembly and then translated to binary notation.
How long it takes to do a task is - Answer-Response time
Total work done per unit of time is - Answer-throughput (i.e., taks/instructions/per hour or second)
, Performance = - Answer-1/Execution Time
Time taken to run a program:
10s on A
15s on B
How many times faster is A than B? - Answer-Execution Time B / Execution Time A = n
= 1.5
A is 1.5 faster than B
What is the performance of A of it executes in 10s? - Answer-1/Execution Time = n
1/10s = 0.1
How is speedup measured? - Answer-Execution Time (old) / Execution Time (new) = n
If it took 25 seconds to run program before architecture
change, now takes 15 seconds to run, what is the speedup? - Answer-Execution Time (old) / Execution
Time (new) = n
= 1.67
- Speedup of the new architecture change is 1.67
Response time is the ________________ time when processing - Answer-elapsed; idle; OS overhead;
I/O; etc..
CPU time is the...
What is not factored into CPU time...? - Answer-time spent on a given job
I/O time is discounted
What is Moore's Law? - Answer-The number of transistors in a chip doubles every 18-24 months
What are the following....
Personal Computers
Server Computers
SuperComputers
Embedded Computers - Answer-Personal Computers: General purpose, variety of software
Server Computers: Network based, high performance, reliable
SuperComputers: Hgih end scientific and engineering calculations
Embedded Computers: Hidden as components of systems
What does the abbreviation KiB stand for? - Answer-Kibibyte -- 2^10
How is a high level language compiled to machine code? - Answer-In assembly language, rather than
writing in binary notation, programmers created a symbolic version of instructions to be written for their
convenience. After this, the instructions would be translated to binary notation for the hardware. The
same process applies to a higher-level language; the more sophisticated instructions are compiled into
assembly and then translated to binary notation.
How long it takes to do a task is - Answer-Response time
Total work done per unit of time is - Answer-throughput (i.e., taks/instructions/per hour or second)
, Performance = - Answer-1/Execution Time
Time taken to run a program:
10s on A
15s on B
How many times faster is A than B? - Answer-Execution Time B / Execution Time A = n
= 1.5
A is 1.5 faster than B
What is the performance of A of it executes in 10s? - Answer-1/Execution Time = n
1/10s = 0.1
How is speedup measured? - Answer-Execution Time (old) / Execution Time (new) = n
If it took 25 seconds to run program before architecture
change, now takes 15 seconds to run, what is the speedup? - Answer-Execution Time (old) / Execution
Time (new) = n
= 1.67
- Speedup of the new architecture change is 1.67
Response time is the ________________ time when processing - Answer-elapsed; idle; OS overhead;
I/O; etc..
CPU time is the...
What is not factored into CPU time...? - Answer-time spent on a given job
I/O time is discounted