Quiz submission record for quiz2-1-1 at Mon Jun 28 01:47:07 2004: Your Answer for Question 1: a. A successful call to malloc will always reduce the number of free blocks. When memory is requested a call is made to malloc. Malloc will find free space with the appropriate size and mark it as not free. It will then return the free space to the user. b. A successful call to malloc may leave the number of free blocks unchanged. malloc may not require the whole blocks worth of memory. Your Answer for Question 2: d. A call to free may reduce the number of free blocks by 2 or more. If the block being freed is adjavent to either neighbor, the adjacent blocks are combined. Your Answer for Question 3: new is equivalent to malloc in C. Java uses has a built in garbage collection that automatically detects objects no longer being used (no more references to that object) and frees them. C is a lower level language than Java and C++. Lower level languages give more control. Your Answer for Question 4: Reference count method works because it keeps track of the pointers. Mark and sweep do not work because the storage de-allocator needs to be able to find all pointers and all roots. Your Answer for Question 5: It is interesting to learn about the ways Java uses to automatically allocate and deallocate memory. Your unique submission ID is quiz2-1-1-cs61c-ec-1088412427-1843.