100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Operating Systems Midterm Exam Questions with Correct Answers Latest Update 2025/2026

Rating
-
Sold
-
Pages
4
Grade
A+
Uploaded on
07-12-2025
Written in
2025/2026

Operating Systems Midterm Exam Questions with Correct Answers Latest Update 2025/2026 What is the main advantage of the microkernel approach to system design? How do user programs and system services interact in a microkernel architecture? What are the disadvantages? - Answers Advantages: -Extending the OS is made easier -Fewer changes need to be made when modifying the kernel -OS is easier to port from one hardware design to another Disadvantages: -system function overheads which affect the performance of microkernel -interprocess communication comes with overheads In what ways is the modular kernel approach similar to the layered approach? In what ways does it differ from the layered approach? - Answers The modular kernel approach requires subsystems to interact with each other through carefully constructed interfaces. The layered kernel approach imposes a strict ordering of subsystems such that subsystems at lower layers are not allowed to invoke operations corresponding to upper layer subsystems. These restrictions don't exist in the modular kernel approach. What are two models of inter-process communication? What are the strengths and weaknesses of the two approaches? - Answers The message-passing model and the shared memory model. Message passing is slower than shared memory but it is useful for exchanging small amounts of data, and is easier to implement. Shared memory model allows two of more processes to exchange info by reading and writing data in shared memory areas. It offers better convenience of communication. It has security and synchronization issues. What is the main advantages for an operating system designer of using a virtual machine architecture? - Answers System is easy to debug, and security problems are easy to solve. VMs provide a good platform for OS research since many OS systems can run on one physical machine. What is the relationship between a guest operating system and a host operating system in a system like VMware? What factors need to be considered in choosing the host operating system? - Answers A guest operating system provides its services by mappingthem onto the functionality provided by the host operating system. A key issue that needs to be considered in choosing the host operating system is whether it is sufficiently general in terms of its system-call interface in order to be able to support the functionality associated with the guest operating system. If a program terminates abnormally, a dump of memory may be examined by a _______ to determine the cause of the problem. - Answers debugger To the SYSGEN program of an operating system, the least useful piece of information is ________. - Answers what applications to install In a virtual machine, each program believes that it has _______. - Answers Its own memory True or False: An initial bootstrap program is in the form of random-access memory (RAM). - Answers false When a process Cretes a new process using the fork() operation, which of the following state is shared between the parent process and the child process? - Answers The shared memory segments Short-term scheduling - Answers selects which process should be executed next and allocates CPU. Medium-term scheduling - Answers Uses swapping from virtual to physical memory. Used to improve the process mix. Blocked processes can be swapped out of memory to make room for other processes to run. Long-term scheduling - Answers selects which processes should be brought into the ready queue

Show more Read less
Institution
Operating Systems
Course
Operating Systems








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Operating Systems
Course
Operating Systems

Document information

Uploaded on
December 7, 2025
Number of pages
4
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Operating Systems Midterm Exam Questions with Correct Answers Latest Update 2025/2026

What is the main advantage of the microkernel approach to system design? How do user
programs and system services interact in a microkernel architecture? What are the
disadvantages? - Answers Advantages:

-Extending the OS is made easier

-Fewer changes need to be made when modifying the kernel

-OS is easier to port from one hardware design to another

Disadvantages:

-system function overheads which affect the performance of microkernel

-interprocess communication comes with overheads

In what ways is the modular kernel approach similar to the layered approach? In what ways
does it differ from the layered approach? - Answers The modular kernel approach requires
subsystems to interact with each other through carefully constructed interfaces. The layered
kernel approach imposes a strict ordering of subsystems such that subsystems at lower layers
are not allowed to invoke operations corresponding to upper layer subsystems. These
restrictions don't exist in the modular kernel approach.

What are two models of inter-process communication? What are the strengths and weaknesses
of the two approaches? - Answers The message-passing model and the shared memory model.
Message passing is slower than shared memory but it is useful for exchanging small amounts
of data, and is easier to implement. Shared memory model allows two of more processes to
exchange info by reading and writing data in shared memory areas. It offers better convenience
of communication. It has security and synchronization issues.

What is the main advantages for an operating system designer of using a virtual machine
architecture? - Answers System is easy to debug, and security problems are easy to solve. VMs
provide a good platform for OS research since many OS systems can run on one physical
machine.

What is the relationship between a guest operating system and a host operating system in a
system like VMware? What factors need to be considered in choosing the host operating
system? - Answers A guest operating system provides its services by mappingthem onto the
functionality provided by the host operating system. A key issue that needs to be considered in
choosing the host operating system is whether it is sufficiently general in terms of its system-
call interface in order to be able to support the functionality associated with the guest operating
system.

If a program terminates abnormally, a dump of memory may be examined by a _______ to

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TutorJosh Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
337
Member since
1 year
Number of followers
16
Documents
28401
Last sold
13 hours ago
Tutor Joshua

Here You will find all Documents and Package Deals Offered By Tutor Joshua.

3.6

53 reviews

5
18
4
14
3
12
2
0
1
9

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions