Placement Papers & Technical Interview Questions

 

Chennai Home > Placement Papers > Unix / Linux

Operating system interview questions

  1. What is MUTEX ?                                                                 Ans: - Mutex is a program object that allows multiple program threads to share the same resource, such as file access, but not simultaneously. When a program is started a mutex is created woth a unique name. After this stage, any thread that needs the resource must lock the mutex from other threads while it is using the resource. the mutex is set to unlock when the data is no longer needed or the routine is finished.


  2.  

  3. What is the difference between a ‘thread’ and a ‘process’?      Ans. A process is a collection of virtual memory space, code, data, and system resources. A thread is code that is to be serially executed within a process. A processor executes threads, not processes, so each application has at least one process, and a process always has at least one thread of execution, known as the primary thread. A process can have multiple threads in addition to the primary thread. Prior to the introduction of multiple threads of execution, applications were all designed to run on a single thread of execution.

    When a thread begins to execute, it continues until it is killed or until it is interrupted by a thread with higher priority (by a user action or the kernel’s thread scheduler). Each thread can run separate sections of code, or multiple threads can execute the same section of code. Threads executing the same block of code maintain separate stacks. Each thread in a process shares that process’s global variables and resources.

     

  4. What is INODE?                                                                

  5. Explain the working of Virtual Memory.

  6. How does Windows NT supports Multitasking?

  7. Explain the Unix Kernel.

  8. What is Concurrency? Explain with example Deadlock and Starvation.

  9. What are your solution strategies for “Dining Philosophers Problem” ?

  10. Explain Memory Partitioning, Paging, Segmentation.

  11. Explain Scheduling.

  12. Operating System Security.

  13. What is Semaphore?

  14. Explain the following file systems : NTFS, Macintosh(HPFS), FAT .

  15. What are the different process states?

  16. What is Marshalling?

  17. Define and explain COM?                                                   Ans: COM is a specification(Standards). COM has two aspects
    a: COM specifications provide a definition for what object is
    b: COM provides services or blue prints for creation of object and comminication between client and server.
    COM is loaded when the first object of the component is created.
     

  18. What is Marshalling?

  19. Difference - Loading and Linking ?

 

 

 

© 2006 SpiritOfChennai.com All Rights Reserved Privacy Policy