1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
fgiga [73]
3 years ago
12

A computer has a two-level cache. Suppose that 60% of the memory references hit on the first level cache, 35% hit on the second

level, and 5% miss. The access times are 5 nsec, 15 nsec, and 60 nsec, respectively, where the times for the level 2 cache and memory start counting at the moment it is known that they are needed (e.g., a level 2 cache access does not even start until the level 1 cache miss occurs). What is the average access time?
Engineering
1 answer:
Andreyy893 years ago
4 0

Answer:

t=14ns

Explanation:

We make the relation between the specific access time and the memory percentage in each level, so

60\% \Rightarrow 60/100 = 0.60\\35\% \Rightarrow 35/100 = 0.35\\05\% \Rightarrow 05/100 = 0.05

t= 0.6(5) + 0.35(5+15) + 0.05(5+15+60)\\t= 0.6(5) + 0.35(20) + 0.05(80)\\t= 3 + 7 + 4\\t= 14 ns

Average Access Time is 14 nsec.

You might be interested in
A 400-m^3 storage tank is being constructed to hold LNG, liquefied natural gas, which may be assumed to be essentially pure meth
GuDViN [60]

Answer:

mass of LNG: 129501.3388 kg

quality: 0.005048662

Explanation:

Volume occupied by liquid:

400 m^3*0.9 = 360 m^3

Volume occupied by vapor

400 m^3*0.1 = 40 m^3  

A figured with thermodynamic properties of saturated methane is attached. Notice that a liquid-gas mixture is present

For liquid phase specific volume (vf) at 150 K is 0.002794 m^3/kg and for vapor phase specific volume (vg) is 0.06118 m^3/kg

From specific volume definition:

vf = liquid volume/liquid mass

liquid mass = liquid volume/vf

liquid mass = 360 m^3/0.002794 m^3/kg

liquid mass = 128847.5304 kg

vg = vapor volume/vapor mass

vapor mass = liquid volume/vg

vapor mass = 40 m^3/0.06118 m^3/kg

vapor mass = 653.8084341 kg

total mass = 128847.5304 kg + 653.8084341 kg = 129501.3388 kg

Quality is defined as the ratio between vapor mass and total mass

quality =  653.8084341 kg/129501.3388 kg = 0.005048662

4 0
3 years ago
Write a SELECT statement that returns these column names and data from the Products table: product_name The product_name column
I am Lyosha [343]

Answer:

 SELECT  

   product_name, list_price, discount_percent,    

   ROUND(list_price * (discount_percent / 100), 2) AS discount_amount,

   ROUND(list_price - (discount_percent / 100 * list_price), 2)  AS discount_price  

FROM

Products

ORDER BY (list_price - (discount_percent / 100 * list_price)) DESC

LIMIT 5;

Explanation:

In the above SELECT statement is used to select columns from Products table.

The columns are  product_name,list_price and discount_percent

Next a column discount_amount is selected which is the calculated from previous two columns that are list_price and discount_percent. The discount amount is basically calculated by multiplying list_price with discount_percent/100 and the resultant column is named as discount_amount using Alias which is used to give a temporary name to set of columns or a table.

Next another column discount_price is obtained from previous three columns that are  list_price , discount_percent and discount_amount as: list_price - (discount_percent / 100 * list_price) This as a whole is given a column name discount_price.

FROM is used to refer to a table from which these columns are to be selected. The table name is Product.

The result set is sorted in descending order by discount_price so ORDER BY is used to order the resultant records and DESC is used to sort these records according to the discount_price in descending order.

LIMIT statement is used to extract the records from Product and limit the number of rows returned as a result based on a limit value which is 5 here.

5 0
3 years ago
State five applications of thermochromic materials
rusak2 [61]

Explanation:

The end-use industries of thermochromic materials include packaging, printing & coating, medical, textile, industrial, and others. Printing & coating is the fastest-growing end-use industry of thermochromic materials owing to a significant increase in the demand for thermal paper for POS systems. The use of thermochromic materials is gaining momentum for interactive packaging that encourages consumers to take a product off the shelf and use it.

8 0
3 years ago
A metal bar has a 0.6 in. x 0.6 in. cross section and a gauge length of 2 in. The bar is loaded with a tensile force of 50,000 l
Aleks [24]

Answer:

modulus =3.97X10^6 Ib/in^2, Poisson's ratio = 0.048

Explanation:

Modulus is the ratio of tensile stress to tensile strain

Poisson's ratio is the ratio of transverse contraction strain to longitudinal extension strain within the direction of the stretching force

And contraction occur from 0.6 in x 0.6 in to 0.599 in x 0.599 in while 2 in extended to 2.007, with extension of 0.007 in

5 0
3 years ago
Air at 400kPa, 970 K enters a turbine operating at steady state and exits at 100 kPa, 670 K. Heat transfer from the turbine occu
Sonja [21]

Answer:

a

The rate of work developed is \frac{\r W}{\r m}= 300kJ/kg

b

The rate of entropy produced within the turbine is   \frac{\sigma}{\r m}=  0.0861kJ/kg \cdot K

Explanation:

     From  the question we are told

          The rate at which heat is transferred is \frac{\r Q}{\r m } = -  30KJ/kg

the negative sign because the heat is transferred from the turbine

          The specific heat capacity of air is c_p = 1.1KJ/kg \cdot K

          The inlet temperature is  T_1 = 970K

          The outlet temperature is T_2 = 670K

           The pressure at the inlet of the turbine is p_1 = 400 kPa

          The pressure at the exist of the turbine is p_2 = 100kPa

           The temperature at outer surface is T_s = 315K

         The individual gas constant of air  R with a constant value R = 0.287kJ/kg \cdot K

The general equation for the turbine operating at steady state is \

               \r Q - \r W + \r m (h_1 - h_2) = 0

h is the enthalpy of the turbine and it is mathematically represented as          

        h = c_p T

The above equation becomes

             \r Q - \r W + \r m c_p(T_1 - T_2) = 0

              \frac{\r W}{\r m}  = \frac{\r Q}{\r m} + c_p (T_1 -T_2)

Where \r Q is the heat transfer from the turbine

           \r W is the work output from the turbine

            \r m is the mass flow rate of air

             \frac{\r W}{\r m} is the rate of work developed

Substituting values

              \frac{\r W}{\r m} =  (-30)+1.1(970-670)

                   \frac{\r W}{\r m}= 300kJ/kg

The general balance  equation for an entropy rate is represented mathematically as

                       \frac{\r Q}{T_s} + \r m (s_1 -s_2) + \sigma  = 0

          =>          \frac{\sigma}{\r m} = - \frac{\r Q}{\r m T_s} + (s_1 -s_2)

    generally (s_1 -s_2) = \Delta s = c_p\ ln[\frac{T_2}{T_1} ] + R \ ln[\frac{v_2}{v_1} ]

substituting for (s_1 -s_2)

                      \frac{\sigma}{\r m} = \frac{-\r Q}{\r m} * \frac{1}{T_s} +  c_p\ ln[\frac{T_2}{T_1} ] - R \ ln[\frac{p_2}{p_1} ]

                      Where \frac{\sigma}{\r m} is the rate of entropy produced within the turbine

 substituting values

                \frac{\sigma}{\r m} = - (-30) * \frac{1}{315} + 1.1 * ln\frac{670}{970} - 0.287 * ln [\frac{100kPa}{400kPa} ]

                    \frac{\sigma}{\r m}=  0.0861kJ/kg \cdot K

           

 

                   

   

5 0
4 years ago
Other questions:
  • The temperature of a flowing gas is to be measured with a thermocouple junction and wire stretched between two legs of a sting,
    8·1 answer
  • To prevent hydroplaning, _____. A. slow down B. speed up C. deflate your tires D. use cruise control
    15·1 answer
  • A process engineer performed jar tests for a water in order to determine the optimal pH and dose using alum. A test was conducte
    13·1 answer
  • Generally the primary source of all water supply is to be said as
    5·2 answers
  • Trees grow in bulk in outward direction​
    9·1 answer
  • ⊂who else is obsessed with the ornail
    9·1 answer
  • Water is pumped from a lake to a storage tank 18 m above at a rate of 70 L/s while consuming 20.4 kW of electric power. Disregar
    13·1 answer
  • Question 3
    14·1 answer
  • which type of irrigation fluid is typically used for endoscopic procedures using monopolar electrosurgery
    15·1 answer
  • Assume the availability of an existing class, ICalculator, that models an integer arithmetic calculator and contains: an instanc
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!