cs1550 quiz 1 l.
Skip this Video
Loading SlideShow in 5 Seconds..
CS1550: Quiz #1 PowerPoint Presentation
Download Presentation
CS1550: Quiz #1

Loading in 2 Seconds...

play fullscreen
1 / 2

CS1550: Quiz #1 - PowerPoint PPT Presentation

  • Uploaded on

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.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about 'CS1550: Quiz #1' - macaria

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
questions true a false b
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