Question 6 - What is Semaphore?
Answer 6 - SEMAPHORE- Semaphore is a variable, whose status reports common resource.
Types- It is of two types-
1. Binary Semaphore.
2. Counting Semaphore.
--------------------------------------------------------------------------------------------------------------------------
Question 7- What is Thread ?
Answer 7 - A thread is a program line under execution. Thread sometimes called a light- weight process, is a basic unit of CPU utilization; it comprises a thread id, a program counter, a register set, and a stack.
--------------------------------------------------------------------------------------------------------------------------
Question 8 - What do you know about interrupt ?
Answer 8 - Interrupt can be understood as a signal from a device causing context switch.
>> To handle interrupts, interrupt handlers or service routine are required.
>> The address of each interrupt services routine is provided in a list which is maintained in interrupt vector.
-------------------------------------------------------------------------------------------------------------------------
Question 9 - What is Context Switching ?
Answer 9 - Context is associated with each process encompassing all the information describing the current execution state of the process - when the OS saves the context of program that is currently running and restores the context of the next ready to run process, it is called as context switching. (It is important for multitasking OS)
-------------------------------------------------------------------------------------------------------------------------
Question 10- What is Critical Section ?
Answer 10 - It is section of code which can be executed only by one process at a time.
--------------------------------------------------------------------------------------------------------------------------
Previous Page 2 Next Page
Answer 6 - SEMAPHORE- Semaphore is a variable, whose status reports common resource.
Types- It is of two types-
1. Binary Semaphore.
2. Counting Semaphore.
--------------------------------------------------------------------------------------------------------------------------
Question 7- What is Thread ?
Answer 7 - A thread is a program line under execution. Thread sometimes called a light- weight process, is a basic unit of CPU utilization; it comprises a thread id, a program counter, a register set, and a stack.
--------------------------------------------------------------------------------------------------------------------------
Question 8 - What do you know about interrupt ?
Answer 8 - Interrupt can be understood as a signal from a device causing context switch.
>> To handle interrupts, interrupt handlers or service routine are required.
>> The address of each interrupt services routine is provided in a list which is maintained in interrupt vector.
-------------------------------------------------------------------------------------------------------------------------
Question 9 - What is Context Switching ?
Answer 9 - Context is associated with each process encompassing all the information describing the current execution state of the process - when the OS saves the context of program that is currently running and restores the context of the next ready to run process, it is called as context switching. (It is important for multitasking OS)
-------------------------------------------------------------------------------------------------------------------------
Question 10- What is Critical Section ?
Answer 10 - It is section of code which can be executed only by one process at a time.
--------------------------------------------------------------------------------------------------------------------------
Previous Page 2 Next Page
I would definitely thank the admin of this blog for sharing this information with us. Waiting for more updates from this blog admin.
ReplyDeletegst training in chennai
Angularjs Training in Chennai
CCNA Training in Chennai
web designing training in chennai
Tally Course in Chennai