CS6200- Intro to Operating Systems |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Midterm exam with correct answers |||\\\ |||\\\ |||\\\ |||\\\
Operating System - correct answerssoftware that abstracts and arbitrates teh hardware system
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Abstract - correct answerssimplify what hardware looks like
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Arbitrate - correct answersmanage, oversee, and control hardware use
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
OS- Abstractions - correct answersprocess, thread, file, socket, memory page
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
OS- Mechanisms - correct answerscreate, schedule, open, write, allocate
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
OS- Policies - correct answersLRU (least recently used), EDF(earliest deadline first)
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Separation of Mechanism and Policy - correct answersimplement flexible mechanisms to
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
support many policies |||\\\ |||\\\
Optimize for the Common Case - correct answersunderstanding how the OS will be used, pick
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
a policy that can be supported with this OS
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
User Level - correct answersunprivileged applications, no direct hw access
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Kernel Level - correct answersprivileged, direct hardware access
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
, Trap - correct answerswhen an instruction that is user level attends to do a privileged
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
operation, the OS verifies if it should grant that access |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
System Call Interface - correct answersset of operations that applications can explicitly invoke
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
if they want the OS to perform privileged access on their behalf
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Hot Cache - correct answersapplication accessing cache when it contains data it needs
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Cold Cache - correct answersapplication accessing a cache when it does not contain data it
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
needs- it must get data from main memory |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Monolithic Operating System - correct answersevery possible service that an application could |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
require is already part of the OS, possibility for compile time optimization but has a large
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
memory footprint and is not portable/maintainable` |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Modular Operating System - correct answerscontains a number of basic services and APIs but
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
things can be added as modules. Modules can be dynamically installed depending on the
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
workload. Maintainable but indirection can impact performance |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Microkernel Operating System - correct answersonly require basic primitives like structures to |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
represent executing applications, everyhting else like file systems and device drives operate
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
outside operating system kernel at the user level. Requires lots of inter process interaction (so
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
microkernel supports these). Benefits are that it is small and easy to verify, but not portable |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
because it is highly specialized |||\\\ |||\\\ |||\\\ |||\\\
POSIX - correct answersportable operating system interface, family of standards defined by
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
IEEE to maintain compatibility between operating systems
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Process - correct answersstate of a program when executing and loaded in memory, an active
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
entity
Midterm exam with correct answers |||\\\ |||\\\ |||\\\ |||\\\
Operating System - correct answerssoftware that abstracts and arbitrates teh hardware system
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Abstract - correct answerssimplify what hardware looks like
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Arbitrate - correct answersmanage, oversee, and control hardware use
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
OS- Abstractions - correct answersprocess, thread, file, socket, memory page
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
OS- Mechanisms - correct answerscreate, schedule, open, write, allocate
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
OS- Policies - correct answersLRU (least recently used), EDF(earliest deadline first)
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Separation of Mechanism and Policy - correct answersimplement flexible mechanisms to
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
support many policies |||\\\ |||\\\
Optimize for the Common Case - correct answersunderstanding how the OS will be used, pick
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
a policy that can be supported with this OS
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
User Level - correct answersunprivileged applications, no direct hw access
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Kernel Level - correct answersprivileged, direct hardware access
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
, Trap - correct answerswhen an instruction that is user level attends to do a privileged
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
operation, the OS verifies if it should grant that access |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
System Call Interface - correct answersset of operations that applications can explicitly invoke
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
if they want the OS to perform privileged access on their behalf
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Hot Cache - correct answersapplication accessing cache when it contains data it needs
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Cold Cache - correct answersapplication accessing a cache when it does not contain data it
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
needs- it must get data from main memory |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Monolithic Operating System - correct answersevery possible service that an application could |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
require is already part of the OS, possibility for compile time optimization but has a large
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
memory footprint and is not portable/maintainable` |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Modular Operating System - correct answerscontains a number of basic services and APIs but
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
things can be added as modules. Modules can be dynamically installed depending on the
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
workload. Maintainable but indirection can impact performance |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Microkernel Operating System - correct answersonly require basic primitives like structures to |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
represent executing applications, everyhting else like file systems and device drives operate
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
outside operating system kernel at the user level. Requires lots of inter process interaction (so
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
microkernel supports these). Benefits are that it is small and easy to verify, but not portable |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
because it is highly specialized |||\\\ |||\\\ |||\\\ |||\\\
POSIX - correct answersportable operating system interface, family of standards defined by
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
IEEE to maintain compatibility between operating systems
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
Process - correct answersstate of a program when executing and loaded in memory, an active
|||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\ |||\\\
entity