CSCI 3323 (Principles of Operating Systems), Fall 2022:
Reading Quiz 1
- Credit:
- 15 points.
Reading
Be sure you have read, or at least skimmed,
Chapter 2 of the textbook.
Instructions
Answer the questions below using only the readings for the course --
no Web searches.
It's okay to talk to classmates about this assignment as you usually do,
but I want each person to at least skim all the reading.
Include the Honor Code pledge in what you turn in,
either the full pledge or just the word “pledged”.
For these quizzes by doing this you are also saying you have
at least attempted all the reading it covers.
Please put the pledge in the same document as your answers,
so I don't overlook it, and
please be sure to include your name somewhere in the file,
so when I print it for grading I know whose work it is.
You may write out your answers by
hand and scan them, or you may use a word processor
or other program, but please submit PDF or plain text in the “turn-in” folder
I have set up for you on Google Drive.
(So, no word-processor files and no links to other Google Docs.)
Questions
- (2.5 points)
What name does the textbook use for the techniques that make it possible
to have open more applications than there are processors?
- (2.5 points)
The textbook shows an example of a program that obtains memory with
malloc().
When more than one copy of this program is run, all report the same address
for the space returned by malloc().
Does that mean all programs share the same physical memory,
and if not, what term does the textbook use for the techniques that make
it possible for them not to?
- (2.5 points)
In the context of concurrency, what does “atomically” mean?
- (2.5 points)
What is the term the textbook uses
for the part of the operating system that organizes the
contents of an I/O device such as a disk?
- (2.5 points)
One design goal of an operating system is to provide something convenient and
easy to use. What are some other goals?
(List at least two. Don't worry about listing them all.)
- (2.5 points)
What's the difference between a library call and a system call,
and why is it important or useful to make this distinction?
2022-09-24