1 / 2

CS1550: Quiz #1

CS1550: Quiz #1. Questions (True = A, False = B). 01) The operating system must provide GUI (graphical user interface) functions. No, just look at the old DOS and the old Unix systems.

macaria
Download Presentation

CS1550: Quiz #1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS1550: Quiz #1 Quiz #1

  2. Questions (True = A, False = B) 01) The operating system must provide GUI (graphical user interface) functions.No, just look at the old DOS and the old Unix systems. 02) Kernel threads allow for faster context switches than user-level threads.Credit for everyone.Yes and no: ambiguous question. User-level threads have faster context switches if they are inside the same process. If they are in different processes, kernel-level threads have faster context switches 03) Deadlock is possible in a batch system.No, deadlocks require more than one process to be running at a time, and in batch systems only one process runs 04) Synchronization (with semaphores, locks, etc.) is needed when we have multiple processes, even if the processes cannot communicate.No, if the processes are completely isolated, there is no shared resources and therefore no need to synchronize. 05) Credit for everyone 06) Credit for everyone 07) Deadlocks waste processor time.No, the processes just sit there, so it is as if there were no processes 08) Whenever there is deadlock there is starvation.Yes, deadlocks mean 2 or more processes are blocked for ever. They cannot run, therefore they are in a starvation situation 09) Whenever there is starvation there is a deadlock.No, there could be starvation due to livelocks or due to a lower priority job never getting a chance to run (never being chosen by the scheduler) Quiz #1

More Related