NEW
Font size
WorksheetsQuiz-1
Total questions: 25
Worksheet time: 1hrs 8mins
In Unix, Which system call creates the new process?
fork
create
exec
new
Most Operating Systems identify processes according to a unique________________.
program counter
process state
process number
process identifier
When a process creates a new process, two possibilities for execution exist:
1) The Parent continues to executes concurrently with its Children.
2) The Parent stop to execute concurrently with its Children
3) The Parent wait until some or all of its Children get terminated.
4) The Parent don't wait until some or all of its Children get terminated.
1 & 2
2 & 3
2 & 4
1& 3
Identify loosely couples system?
Distributed System
Real Time System
Personal Computer
Parallel System
An IPC facility provides at least two operations :
write & delete message
delete & receive message
send & delete message
receive & send message
In the non blocking send :
the sending process keeps sending until the message is received
the sending process sends the message and resumes operation
the sending process keeps sending until it receives a message
none of the mentioned
The processes that are residing in main memory and are ready and waiting to execute are kept on a list called
job queue
ready queue
execution queue
process queue
The interval from the time of submission of a process to the time of completion is termed as
waiting time
turnaround time
response time
throughput
In priority scheduling algorithm
CPU is allocated to the process with highest priority
CPU is allocated to the process with lowest priority
Equal priority processes can not be scheduled
None of the mentioned
Which one of the following can not be scheduled by the kernel?
kernel level thread
user level thread
process
none of the mentioned
Find out the Completion Time (Finish Time) of process P1 using SRTF Scheduling?
21
10
22
14
Find out the Completion Time of process P3 using Round Robin scheduling by taking Time Quantum 2 sec.
8
6
7
9
The process is swapped out of memory and later swapped in to memory by the __________________.
Short-term scheduler
Medium-term scheduler
Long-term scheduler
Job scheduler
Switching CPU to another process requires the state save of the current process and a state restore of different process. This task is known as _____________________.
Swapping
Context Switch
Program Counter
None of these
Termination of all Child Processes before the Parent Terminates is called ___________.
Cascading Termination
Abnormal Termination
Process Cancellation
None of these
The address of the next instruction to be executed by the current process is provided by the ______________________.
CPU registers
Program counter
Process stack
Pipe
What is a short-term scheduler ?
It selects which process has to be brought into the ready queue
It selects which process has to be executed next and allocates CPU
It selects which process to remove from memory by swapping
None of the mentioned
Find out Completion Time of process P1 using Preemptive Priority scheduling. Consider the highest number as high priority.
11
12
5
13
Which process can be affected by other processes executing in the system?
child process
parent process
cooperating process
Independent process
Message passing system allows processes to :
communicate with one another without resorting to shared data
communicate with one another by resorting to shared data
share data
name the recipient or sender of the message
An IPC facility provides at least two operations :
write & delete message
delete & receive message
send & delete message
receive & send message
In UNIX, the return value for the fork system call is _____ for the parent process.
Zero
A Negative integer
A nonzero integer
none of these
With _____________ only one process can execute at a time; meanwhile all other process are waiting for the processor. With ______________ more than one process can be running simultaneously each on a different processor.
Multiprocessing, Multiprogramming
Multiprogramming, Uniprocessing
Multiprogramming, Multiprocessing
Uniprogramming, Multiprocessing
The link between two processes P and Q to send and receive messages is called :
communication link
message-passing link
synchronization link
all of the mentioned
Messages sent by a process :
have to be of a fixed size
have to be a variable size
can be fixed or variable sized
None of the mentioned
