Operating System Related Interview Question/Answer

Question 1 - What is operating system?

Answer 1OPERATING SYSTEM -   An operating system is a program that acts as an                                                                                      intermediary between  user and computer hardware. 


  • The purpose of an OS is to provide a convenient environment in which user can execute programs in a convenient and efficient manner.

--------------------------------------------------------------------------------------------------------------------------

Question 2 -  What are the different types of operating Systems (OS) ?

Answer 2 -    The different types of operating Systems (OS) are -


  1. Batched Operating system 
  2. Multi- programmed Operating system.
  3. Time Sharing Operating system.
  4. Distributed Operating system.
  5. Real-time Operating system.
--------------------------------------------------------------------------------------------------------------------------

Question 3 - What is Dead lock ?

Answer 3 - DEAD- LOCK -   Deadlock is a situation or condition where the two processes are                                                            waiting for each  other to complete so that they can start. This result                                                      both processes to hang.

--------------------------------------------------------------------------------------------------------------------------

Question 4 - What is process ?

Answer 4 -  A program in execution is called a process. 

Types-    There are two types of processes - 

1. Operating system processes.

2. User processes

--------------------------------------------------------------------------------------------------------------------------

Question 5 -  What are the states of process ?

Answer 5 -  The states of process are - 
  1. New
  2. Running.
  3. Waiting.
  4. Ready.
  5. Terminated.
                                             New >  Running  > Waiting > Ready > Terminated.

--------------------------------------------------------------------------------------------------------------------------

                                                                               Next Page 





No comments:

Post a Comment