Direct mapping maps each main memory block to only one cache line, based on a modulo function. The example addresses would map to cache lines 3294 and 1110 respectively, and the minimum and maximum addresses of each block are provided. Some tag values in the example cache are shown, and it is possible to determine which addresses are contained in the cache based on comparing tags. Set associative mapping divides the cache into sets, with each set containing multiple lines that a block can map to. An example shows a 2-way set associative cache with 4K lines and 16-word blocks. For given addresses, it is explained how to determine the set number, tag value, and block minimum and maximum addresses based on the