Correct Answer: Hardware device that maps virtual to physical address In MMU scheme, the value in the relocation register is added to every address generated by a user process at the time it is sent to memory ->The user program deals with logical addresses; it never sees the real physical addresses
Correct Answer: Hard disk is the secondary storage device, which holds the data in bulk, and it holds the data on the magnetic medium of the diskHard disks have a hard platter that holds the magnetic medium, the magnetic medium can be easily erased and rewritten, and a typical desktop machine will have a hard disk with a capacity of between 10 and 40 gigabytes Data is stored onto the disk in the form of files
Correct Answer: Dispatcher module gives control of the CPU to the process selected by the short-term scheduler; this involves: Switching context, Switching to user mode, Jumping 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
Correct Answer: 1 Mutual exclusion (where at least one resource is non-sharable) 2 Hold and wait (where a process holds one resource and waits for other resource) 3 No preemption (where the resources can?t be preempted) 4 Circular wait (where p[i] is waiting for p[j] to release a resource i= 1,2,?n j=if (i!=n) then i+1 else 1 )
5. Differentiate between Complier and Interpreter?
Correct Answer: An interpreter reads one instruction at a time and carries out the actions implied by that instruction It does not perform any translation But a compiler translates the entire instructions
6. Explain the concept of the Distributed systems?
Correct Answer: Mutex is the short form for ?Mutual Exclusion object? A mutex allows multiple threads for sharing the same resource The resource can be file A mutex with a unique name is created at the time of starting a program A mutex must be locked from other threads, when any thread that needs the resource When the data is no longer used / needed, the mutex is set to unlock
Correct Answer: Daemon is a program that runs in the background without user?s interaction A daemon runs in a multitasking operating system like UNIX A daemon is initiated and controlled by special programs known as ?processes?
9. What is pre-emptive and non-preemptive scheduling?
Correct Answer: Preemptive scheduling: The preemptive scheduling is prioritized The highest priority process should always be the process that is currently utilized Non-Preemptive scheduling: When a process enters the state of running, the state of that process is not deleted from the scheduler until it finishes its service time
10. Which among the following are not the children of Swapper or Scheduler?