1. Explain CPU Scheduler?

► Selects from among the processes in memory that are ready to execute, and allocates the CPU to one of them.
► CPU scheduling decisions may take place when a process:
1.Switches from running to waiting state.
2.Switches from running to ready state.
3.Switches from waiting to ready.
4.Terminates.
► Scheduling under 1 and 4 is nonpreemptive.
► All other scheduling is preemptive.

2. Explain LDAP?

LDAP, Lightweight Directory Access Protocol, is an Internet protocol that email and other programs use to look up information from a server.

3. Explain INODE?

INODE is a pointer to a block on the disk and it is unique.
Inode is an unique number. Inode holds metadata of files.

4. Explain a Real-Time System?

A real time process is a process that must respond to the events within a certain time period. A real time operating system is an operating system that can run real time processes successfully

5. Explain How owns the Kernel Object?

Kernel objects are owned by the kernel, not by a process

6. example of microkernel?

► Amoeba
► WinNT
► Minix

7. What is difference between a computer process and thread?

A single process can have multiple threads that share global data and address space with other threads running in the same process, and therefore can operate on the same data set easily. Processes do not share address space and a different mechanism must be used if they are to share data.

If we consider running a word processing program to be a process, then the auto-save and spell check features that occur in the background are different threads of that process which are all operating on the same data set (your document).

process:
In computing, a process is an instance of a computer program that is being sequentially executed[1] by a computer system that has the ability to run several computer programs concurrently.

Thread:
A single process may contain several executable programs (threads) that work together as a coherent whole. One thread might, for example, handle error signals, another might send a message about the error to the user, while a third thread is executing the actual task of the...

8. can User access these kernel objects structures?

Kernel object data structures are accessible only by the kernel.

9. Explain the limit on per process for creating a thread?

The number of threads a process can create is limited by the available virtual memory and depends on the default stack size

10. How to create a Mutex?

A thread uses the CreateMutex function to create a mutex object. The creating thread can request immediate ownership of the mutex object and can also specify a name for the mutex object

Download Interview PDF