8. What are two memory placement algorithms? Describe how they
work.
What are the two memory placement algorithms?
The memory placement algorithms are first fit, best fit and next fit.
first, fit:
it places the process in the first free partition which can accommodate it.
it is the fastest algorithm.
But, some memory is left unused and wasted and tough enough memory is available, it is not used properly.
Best fit:
it places the process in the smallest possible partition and
makes the no wastage of memory.
it is the best algorithm.
it is slower.
worst fit:
it places the small size process in the large partition.
it is the worst algorithm.
it reduces the rate of production of small gaps.
nest fit:
it is an updated version of the first fit.
it starts as the first fit while finding a free partition.
it starts from where it left off when called next time.
it does not start from the beginning.
8. What are two memory placement algorithms? Describe how they work.
Given five memory partitions of 100 KB, 300 KB, 200 KB, 500 KB, and 400 KB (in order), how would each of the first-fit, best-fit, and worst-fit algorithms place processes of 200 KB, 417 KB, 100 KB, 350 KB and 100 KB (arriving in order)? Be sure and discuss the differences in the placement in terms of memory usage.(If someone is capable of dumbing it down for me, I would greatly appreciate it.)
To implement the various placement algorithms discussed for simple dynamic partitioning (Section 7.2), a list of the free blocks of memory must be kept. For each of the three methods discussed (best- t, rst- t, next- t), what is the average length of the search (in terms of N, the size of the free blocks list).
What is an example of explicit memory? What is an example of implicit memory? Describe how explicit memory and implicit memory or different, including how they are encoded.
1. Draw a memory hierarchy diagram. 2. Briefly describe the different types of memory in the memory hierarchy in terms of performance, access time and cost. 3. Describe the followings regarding cache: a. Block placement b. Block identification c. Block replacement d. Write strategy
8. What are two types of explicit memory? episodic and procedural memory episodic and implicit memory semantic and procedural memory semantic and episodic memory
Describe how information flows from sensory memory to short-term memory to long-term memory. AND Describe why students should engage in elaborative rehearsal when studying for their classes.
PROBLEM #11 What are the two algorithms used to sort an array? How do they work? -------------------------------------------------------------------- */ /* --------------------------------------------------------------------------------------------------------------- PROBLEM #12 Given the following array 'jumbled', what will the array be after the first swap of a selection sort algorithm? (Assume the algorithm sorts in ascending order). --------------------------------------------------------------------------------------------------------------- */ int jumbled[] = {12, 5, 3, 1, 9, 100, 45}; /* --------------------------------------------------------------------------------------------------------------- PROBLEM #13 Given the following array 'jumbled2', what will the array be after the third swap of a...
b) Describe two examples of intelligent algorithms that can be used in DSS c) Describe the DSS taxonomy d) Describe the advantages and disadvantages of end user developed DSS
Memory Chapters (5-7) What is memory? How does it work? Why is it important? What are its uses and functions? Try to generate answers and explanations to these questions ustng the concepts we discussed in lecture and in the book (and listed below). Thinking about and eaxplaining answers to general questions such as these can help you identify what you know and understand and what you do not. It can help you organize the concepts, elaborate on them, and relate...
Describe the memory organization of the PIC16F84A, including how registers are split up and what they are called