CS 514 Advanced Operating Systems, Spring 2009 Quiz #1 on January 27, 2009 (Solutions)

aurorabellyΔίκτυα και Επικοινωνίες

21 Νοε 2013 (πριν από 4 χρόνια και 6 μήνες)

100 εμφανίσεις


CS 514 Advanced Operating Systems, Spring 2009

Quiz #1 on January

7, 2009


This quiz is a closed lecture
notes, closed textbook and close neighbor quiz. Since the way you are
expected to answer for the questions can be different for each ques
tion, please read each question
carefully before you start answering a solution for the question. Failing to follow the instruction in
each question will be considered “a wrong solution” (not as “unanswered), which is subject to a
minor penalty (as descri
bed below).

Last Four Digits: ________________

(please do NOT write all of your student ID or your name)

Grade: ______



What are the two primary roles of operating system

The interface between human users (user applications) and the physical computer hardware.

The resource manager (government)
that manages and allocates all the available hardware resources
in your computer system


What is

extended machine

? Thi
s question does

ask how we can use extended machine. A
definition of

extended machine


Please answer this question using up to 40 words

Definition (required)
: “Extended machine” is a software (or a collection of software) that emulates
particular functionalities that are not directly provided by a physical computer system to human users
and/or user applications.

Purpose (not required: FYI)
: The primary purpose of extended machine is to let human users and
application programs run on a c
omputer system that does not support the functionalities they need.


What is


Context switching is a process of switching a processor from the currently running process to another


What is

file allocation table

? Wha
t is it for (mention the most important role of FAT)?

File allocation table (as usually abbreviated as “FAT”) is
the data structure

keeps track of where in
a storage device each file is located



What is the primary difference between

d OS


distributed OS
” (answer this
using up to 25 words

etworked OS


distributed OS
” are same in that such OS connects multiple computer hosts in a
network, but they have the following difference:

Using a networked OS, each human u
ser still sees multiple difference computer hosts.

Using a distributed OS, each human user will not distinguish each networked host computer any
more. In stead, each user will see only them as if only one computer host.


What are the advantages in usi

kernel architecture

? What is the primary disadvantage in

kernel architecture


Answer each question using up to 25 words

OS kernel becomes smaller (by kicking out those functions outside of the kernel).

Since some of the functions wil
l be executed in the user mode (not in the system mode), robustness
will be improved.

Novice users can perform “debugging” the bugs, by simply downloading the latest file and replace
the old by the new.


Many operating systems use

external commands


What is the primary difference between



kernel architecture


The primary difference between
external commands

and the micro
kernel architecture is that the
external commands are executed as the kernel mode while micro
l architecture execute some OS
services in the user (application mode).


Special files are not limited to interfacing to I/O devices. There are at least two more different ways to
use special files. Mention at least another example of special files (
your example should not be the one
related to accessing I/O devices).

Many different solutions are possible.


CS 5

Advanced Operating S
stems Spring 2009
, Qui
z #1, J
anuary 27, 2009