A byte addressable computer has a small data cache capable of holding eight 32 bit words. Each cache block consists of two 32 bit words. For the following sequence of address (in hex decimal) find the hit ratio if two way set associative LRU cache is used.
200,204,208,20C,2F4,2F0,2F0,2F4,2F0,21C,218,24C.
This pattern is repeated four times. Assume that the cache is initially empty. if full associative mapping is used,then computer the number of hits.