ERODD HOME
Operating Systems CPSC 304
Homework on Chapters 6-9
Earl Rodd
erodd@malone.edu Extension 8546 www.malone.edu/erodd
Name: ______________________________________
- Mark which of these measurements would be a meaningful
measure of a (B)atch, (I)nteractive, or (R)eal-time operating system
performance.
- ___ When user presses the PROCESS GUI button, 90% of the time next
screen is delivered in 3 seconds or less.
- ___ Sales summary, accounting, payroll, credit card processing
run in 2 hours.
- ___ The average time from a user submitting a request for
an account balance and receiving it is 4.34 seconds.
- ___ The system requirement is that the adjustment calculation
must ALWAYS be completed in less than .67 seconds.
- Check which are shared between LINUX and UNIX.
- ___ Source of the kernel.
- ___ C library function source code.
- ___ Language used for shell scripts.
- ___ The syntax of the shell "ls" command.
- ___ The source code used manage virtual memory.
- Characterize these systems as (B)atch, (I)nteractive, or (R)eal-time.
- ___ System to control a steel rolling mill - it adjusts the rollers to
each piece as it comes through the mill.
- ___ Software supporting bank ATM machines.
- ___ Web server.
- ___ System run the 1st of every month by the Social Security
Administration to create transaction files to send to banks for
direct deposit for all Social Security recipients.
- ___ Automobile system which controls the fuel injection.
- Identify the Operating System Component (PM, DM, FM, or MM) for
each of these system calls:
- ___ open
- ___ read
- ___ malloc
- ___ ioctl
- ___ fork
- When we say "the boot device", what does this mean (in technical
terms)?
__________________________________________________________
- Of the storage types in the chapter, which ones are
"non-volatile", that is, they keep their data when the power is
turned off?
_____________ ______________ ______________ ____________ __________
- I once compared two Pentium machines, one 90MHz and one 150Mhz.
Running a program with various complex math and data manipulations,
but no disk or other I/O (except a final write to the screen with
the answer), I found that the 90MHz machine ran as much as 30% faster than the
150MHz machine? Given what you have learned about storage hierarchy,
what seems like a likely cause?
______________________________________________________________
- With modern operating systems, when we compile a "C++" program,
the executable contains a number of library functions. Do these
library functions contain code to directly access the hardware
(e.g. disk drives)? ________
Why or why not? ______________________________________