Commit 17d7ba4f authored by Lindsay Knupp's avatar Lindsay Knupp
Browse files

Merge branch 'master' of gitlab.bucknell.edu:lak030/csci315

parents c7925277 c2d41f16
------------------------------------------------------------
Lab 7 -- Feedback
------------------------------------------------------------
Prelab: 30/30
Problem 1: [12/12] - answers.txt
1) Dicuss whether doubly-linked lists are suitable for use in a custom memory allocator [2/2]
2) Propose another data structure for tracking allocated and free memory [2/2]
3) Define external fragmentation and give a scenario [1/1]
4) Define internal fragmentation and give a scenario [1/1]
5) Describe the first-fit allocation policy. Give one advantage and one disadvantage of its use [2/2]
6) Describe the best-fit allocation policy. Give one advantage and one disadvantage of its use [2/2]
7)Describe the worst-fit allocation policy. Give one advantage and one disadvantage of its use [2/2]
Problem 2: [18/18]
a) Modify dlist/dnode to work with the expanded dnode [9/9]
b) dlist_print works properly [4/4]
c) src/alloc-dlist_test.c demonstrates correctness [5/5]
Lab: 70/70
Problem: [70/70] - allocator.h/c memory-test.c
a) The correct implementation of allocator_init [12/12]
b) designAPI.txt: A clear explanation of the design of your supporting functions for multiple policies [12/12]
c) The correct implementation of allocate [12/12]
d) Correct modification to the doubly-linked list module given to you, which supports deallocated implementation.[7/7]
e) The correct implementation of deallocate [12/12]
f) Test file(s) that clearly demonstrate that your program works [15/15]
Makefile up to [-10]
a) Makefile compiles all files successfully
Grade: 100/100
------------------------------------------------------------
Lab 8 -- Feedback
------------------------------------------------------------
Lab: 100/100
Problem 1: [30/30] - answers.txt, allocator.c/h
- What types of fragmentation are possible? [8/8]
- Propose two performance metrics that could be used to determine how well the allocator works
- average_frag() works to specification w/ proper documentation
Problem 2: [30/30] - frag-eval.c
- Proper anaylsis and critiquing of the given pseudocode [8/8]
- Implemenent the algorithm you just designed in frag-eval.c [17/17]
- Add a rule to build frag-eval.c [5/5]
Problem 3: [40/40] - exp-results.pdf
- Proper completion of exp-result.pdf [30/30]
- Analysis of your findings [10/10]
Makefile up to [-10]
a) Makefile compiles all files successfully
Grade: 100/100
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment