-
-
What is Dispatcher?
->Dispatcher module gives control of the CPU to the process selected by the short-term scheduler; this involves:Switching contextSwitching to user modeJumping to the proper location in the user program to restart that program Dispatch latency – time it takes for the dispatcher to stop one process and start another running.
-
-
-
-
-
What are the main difference between Micro-Controller and Micro- Processor?
A microcontroller is by definition a is a computer on a chip. It includes all the necessary parts (including the memory) all in one IC. You just need to apply the power (and possibly clock signal) to that device and it starts executing the program programmed to it. A microcontroller generally has the main CPU core, ROM/EPROM/EEPROM/FLASH, RAM and some necessary functions (like timers and I/O controllers)...
-
Differentiate between RAM and ROM?
Semiconductor memories are of two types: RAM (random access memory) and ROM (read only memory).RAM is a read/write memory. Information can be written into and read from a RAM. It is volatile memory.It stores information so long as power supply is on. ROM is permanent type memory. Its contents are not lost when power supply goes off. the user cannot write into a ROM.Its contents are decided by...
-
-
-
-
-
Deadlock Detection-Algorithm Usage?
->When, and how often, to invoke depends on:How often a deadlock is likely to occur?How many processes will need to be rolled back?->If detection algorithm is invoked arbitrarily, there may be many cycles in the resource graph and so we would not be able to tell which of the many deadlocked processes “caused” the deadlock.
-
What is multi tasking, multi programming, multi threading?
Multi programming: Multiprogramming is the technique of running several programs at a time using timesharing.It allows a computer to do several things at the same time. Multiprogramming creates logical parallelism. The concept of multiprogramming is that the operating system keeps several jobs in memory simultaneously. The operating system selects a job from the job pool and starts executing a...
-
-
What are different tasks of Lexical Analysis?
The purpose of the lexical analyzer is to partition the input text, delivering a sequence of comments and basic symbols. Comments are character sequences to be ignored, while basic symbols are character sequences that correspond to terminal symbols of the grammar defining the phrase structure of the input
-
Give a non-computer example of preemptive and non-preemptive scheduling?
Consider any system where people use some kind of resources and compete for them. The non-computer examples for preemptive scheduling the traffic on the single lane road if there is emergency or there is an ambulance on the road the other vehicles give path to the vehicles that are in need. The example for preemptive scheduling is people standing in queue for tickets.
-
-
Different types of Real-Time Scheduling?
Hard real-time systems – required to complete a critical task within a guaranteed amount of time.Soft real-time computing – requires that critical processes receive priority over less fortunate ones.
-
Windows Interview Questions
Ans