8
Jan

OS Level

   

Memory Management

What are some problems that might arise, memory wise, from a system that has been running for a while? What can you do to minimize or correct these problems?

Describe some differences between new/delete and malloc/free, and some cases where you would prefer one over the other.

Can you use new to force creation of a variable, but use memory you specify as opposed to allocating a new block? If not, why not? If so, how and what are the implications of doing so?

Explain the difference between delete and delete[].

Threading

What are some common uses for multiprocessing/multithreading?

What are the common problems with them?

Describe thread synchronization and some methods used to do so.