0% found this document useful (0 votes)
8 views1 page

Linked List and Memory Allocation Exam Guide

Uploaded by

shaunpeter069
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Linked List and Memory Allocation Exam Guide

Uploaded by

shaunpeter069
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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)?

You might also like