homework1 - CMPSCI 677 Operating Systems Homework 1 Spring...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CMPSCI 677: Operating Systems Homework 1 Spring 2011 Due: 5pm, Thu, Jan 27 (via SPARK). Note: Feel free to use an undergraduate operating systems text as a reference for this assignment. This assignment is mandatory, although it will not count towards your final grade. 1. True or false questions. Justify your answer in one or two sentences. (a) On a uniprocessor, a CPU can execute one process while another process is performing a context switch. (b) It is desirable for a CPU scheduler to give priority to I/O-bound threads over CPU-bound threads. (c) ”Hold and Wait”, one of the conditions required for deadlock to occur, means that the process is holding the CPU while waiting for a resource. (d) Thrashing occurs when there is not enough physical memory allocated to a process to keep the pages the process is actively using in memory. (e) Contiguous allocation is a reasonable way to store files on write-once disks, such as traditional CD-ROMs. (f) Ethernet is commonly used to connect machines on a wide area network. (g) All interactive time-shared systems are also multiprogrammed systems. (h) Traps are a common mechanism used by the OS to implement all of the following: system call, page fault, and illegal memory access. (i) Only a parent process can kill a child process. (j) A synchronization problem that requires counting semaphores can never be implemented using locks. (k) Overlays allow contiguous memory allocation techniques to support process sizes that are
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 3

homework1 - CMPSCI 677 Operating Systems Homework 1 Spring...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online