McMaster University
SFWR ENG 3SH3
Problem 1: True or False (14 Points – 2 each) T F 1- The two primary purposes of an operating system are to manage the resources of the computer and to provide a convenient interface to the hardware for programmers. 2- Each thread of a process has its own virtual address space. 3- A trap is generated by an external event 4- High capacity
...[Show More]
Problem 1: True or False (14 Points – 2 each) T F 1- The two primary purposes of an operating system are to manage the resources of the computer and to provide a convenient interface to the hardware for programmers. 2- Each thread of a process has its own virtual address space. 3- A trap is generated by an external event 4- High capacity memories are cheap 5- Virtual memory allows programs to address memory from a logical point of view 6- A microkernel architecture assigns only a few essential functions to the kernel 7- The first step in process creation is assigning the process control block Problem 2: Multiple Choice: Choose all that applies (16 Points – 2 each) 1- The two modes of operation of an operating system are called __________. a. process and kernel b. ready and running c. interrupt and system d. kernel and user 2- A situation in which a runnable process is overlooked indefinitely by the scheduler, although it is able to proceed, is _________ . a. mutual exclusion b. deadlock c. starvation d. livelock 3- A process control block ____. a. includes information on the process's state b. stores the address of the next instruction to be processed by a different process c. determines which process is to be executed next d. is an example of a process queue. 4- What does a computer consist of a. Memory, I/O modules, bus and processor b. Terminal, keyboard, mouse and processor c. Cache, interrupts and operating system
[Show Less]