Interview Question


Country: United States




Comment hidden because of low score. Click to expand.
1
of 1 vote

Yes, we can replace.

Advantages:
1. More memory is available on SRAM when compared to cache.
2. Low cost of SRAM.
3. Probability of Istruction-HIT on SRAM is much higher than on Cache.
Disadvantages:
1. Latency in fetching instructions from SRAM is very high when compared to Cache.
2. Even if Large memory is present in SRAM the latency will turn out to be a bottle neck for the processor to execute instruction.


Thus using a Cache over SRAM and fetching instructions as a bulk from SRAM is more advatageous than directly accessing instructions from SRAM.

- Suresh November 27, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

A memory cache, sometimes called a cache store or RAM cache, is a portion of memory made of high-speed static RAM (SRAM) instead of the slower and cheaper dynamic RAM (DRAM) used for main memory. Memory caching is effective because most programs access the same data or instructions over and over. By keeping as much of this information as possible in SRAM, the computer avoids accessing the slower DRAM.
so it is more beneficial to use SRAM

- ddggaa2 November 27, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Cache is made up of SRAM

- Anonymous November 27, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Cache is transparent memory where any address cane be placed compare to RAM which is memory mapped. Hence you would get data fast only on the address which is Memory mapped and access to other address would become coslty. Good to open the mapping of memory as cache or RAM to the programmer using cache register programming

- Abhilash February 09, 2014 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More