CPEN 4700 FINAL EXAM BASED ON PREVIOUS TESTS
QUESTIONS AND CORRECT ANSWERS
How to determine cycle time of a processer? - ANSWER 1/frequency x 10^9, units is
seconds if left in notation
Suppose you know the advertised performance for a CPU is 6.3 GFLOPS(6300
MFLOPS).How many floating point instructions does it execute in one cycle? What is
CPI? - ANSWER multiplying the number of instructions per cycle with the clock rate
(cycles per second given in Hertz) of the processor in question.(6300 x 10^9)(cycletime)
CPI is 1/FPI
While Running a program on this system you have 270 million cache hits and 8 million
cache misses. What are the hit and miss rates if this program? - ANSWER Hit/total*100
Miss/Total *100
WHat is the maximum memory bandwidth of the DDr4 1600 memory?(Use Correct
transfer rate) - ANSWER bits of bus /8bytes / cycle time B/s if no move decimal
1600*10^6*64*1/8 = 1.28*10^10B/s 12.8 GB/s
How long does it take to read the first bytes from RAM (Use CAS Latency) - ANSWER
CasLatency x (1/ clockspeed x 10^6 cyc/s)
12*(1/800x10^6)=1.5x10^-8=15ns
Neglecting other Cache levels and any other parts of a memory system and only utilizing
the L2 and DDR4 memory described above, what is the effective average memory
across time while running thr program from question 3? - ANSWER EAT(effective
access time)= P x hit memory time + (1-P) x miss memory ti
(.9712x(4(0.67ns)+(0.0288)(15)=3.02
, A system with 8 GB of RAM has 16 MB cache with 64-byte refill lines. How many lines are
in thecache? What are the sizes of the tag, index, and byte fields (in bits) if the cache is
direct mapped? 8way set associative mapped? Fully associative mapped? - ANSWER
GB->2^33 if GB
2^20 if MB
2^10 if KB
exponent = 33
Mb to cache, INDEX is found by .
64B= 2^6=6 bytes
15,left over is tag
if 4-way, replaces first exponet with 2, 8 replace with 3,16 is 4 fully there is no index
6 bytes, 15(each line has 15), 11-tag
A method of improving the performance of a system but at the expense of higher power
consumption-ANSWER Overclocking
This below hardware invention from the second generation still forms the basis for all
modern computers - ANSWER Transistors
The connectiions in computer system which join the major parts together - ANSWER Bus
In a multi level cache where the lines go when evicted from a lower level - ANSWER
Victim Cache
In a virtual memory system wher the address translation info is stored - ANSWER page
table
This memory organization uses relative addressing to locate data - ANSWER SAM
In a cache memory, the unit of data that is moved into or out of cache. - ANSWER Valid
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Easton. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.