# Midterm1 Computer Architecture ###### tags: `NCKU Class` :::spoiler [TOC] [TOC] ::: ## Q1-1 (3%) Explain "Response time" and "Throughput". Explain why "Response time" is not a good metric to evaluate computer performance A: Responce time: 從 input 到 output 的所有時間。 B: Throughput: 單位時間內完成的任務 因為 Response time 包含非 program 所花費的時間。 ## Q1.2 (3%) What is the meaning of power wall, and what is the current solution to archieve higher performance? 1. 如果晶片在一段時間內產生過多熱能,而且來不及移除的話,會導致晶片燒毀。 2. Current Solution: 降低 CPU 的頻率 ## Q1.3 <!-- (4%) What is the rang of address for jump and jump and link in MIPS? Explain why 1.Address between 0 and 64M-1 --> ![](https://i.imgur.com/6FPmLZE.jpg) ## Q1.4 (4%) Explain how to perform sign extension for positive and negative binary 2's complement number. Ans: 使用最左邊的 bit ## Q1.5 (6%) From the eight great ideas in computer architecture, write and explain three of them. Ans: Eight great ideas are: 1. Design for Moores's Law 2. Use Abstraction to Simplify Design 3. Make the Common Case Fast 4. Performance via Parallelism 5. Performance via Pipelining 6. Performance via Prediction 7. Hierarchy of Memories 8. Dependability via Redundacy ## Q2.1 (10%) Please check if everyone gets the score of this question! It's ==GIVEAWAY!== ![](https://i.imgur.com/JAiCtLF.png) 1. Silicon ingot 2. Slicer->Blank wafers 3. 20-40 processing steps->Patterned wafers 4. Wafer tester->Tested wafer 5. Dicer->Tested dies 6. Bond die to package->Packaged dies 7. Part tester->Tested packaged dies 8. Ship to customers ## Q2.2 ![](https://i.imgur.com/yte2bNV.jpg) ![](https://i.imgur.com/m1Iic5e.png) ## Q2.3 ![](https://i.imgur.com/DXaLQb0.png) ![](https://i.imgur.com/OoW0DdL.png) ## Q2.4 ![](https://i.imgur.com/ArURrEm.jpg) ![](https://i.imgur.com/fdydLEj.png) ## Q2.5 ![](https://i.imgur.com/5kPIY8O.png) ## Q2.6 ![](https://i.imgur.com/npF0QEw.png) ## Q2.7 ![](https://i.imgur.com/W4isqWy.jpg) ## Q2.8 ![](https://i.imgur.com/VjGqDWG.jpg) ![](https://i.imgur.com/PmjrWCQ.jpg) ## Q2.9 ![](https://i.imgur.com/7QOSN0o.jpg) --- ## Answer ![](https://i.imgur.com/ARcknde.jpg) ![](https://i.imgur.com/LDlEiGL.jpg) ![](https://i.imgur.com/6lIGuIt.jpg) ![](https://i.imgur.com/AkUoiZZ.jpg) ![](https://i.imgur.com/VJ51H1f.jpg) ![](https://i.imgur.com/XOaCM2C.jpg) ![](https://i.imgur.com/L2oMcba.jpg) ![](https://i.imgur.com/UCX8LAm.jpg) ![](https://i.imgur.com/BfX7r1J.jpg) ![](https://i.imgur.com/6K0RhPD.jpg) ![](https://i.imgur.com/Z817SF1.jpg) ![](https://i.imgur.com/JLjtjVu.jpg)