Preview

Columbia Computer Science Hw-1

Better Essays
Open Document
Open Document
2462 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Columbia Computer Science Hw-1
What is the difference between the process that is ready and the process that is waiting?

A process is ready when it is in a state to move on to the next level or it can continue its process
A process that is waiting is when progress is currently delayed until some external events occur that needs completion for the process to move to the next level

What is the difference between main memory and virtual memory?

Main memory is also known as the Random Access Memory. Main memory is the immediate storage within the computer and to access any source of Information from the computer the information first has to be copied onto the main memory for the computer to read. In contrast virtual memory is when memory manager shuffles the data back and forth between the main memory and mass storage, to create imaginary memory space in the main memory so that large files can be viewed.

If a typist types 60 words per minute (where a word is considered 5
Characters) how much time would pass between typing each character? If a multiprogramming operating system allocated time slices in 20 Millisecond units we and we ignore the time required for process switches, how many time -slices could be allocated between characters being typed?

60 words per minute = 1 word per second.
5 characters in each word, which is which is 200 second per character
At 20 millisecond per time slice, which is 200/20 = 10 time slices per character

Since each area in a computer monitor screen can be used by only one process at a time (otherwise the image on the screen would be unreadable) these areas are non-sharable resources that are allocated by the window manager. Which of the three conditions necessary for deadlock does the window manager remove in order to avoid deadlock?

The condition is mutual exclusion and the condition that can be used to remove the deadlock is by converting non-sharable resources into sharable ones. The operating system could make the non-sharable resource

You May Also Find These Documents Helpful