Operating System Important Question With Answer

Operating System Top 10 Question with Answer Interviewer can ask (Randomly)
Que 1. What is Operating System ?
Define Operating Syatem.
Ans: An operating system is a program that acts as an interface between the user and the computer hardware and controls the execution of all kinds of programs.
Que 2: What is Safe state and unsafe State?
Ans: Safe state is when there is no chance of deadlock occurring, while unsafe state doesnt mean a deadlock has occurred yet, but means that a deadlock could happen.
Que 3: What is Deadlock?
Ans: Deadlock is a situation where a set of processes are blocked because each process is holding a resource and waiting for another resource acquired by some other process.
A deadlock is a situation in which two computer programs sharing the same resource are effectively preventing each other from accessing the resource, resulting in both programs ceasing to function.
Que 4 :What is demand paging?
Ans : Demand paging is referred when not all of a processs pages are in the RAM, then the OS brings the missing(and required) pages from the disk into the RAM.
Que 5 : What is kernel?
Ans : A kernel is the core of every operating system. It connects applications to the actual processing of data. It also manages all communications between software and hardware components to ensure usability and reliability.
Que 6: Describe the objective of multiprogramming.
Ans: The main objective of multiprogramming is to have a process running at all times. With this design, CPU utilization is said to be maximized.
Que7 : What is the basic function of paging?
Ans: Paging is a memory management scheme that permits the physical address space of a process to be noncontiguous. It avoids the considerable problem of having to fit varied sized memory chunks onto the backing store.
Que 8: What is fragmentation?
Ans: Fragmentation is memory wasted. It can be internal if we are dealing with systems that have fixed-sized allocation units, or external if we are dealing with systems that have variable-sized allocation units.
Que 9: What is multitasking?
Ans: Multitasking is the process within an operating system that allows the user to run several applications at the same time. However, only one application is active at a time for user interaction, although some applications can run behind the scene.
Que 10: What is the difference between Job and Process?
Ans: A process refers to a program under execution. This program may be an application or system program.
Job means an application program and it is not a system program.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!