The formula for average memory access time (AMAT) in a system with two cache levels is: \[ {AMAT} = {Hit time}_{L1} + {Miss rate}_{L1} \times ({Hit time}_{L2} + {Miss rate}_{L2} \times {Miss penalty}_{L2}) \] Step 1: Given Data - \( {Hit time}_{L1} = 1 \) ns - \( {Hit rate}_{L1} = 0.90 \Rightarrow {Miss rate}_{L1} = 1 - 0.90 = 0.10 \) - \( {Hit time}_{L2} = 10 \) ns - \( {Hit rate}_{L2} = 0.80 \Rightarrow {Miss rate}_{L2} = 1 - 0.80 = 0.20 \) - \( {Miss penalty}_{L2} = 100 \) ns
Step 2: Compute AMAT \[ {AMAT} = 1 + (0.10 \times (10 + (0.20 \times 100))) \] \[ = 1 + (0.10 \times (10 + 20)) \] \[ = 1 + (0.10 \times 30) = 1 + 3 = 4.0 { ns} \]
In the diagram, the lines QR and ST are parallel to each other. The shortest distance between these two lines is half the shortest distance between the point P and the line QR. What is the ratio of the area of the triangle PST to the area of the trapezium SQRT?
Note: The figure shown is representative
An electricity utility company charges ₹7 per kWh. If a 40-watt desk light is left on for 10 hours each night for 180 days, what would be the cost of energy consumption? If the desk light is on for 2 more hours each night for the 180 days, what would be the percentage-increase in the cost of energy consumption?