Question

In: Computer Science

1. CPUs use caches for all of the following except: Question 1 options: Allowing CPU cores...

1. CPUs use caches for all of the following except:

Question 1 options:

Allowing CPU cores to share information

Retrieving one instruction at a time

Storing entire functions on the CPU

Running faster than RAM

Question 2 (1 point)

Which of the following is true about CPU caching?

Question 2 options:

There are usually only two levels of caching.

There is usually only one level of caching.

There are usually only four levels of caching.

There are usually only three levels of caching.

Question 3 (1 point)

Which of the following is not a typical cache replacement policy?

Question 3 options:

Least frequently used

Square sigma

First in first out

Least recently used

Question 4 (1 point)

The effective access time is composed of all of the following except

Question 4 options:

Number of register accesses

Number of cache hits

Time penalty for a cache miss

Number of cache misses

Question 5 (1 point)

When should cache size be considered in software development?

Question 5 options:

Design

Requirements

Implementation

Deployment

Question 6 (1 point)

All programs can typically be loaded and can stay in main memory.

Question 6 options:

True
False

Question 7 (1 point)

The physical address for memory is determined by the

Question 7 options:

CPU cache

Compiler

Operating system

CPU

Question 8 (1 point)

Pages are

Question 8 options:

Variable size

Never supported with hardware

Architecture dependent

Fixed size

Question 9 (1 point)

How many bits are necessary to store a whether a logical address is in RAM or stored in virtual memory?

Question 9 options:

3

2

0

1

Question 10 (1 point)

Virtual memory is slower than physical memory.

Question 10 options:

True
False

Solutions

Expert Solution

1- Storing entire functions on the CPU

Cache size is not much large. So, it is difficult to store the entire function and as well as this is not the great move it will reduce the performance of the system.

2- There are usually only three levels of caching

L1 cache(primary cache), L2(secondary cache), L3(specialised memory to improve the performance of L1 and L2).

3- Square sigma

Other 3 are well known cache replacement policies

4- Number of register accesses

Formula : effective-access-time = hit-rate * cache-access-time + miss-rate * lower-level-access-time

5- Deployment

It is considered in deployment phase for increasing the performance.

6- False

No, after execution the allocated memory will be freed.

7- Operating system

It is assigned by Operating system whereas logical address is generated by CPU.

8- Fixed size

Pages are of fixed size whereas segments are of variable size.

9- 1

With one bit we can identify whether we can assign 0 for RAM and 1 for virtual memory OR 1 for RAM and 0 for virtual memory.

10- True

Because Virtual memory is the part of harddisk and physical memory is RAM.

If you have any doubt, feel free to ask in comment section.

If you like the solution, please upvote...


Related Solutions

All of the following are sources of capital for firms except: Question 1 options: personal loans...
All of the following are sources of capital for firms except: Question 1 options: personal loans from shareholders issuing common shares issuing debt issuing preferred shares Question 2 (1 point) Saved Firms with risky projects typically have a higher weighted average cost of capital (WACC) than firms with low risk projects. Question 2 options: True False Question 3 (1 point) Saved One of the things that makes issuing debt expensive is that the interest is not tax deductible. Question 3...
All of the following is true about DNA, except __________________. Question 10 options: A) it is...
All of the following is true about DNA, except __________________. Question 10 options: A) it is made by DNA replication during the S phase of interphase B) it is made of monomer subunits called amino acids C) its structure is called a double helix D) it codes for making proteins E) it is found in all organisms
The options for the disbursement of life insurance death proceeds include all of the following EXCEPT:...
The options for the disbursement of life insurance death proceeds include all of the following EXCEPT: Leave with insurer to pay interest Paid in one cash payment Use to purchase paid-up insurance for the beneficiary Paid as a life income to the beneficiary, with a certain number of payments guaranteed
A humidity deficit can be caused by all except: Question options: Breathing dry gas An endotracheal...
A humidity deficit can be caused by all except: Question options: Breathing dry gas An endotracheal tube Breathing air heated to body temp. that contains contains 43.9 mg/L water vapor Breathing cold winter air
The "laissez-faire perspective" in antitrust policy strongly espouses in the following beliefs,except: Question 1 options: Competition...
The "laissez-faire perspective" in antitrust policy strongly espouses in the following beliefs,except: Question 1 options: Competition and creative destruction could lead to monopolies Monopoly pricing and profits create incentives for firms that are economically beneficial The focus of antitrust policy should be on market structure rather than behavior Competition among firms is a battle for dominance
All of the following statements concerning incentive stock options (ISOs) are correct, EXCEPT: ​(A)​ISOs cannot be...
All of the following statements concerning incentive stock options (ISOs) are correct, EXCEPT: ​(A)​ISOs cannot be exercised more than 2 years after the date of issue. ​(B)​Employees receive more favorable tax treatment with ISOs than with nonqualified stock options. ​(C)​Nonqualified stock options are more flexible than ISOs. ​(D)​ISOs are only exercisable by an employee and are nontransferable except in the event of death.
The following are correct statements about the Marginal Productivity of Labor (MPL), EXCEPT: Question 12 options:...
The following are correct statements about the Marginal Productivity of Labor (MPL), EXCEPT: Question 12 options: It is the increase in production per worker generated by technological innovations Is the increase in total production coming from an increase in one unit of labor Is increasing at early stages of production because the beneficial effect of division of labor in early stages of production. It will eventually decline because additional workers will eventually over-saturate the production process. The following are correct...
9. The highest and best use of property includes all of the following EXCEPT:
Real Estate9. The highest and best use of property includes all of the following EXCEPT:(A) most productive use(B) economically viable.(C) possible within the physical limits of the property.(D) conformity to the surroundings.10. What is the amount of interest paid per year on a loan of $34,050 at an interest rate of 4.38%?(A) $1,491.39 (B) $1,284.33 (C) $1,309.21 (D) $1,118.4311) In order to complete the Due diligence for a rental property in NYC, you as the buyer may ask for the...
Vitamin D synthesis in the skin is affected by all of the following EXCEPT ________. use...
Vitamin D synthesis in the skin is affected by all of the following EXCEPT ________. use of sunscreen skin color geographic location All of these factors can affect vitamin D synthesis
QUESTION 1 Cash outlays for capital assets include all the following EXCEPT: The original purchase price...
QUESTION 1 Cash outlays for capital assets include all the following EXCEPT: The original purchase price The annual operating costs The salvage value All of the above 1 points    QUESTION 2 Which of the following capital budgeting methods ignores the time value of money? Internal rate of return Net present value method Payback method All of the above consider the time value of money 1 points    QUESTION 3 SkiTime Photos plans to spend $74,400 for a new machine,...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT