ASSIGNMENT QUESTION
1. Write an algorithm to count number of nodes in a singly linked list.(3
marks) - University Exam
2. What is dynamic memory allocation? List any two advantages of dynamic
memory memory allocation
3. How can a linked list used to represent the polynomial 3xa+2*+5
4. Given five memory partitions of 400Kb, 600Kb, 350Kb, 200Kb, 800Kb
(in order), how would the first-fit, best-fit, and worst-fit algorithms place
processes of 520 Kb, 617 Kb, 200 Kb, and 750 Kb (in order)?