Professional Documents
Culture Documents
Os 1
Os 1
CrackIT
Operating system
In operating system, each process has its own __________
a) fork
b) create
c) new
d) none of the mentioned
Fork system call is used for creating a new process, which is called
child process, which runs concurrently with the process that makes
the fork() call (parent process).
Multi threading – A thread is a basic unit of CPU utilization. Multi threading is an execution
model that allows a single process to have multiple code segments (i.e., threads) running
concurrently within the “context” of that process. e.g. VLC media player, where one thread is
used for opening the VLC media player, one thread for playing a particular song and another
thread for adding new songs to the playlist. Benefits of Multi threading include increased
responsiveness
Read-Only Memory (ROM)
a) wait
b) exit
c) fork
d) get
Caching – A cache is a region of fast memory that holds a copy of data.
Spooling and Device Reservation – A spool is a buffer that holds the output
of a device, such as a printer that cannot accept interleaved data streams.
Which of the following do not belong to queues for processes?
a) Job Queue
b) PCB queue
c) Device Queue
d) Ready Queue
In a time-sharing operating system, when the time slot given to a process is
completed, the process goes from the running state to the __________
a) Blocked state
b) Ready state
c) Suspended state
d) Terminated state
a) dynamic condition
b) race condition
c) essential condition
d) critical condition
A race condition occurs when two threads access a shared variable at the same
time. The first thread reads the variable, and the second thread reads the same
value from the variable.
Q. If a process is executing in its critical section, then no other processes
can be executing in their critical section. What is this condition called?
a) mutual exclusion
b) critical exclusion
c) synchronous exclusion
d) asynchronous exclusion
a) priority inversion
b) priority removal
c) priority exchange
d) priority modification
When a high priority task is indirectly preempted by a medium priority task effectively
inverting the relative priority of the two tasks, the scenario is called priority inversion.
What is privileged and non-privileged instructions?
The Instructions that can run only in Kernel Mode are called
Privileged Instructions . Privileged Instructions possess the following
characteristics : (i) If any attempt is made to execute a Privileged
Instruction in User Mode, then it will not be executed and treated as
an illegal instruction. The Hardware traps it to the Operating System.
Translation Look-aside Buffer (TLB) need not necessarily be saved on a context switch between processes.
There are two processes: Producer and Consumer. The producer produces some items
and the Consumer consumes that item. The two processes share a common space or
memory location known as a buffer where the item produced by the Producer is stored
and from which the Consumer consumes the item if needed.
What is stub?
a) transmits the message to the server where the server side stub receives the message and
invokes procedure on the server side
b) packs the parameters into a form transmittable over the network
c) locates the port on the server
d) all of the mentioned
A stub is a small program routine that substitutes for a longer program, possibly to be
loaded later or that is located remotely.
What is the full form of RMI?