Header Ads Widget

OS Interview

OPERATING SYSTEM










 1. What is an OS?

OS is stands for Operating System. It is a software program, which organize computer to communicate and operate with computer software. It is the vital part of any computer system.




2. What are the various kinds of Operating System?

There are 5 types of OS :-

1. Batched Operating System

2. Timesharing Operating System

3. Multi - programmed Operating System

4. Real - time Operating System

5. Disturbed Operating System



3. What is a kernel?

Kernel is the core and essential part of computer operating system, which provides basic services for all parts of OS.



4. What is dead lock?

It is a situation or condition where the two process are waiting for each other to complete so after that they can start easily.









5. What are the state of process?

1. New

2. Running

3. Waiting

4. Ready

5. Terminated



6. What is thread?

It is a program, which line under execution. Sometimes, it is called a light-weight process. It comprises a thread id, a program counter, a register set.









7. What is virtual memory?

It is a technique of hardware, where the system appears to have more memory. This is done by time sharing, the physical and storage parts of the memory one disk when they are not actively being used.



8. What is Cache memory?

Cache memory is random access memory [ RAM ], which can access more quickly that if can access regular RAM. It looks first in the cache memory and if it finds the data there, which time consuming reading of data from larger memory.











9. What is RAID? and Make a list of various RAID levels?


RAID - Redundant Array of Independent Disks, which is used to store the same data to improve the overall performance. 

These are the RAID levels :-

RAID 0 - Stripped Disk Array without fault tolerance 

RAID 1 - Mirroring and Duplexin

RAID 2 - Memory style error correcting codes

RAID 3 - Bit - interleaved parity

RAID 4 - Block - interleaved parity

RAID 5 - Block - interleaved distributed parity

RAID 6 - P+Q Redundancy







10. What is Spooling?

It is a process, where data is temporarily gathered to be used and executed by a device, program or the system. It is connected with printing. When different applications send output to the printer at that same time, Spooling keeps these all jobs.




11. What do you mean by a process?

Process mean an executing program. Mainly 2 types of process  :-

▪︎ User Process

▪︎ Operating System Process



12. Make a list of basic four condition behind the deadlock.

1. Mutual Exclusion Condition

2. No-Preemptive Condition

3. Circular Wait Condition

4. Hold and wait Condition











13. What are the advantages of multithreaded programming?

1. Economical

2. Completely Utilize the multiprocessing architecture 

3. Resource sharing within the process

4. Enhance the responsiveness to the users



14. What are overlays?

Overlays makes a process to be larger than the amount of memory allocated to it. Some important instructions and data at any given time.



15. What is real - time system?

It is used in the case when rigid-time requirements have been placed on the operation of a processor, which contains a well defined and fixed time constraints.


➽ This is model questions and answers, but this is also important question will be asked in any companies. So, be prepared for other complex questions.