COP 4600 NEW EXAM WITH QUESTIONS AND
ACCURATE ANSWERS (A+)
What does a process control block comprise? - ANSWER Information of the status of a
process: process state/process number/program counter/registers/memory limits/list of
open files/.
Which of virtual machines and containers are more lightweight, and run more
efficiently? - ANSWER Containers
Which of the following cache level belongs solely (and not shared) to CPU cores? L1, L2,
or L3? - ANSWER L1
Which is NOT true about a Microkernel?
a) Its ore reliable.
b.) It can execute programs more efficiently
c.) The operating system is more ported to new architectures
d.) It is more secure. - ANSWER It can execute programs more efficiently.
Which of the following techniques does modern OS design commonly adopt? a.)
Microkernal-based
b.) Monolithic
c.) Module-based
d.) Layered-based - ANSWER Module-based
The _____ of a process consists of transient information such as parameters of
functions, return addresses, and local variables. - ANSWER Stack
,When a child process is created, which of the following are a possibility regarding the
execution or address space of the child process?
a.) the child runs concurrently with the parent
b.) the child has a new program loaded into it
c.) the child is a duplicate of the parent - ANSWER Psych! It's all of them.
Which of the following is currently the most popular hypervisor on Linux?
a.) XEN
b.)VMWare Workstation
c.) KVM
d.) Virtualbox - ANSWER KVM
Which of the following is NOT a process state?
a.) running
b.) ready
c.) waiting
d.) sleeping - ANSWER Sleeping
The collection of processes waiting for a specific I/O device is known as a(n) ____. -
ANSWER device queue
Which of the following is true of a message passing model?
a.) It's only useful for small, simple OSs
b.) It's easier to implement than a shared memory model for intercomputer
communication
c.) It's faster than the shared memory model
d.) It's a network protocol and does not apply to OSs - ANSWER It's easier to implement
than a shared memory model for intercomputer communication
,The major difficulty in designing a layered operating system approach is.
a.) Making sure each layer is easily converted to modules.
b.) Debugging a particular layer.
c.) Appropriately defining the various layers. - ANSWER Appropriately defining the
various layers.
Which of the following is true of a microkernel?
a.) All non-essential components are stripped off.
b.) It is compiled to be the smallest size possible if stored on a disk.
c) Many of its components are optimized to result in reduced resident memory size.
d) It is compressed prior to lading for reducing its resident memory size. - ANSWER All
non-essential components are stripped off.
Which of the following is not an advantage of virtual machines?
a.) It protects the host operating system from guest operating systems
b.) Among its features are the ability to operate several different operating systems on a
single hardware.
c.) It requires less physical memory compared to an actual OS
d.) It can run several Operating Systems at the same time - ANSWER It requires less
physical memory compared to an actual OS
Which of the following is NOT a medium through which it is possible to pass parameters
from an application to a system call?
a.) Cache memory
b.) Registers
c.) Stack
d.) Special block in memory. - ANSWER Cache memory
Which of the following provides an interface to the services offered by an OS?
, a.) Shared memory
b.) Communication
c.) System calls
d.) Simulators - ANSWER System calls
Which of the following is true of a spinlock?
a.) It will always cause a context switch when a process needs to wait on a lock.
b.) It does not cause a context switch when a process needs to wait on a lock.
c.) It is particularly useful when locks are likely to be held for a long duration.
d.) It is never a good thing. - ANSWER It does not cause a context switch when a process
needs to wait on a lock.
When the fork() operation creates a new process, which of the following does the parent
and child process share?
a.) Stack
b.) Heap
c.) Shared memory segments
d.) Global variables. - ANSWER Shared memory segments
T/F: Multithreading can also improve the performance (i.e., speed) of software when it
executes on a single-core CPU. - ANSWER True
What type of multithreading model multiplexes many user-level threads to a smaller or
equal amount of kernel threads? - ANSWER Many-to-Many
How many processes will be created with the following program?
fork();
fork();
fork(); - ANSWER Correct answers: 8, 6, 4, 0
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Easton. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.99. You're not tied to anything after your purchase.