Answer:
Answer is attached. If you have any further questions, feel free to ask. I also completed the total investment value.
Answer:
see explaination
Explanation:
If the cache contains 2k blocks, then the data at memory address i would go to cache block index ( i mod 2k )
Memory address = 5 bit
Cache block = 23
So, if the memory location is 9, then binary address = 01001 and cache block = 9 % 8 = 1 = 001
if the memory location is 12, then binary address = 01100 and cache block = 12 % 8 = 4 = 100
if the memory location is 15, then binary address = 01111 and cache block = 15 % 8 = 7 = 111
Answer:
A game is built from a combination of sub-tasks in order to provide the best experience to the user and make sure that the interface is comprises of only the results of the ongoing sub-tasks to provide a higher degree of data abstraction.
Data abstraction refers to the process of representing the essential information without including the background details. Rolling a dice is preferred to be a sub-task so that the user only gets to know about the result of the roll and does not have to wait for or anticipate the result. Moreover, a game may consist of n number of sub-tasks so it is not a good idea to include them in the main framework and are preferred to be abstracted.