-
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.
-
-
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.
-
What is INODE?
-
Explain the working of Virtual
Memory.
-
How does Windows NT supports
Multitasking?
-
Explain the Unix Kernel.
-
What is Concurrency? Explain with
example Deadlock and Starvation.
-
What are your solution strategies
for “Dining Philosophers Problem” ?
-
Explain Memory Partitioning, Paging,
Segmentation.
-
Explain Scheduling.
-
Operating System Security.
-
What is Semaphore?
-
Explain the following file systems :
NTFS, Macintosh(HPFS), FAT .
-
What are the different process
states?
-
What is Marshalling?
-
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.
-
What is Marshalling?
-
Difference - Loading and Linking ?