Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

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.
Your email address is only used to allow you to reset your password. See 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.

Operating Systems: Introduction (Ch. 1)

Quiz yourself by thinking what should be in each of the black spaces below before clicking on it to display the answer.
        Help!  

Problem
Solution
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  
🗑


   

Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
 
To hide a column, click on the column name.
 
To hide the entire table, click on the "Hide All" button.
 
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
 
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.

 
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
Created by: JJFresh814
Popular Computers sets