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).
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...
Answer the following questions related to the cardiac cycle and lead placement. 1.Describe the purpose of the electrocardiogram. 2.List the placement of the ten leads. 3.Describe how to prepare the patient for an electrocardiogram. 4.Where does the heartbeat originate? 5.Describe the cardiac cycle. 6.Define depolarization and repolarization. 7.Define systole and diastole. 8.What does the P wave represent? 9.What does the QRS complex represent? 10.What does the T wave represent? 11.What is an artifact related to the ECG? 12.Describe how to...
For each of the following two sorting algorithms, describe its operation in detail, using diagrams, Java code, and/or pseudocode as you feel are appropriate As part of your answer, for each one, demonstrate how it operates by showing all passes over the following array of integers: [3, 7,1, 11,5,2,8,4,9 (i) Shell Sort