Friday, January 12, 2007

OS 2

When can you partition work to speed up job?
How can an OS uses processes and threads to glean economies?
What is the importance of a theoretical Turing Machine?
DEF: Process = thread + address space
DEF: Address space encapsulates protection
Why separate the thread from the process?
DEF: Program = code + data
Programs are passive as opposed to Processes which are active
Windows has a function BOOL CreateProcess(...
How does Unix fork() compare?
Why does windows take a number of args whereas Unix creates processes without any args?
What is the difference between mutilprogramming and multiprocessing?
What elements other than Priority, registers, and open file descriptors are stored in the Process Control Block (PCB)?
What fairness algorithms dictate which processes get scheduled?
3 Process States: running, ready, blocked
How does the CPU get back control from a process?
How can the callee use some of the caller's registers?
You cannot use a stack to save thread state because you don't know what order threads are going to resume.
How can push all the general-purpose registers onto the stack?

No comments: