Busy. Please wait.

show password
Forgot Password?

Don't have an account?  Sign up 

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
We do not share your email address with others. It is only used to allow you to reset your password. For details read our Privacy Policy and Terms of Service.

Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Remove ads
Don't know
remaining cards
To flip the current card, click it or press the Spacebar key.  To move the current card to one of the three colored boxes, click on the box.  You may also press the UP ARROW key to move the card to the "Know" box, the DOWN ARROW key to move the card to the "Don't know" box, or the RIGHT ARROW key to move the card to the Remaining box.  You may also click on the card displayed in any of the three boxes to bring that card back to the center.

Pass complete!

"Know" box contains:
Time elapsed:
restart all cards

Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

1. Introduction

Operating Systems: Introduction (Ch. 1)

What are the two main functions of an operating system? An operating system provides the users with an extended (i.e., virtual) machine, and it must manage the I/O devices and other system resources.
What is multiprogramming? Multiprogramming is the switching of the CPU between multiple processes in memory. It keeps the CPU busy, allows 2+ people to use the same computer simultaneously, and permits a single user to start up multiple, independent processed at the same time.
Why was timesharing not widespread on second generation computers? Second generation computers did not have the necessary hardware to protect the operating system from malicious user programs.
What is spooling? Input spooling is the act of reading jobs onto the disk so when currently executing processes finish, the CPU will have work. Output spooling consists of copying printable files to disk before printing them
Do you think that advanced personal computers will have spooling as a standard feature in the future? Input spooling on a personal computer is not very likely since the jobs are normally created on the disk, but output spooling is.
On early computers, every byte of data read or written was handled by the CPU (i.e., there was no DMA). What implications does this have for multiprogramming? It makes multiprogramming less favorable since it is no longer the case that when one process does I/O the CPU is completely free to work on other processes.
Should disabling all interrupts only be allowed in kernel mode? Yes
Should reading the time-of-day clock only be allowed in kernel mode? No
Should setting the time-of-day clock only be allowed in kernel mode? Yes
Should changing the memory map only be allowed in kernel mode? Yes
Give a condition that causes the fork system call to fail. there are no free slots left in the process table
Give a condition that causes the exec system call to fail. the file name given does not exist or is not a valid executable file
Give a condition that causes the unlink system call to fail. the file to be unlinked does not exist or the calling process does not have the authority to unlink it
The client-server model is popular in distributed systems. Can it also be used in single-computer system? Yes, especially if the kernel is a message-passing system. It is also often used to split large programs in a system
Created by: JJFresh814