Due date: Monday, September 8th
You must turn in your homework in written (or typed) form by the beginning of class on the date it is due.
The questions are based on material presented in class and reading material from the text.
Briefly describe the two primary functions of an OS. Give one example for each function.
List the main advantages and disadvantages of each OS structure:
Briefly describe how a system call is different from a user level function call. Then, briefly describe the steps involved in a system call in terms of how they are invoked.
How does a shell offer the capability to execute program in foreground and background modes. Explain in detail what happens to a process running in the background mode in relation to the shell itself.
Consider the following program:
main() { int i; if (fork()) { wait(0); } else { for(i=0; i<10; i++) { execl("/bin/ls", "/bin/ls", NULL); } } }
Given the following set of processes with their CPU burst times:
Process Burst Time A 5 B 7 C 4
Assume processes arrive in the order A, B, C at times 0, 1, and 2 respectively. For each scheduling algorithm below, draw a Gantt chart and compute the average waiting time for:
Return to the CS3013 Home Page
Send all questions to the TA mailing list.