Fully Associative Cache

You should implement a fully associative cache, that evicts cache

lines based on an LRU policy.

class FullyAssociativeCache


public FullyAssociativeCache(int totalSizeInKB, int bytesPerCacheLine)


// your implementation here


public bool ApplyAddress(int address)


// your implementation here



The ApplyAddress function should return true when a cache hit occurs, and false

when a cache miss occurs.

Using this class write a program that reads a list of memory addresses from a file and prints out whether the address result in a cache hit or miss.

As part of your submission you should include a sample list of memory addresses, explaining

why your program reported a cache hit or miss in each case.

Habilidades: Java, Arquitetura de software

Veja mais: cache, cache c, lru program, file cache, write pdf file using, lru, java lines program, flash write text file using asp, vbnet 2008 write excel file using datatable, write text file using html, datatabe table write excel file using vbnet, write xml data file using excel vba, reads file sample program, write file using perl script, create write data excel file using dataset, write xml file using vba, write program reads file containing program produces

Acerca do Empregador:
( 9 comentários ) London, Ireland

ID do Projeto: #6800575

7 freelancers estão ofertando em média €90 para esse trabalho


Dear, I am #1 Java programmer and did 600+ projects using java. I can implement this fully associative cache. Thanks

€147 EUR in 3 dias
(464 Comentários)

Hello, i see that you splitted the task in two projects. I can do both for 100 or just this one for 80. Regards. - Fernando.

€80 EUR in 2 dias
(46 Comentários)

Hi, I have page with exact description on how to implement LRU cache. (It is on russian): [login to view URL] . Using this page I can easily do the full job. With best regards, Konstantin.

€34 EUR in 2 dias
(6 Comentários)

A proposal has not yet been provided

€100 EUR in 2 dias
(17 Comentários)

I have 5 years of experience in developing java/j2ee applications. I can complete the task with code quality and testing and ontime delivery

€133 EUR in 3 dias
(2 Comentários)

Hello, I am a Java developer. I have been using Java for more than 6 years. I have plenty of experience in Java desktop development. I hope I can help you with your project. I am available for more discussion o Mais

€50 EUR in 3 dias
(2 Comentários)

Hello! I have 10+ experience in IT industry. I have 7+ years of developing desktop applications and websites. I am looking for opportunities to use and sharpen my existing skills, and hopefully acquire and develop n Mais

€88 EUR in 2 dias
(0 Comentários)