Midterm 1 - Spring 2008 | Operating Systems | CSE 430, Exams of Operating Systems

Material Type: Exam; Class: Operating Systems; Subject: Computer Science and Engineering; University: Arizona State University - Tempe; Term: Spring 2008;

Typology: Exams

Pre 2010

Uploaded on 09/02/2009

koofers-user-lhs
koofers-user-lhs 🇺🇸

10 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CSE 430
SPRING 2008 MIDTERM 1
(6:40 CLASS)
NAME
Put Name on Every Page
1. (20) Commands, System Programs and System Calls
Explain the relationship between commands, system programs and system calls, i.e., how each
type is invoked by one of the other types or is contained within another type. Your explanation
should include what a command, a system program and a system call is and name an example of
each. To keep things simple – assume a Command Line Interpreter interface. Helpful Hint: You
can use the processing of a command such as rm filename to explain what you mean.
2. (10) Process Scheduling
What is medium term scheduling? Why is it needed? How is it typically implemented in modern
operating systems?
pf3
pf4

Partial preview of the text

Download Midterm 1 - Spring 2008 | Operating Systems | CSE 430 and more Exams Operating Systems in PDF only on Docsity!

CSE 430

SPRING 2008

MIDTERM 1

(6:40 CLASS)

NAME

Put Name on Every Page

1. (20) Commands, System Programs and System Calls Explain the relationship between commands, system programs and system calls, i.e., how each type is invoked by one of the other types or is contained within another type. Your explanation should include what a command, a system program and a system call is and name an example of each. To keep things simple – assume a Command Line Interpreter interface. Helpful Hint: You can use the processing of a command such as rm filename to explain what you mean. 2. (10) Process Scheduling What is medium term scheduling? Why is it needed? How is it typically implemented in modern operating systems?

CSE 430

SPRING 2008

MIDTERM 1

(6:40 CLASS)

NAME

Put Name on Every Page

3. (16) Microkernel-based Operating Systems (a) (5) Give an advantage that microkernel-based operating systems have over operating systems that do not have a microkernel. You need to say why the answer you give is true. If you give more than one answer, only the first will be graded. (b) (3) Name an example of a microkernel-based operating system. (c) (5) Give an advantage that operating systems that do not have a microkernel, i.e., monolithic operating systems, have over microkernel-based operating systems. You need to say why the answer you give is true. If you give more than one answer, only the first will be graded. For the purposes of this question, you can assume you are comparing against a first generation microkernel operating system. (d) (3) Name an example of a monolithic operating system. 4. (14) Handheld Systems Name three characteristics of Handheld Systems that place constraints on the design of operating systems for them. For two of these characteristics state what operating system designers must do to accommodate them.

CSE 430

SPRING 2008

MIDTERM 1

(6:40 CLASS)

NAME

Put Name on Every Page

6. Virtual Machines (11 +3 points extra credit) (a) (5) One advantage of virtual machines is workload consolidation. Explain what the term means and, aside from providing increased security (which it certainly does), give an example showing how it can be used. (b) (6) One fix for nonvirtualizability is paravirtualization. What is it? And what is its major problem. Name a VMM that uses it. (c) (3 points extra credit) In the space next to each entry in the left hand column put the letter corresponding to the type of VM in the right hand column. ___ Java VM ___ IBM 370 VM ___ VMWare ___ .NET framework VM ___ MIPS emulator running on Linux ___ any multiprogrammed system 7. (5) Introduction to operating systems Some functions provided by an operating system perform no useful application work by themselves – they are just pure overhead. Give two examples of this. (a) Process VM same ISA (b) Process VM different ISA (c) Process VM High-Level Language VM (d) System VM Same ISA Classic System VM (e) System VM Same ISA Hosted VM