Correct Answer: A real time process is a process that must respond to the eventswithin a certain time period A real time operating system is an operating system that can run realtime processes successfully
2. What are the various components of a computer system?
Correct Answer: System calls provide the interface between a process and the operating system System calls for modern Microsoft windows platforms are part of the win32 API, which is available for all the compilers written for Microsoft windows
Correct Answer: Java is one of the small number of languages that support at the language level for the creation and management of threads However, because threads are managed by the java virtual machine (JVM), not by a user-level library or kernel, it is difficult to classify Java threads as either user- or kernel-level
Correct Answer: Deadlock is a situation where a group of processes are all blocked and none of them can become unblocked until one of the other becomes unblocked The simplest deadlock is two processes each of which is waiting for a message from the other
Correct Answer: 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
Correct Answer: In order to protect the operating systems and the system programs from the malfunctioning programs the two mode operations were evolved System mode User mode