Operating System Interview Question
Operating System Interview Question
A list of top frequently asked Operating System interview questions and answers are
given below.
4) What is a socket?
A socket is used to make connection between two applications. Endpoints of the connection
are called socket.
00:06/04:28
57.2M
919
Hello Java Program for Beginners
5) What is a real-time system?
Real-time system is used in the case when rigid-time requirements have been placed on the
operation of a processor. It contains a well defined and fixed time constraints.
6) What is kernel?
Kernel is the core and most important part of a computer operating system which provides
basic services for all parts of the OS.
o New Process
o Running Process
o Waiting Process
o Ready Process
o Terminated Process
1) Mutual Exclusion Condition: It specifies that the resources involved are non-sharable.
2) Hold and Wait Condition: It specifies that there must be a process that is holding a
resource already allocated to it while waiting for additional resource that are currently being
held by other processes.
3) No-Preemptive Condition: Resources cannot be taken away while they are being used
by processes.
Note: This condition implies the hold-and-wait condition, but it is easier to deal with the
conditions if the four are considered separately.
o Internal fragmentation: It is occurred when we deal with the systems that have
fixed size allocation units.
o External fragmentation: It is occurred when we deal with systems that have
variable-size allocation units.
o Binary semaphores
o Counting semaphores
After fragmentation