Interview Questio Set 1
Interview Questio Set 1
SET 1
1) What is an operating system?
The operating system is a software program that facilitates computer hardware to
communicate and operate with the computer software. It is the most important part of a
computer system without it computer is just like a box.
o It is designed to make sure that a computer system performs well by managing its
computational activities.
o It provides an environment for the development and execution of programs.
4) What is a socket?
A socket is used to make connection between two applications. Endpoints of the
connection are called socket.
Skip Ad
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
Operating System (Technical Interview questions)
SET 1
10) What is the difference between micro kernel and macro kernel?
Micro kernel: micro kernel is the kernel which runs minimal performance affecting
services for operating system. In micro kernel operating system all other operations are
performed by processor.
Learn more
volume is gedempt
18) What are the four necessary and sufficient conditions behind
the deadlock?
These are the 4 conditions:
Learn more
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.
Operating System (Technical Interview questions)
SET 1
3) No-Preemptive Condition: Resources cannot be taken away while they are being used
by processes.
Learn more
volume is gedempt
Operating System (Technical Interview questions)
SET 1
RAID 0 - Stripped Disk Array without fault tolerance
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.
Operating System (Technical Interview questions)
SET 1
29) What is spooling?
Spooling is a process in which data is temporarily gathered to be used and executed by a
device, program or the system. It is associated with printing. When different applications
send output to the printer at the same time, spooling keeps these all jobs into a disk file
and queues them accordingly to the printer.
o Binary semaphores
o Counting semaphores
After fragmentation
Operating System (Technical Interview questions)
SET 1
38) What are overlays?
Overlays makes a process to be larger than the amount of memory allocated to it. It
ensures that only important instructions and data at any given time are kept in memory.