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} \]
Consider a system with the following: - \(\mathbb{P} = \{ P_1, P_2, P_3, P_4 \}\) consists of all active processes in an operating system. - \(\mathbb{R} = \{ R_1, R_2, R_3, R_4 \}\) consists of single instances of distinct types of resources in the system.
The resource allocation graph has the following assignment and claim edges: Assignment edges: \[ R_1 \to P_1, \quad R_2 \to P_2, \quad R_3 \to P_3, \quad R_4 \to P_4 \] (The assignment edge \( R_1 \to P_1 \) means resource \( R_1 \) is assigned to process \( P_1 \), and so on for others.)
Claim edges: \[ P_1 \to R_2, \quad P_2 \to R_3, \quad P_3 \to R_1, \quad P_2 \to R_4, \quad P_4 \to R_2 \] (The claim edge \( P_1 \to R_2 \) means process \( P_1 \) is waiting for resource \( R_2 \), and so on for others.)
Which of the following statement(s) is/are CORRECT?
The unit interval \((0, 1)\) is divided at a point chosen uniformly distributed over \((0, 1)\) in \(\mathbb{R}\) into two disjoint subintervals. The expected length of the subinterval that contains 0.4 is ___________. (rounded off to two decimal places)
A quadratic polynomial \( (x - \alpha)(x - \beta) \) over complex numbers is said to be square invariant if \[ (x - \alpha)(x - \beta) = (x - \alpha^2)(x - \beta^2). \] Suppose from the set of all square invariant quadratic polynomials we choose one at random. The probability that the roots of the chosen polynomial are equal is ___________. (rounded off to one decimal place)
Consider the following C program:
Consider the following C program:
The output of the above program is __________ . (Answer in integer)
An application executes \( 6.4 \times 10^8 \) number of instructions in 6.3 seconds. There are four types of instructions, the details of which are given in the table. The duration of a clock cycle in nanoseconds is ____________. (rounded off to one decimal place)