NEW
Font size
WorksheetsOS 1
Total questions: 15
Worksheet time: 13mins
In UNIX, each process is identified by its:
Process Control Block
Device Queue
Process Identifier
None of the mentioned
The child process can:
Can't have another program loaded on to it
Be a duplicate of parent process
Never be a duplicate of parent process
Never have another program loaded on to it
A parent process calling _________ system call will be suspended until children processes terminate.
Exit
Exec
Fork
Wait
In UNIX, the return value for the fork system call is _____ for the child process & ______ for the parent process.
-ve , 0
0 , -ve
0 , +ve
+ve , 0
In operating system, each process has its own
Address space, variables
Open files
Program counter
All of the above
In UNIX, which system call creates the new process?
Create
New
Fork
Exec
The address of the next instuction to be executed is provided by
CPU registers
Program Counter
Pipe
Process stack
What is the ready state of a process?
When the process is using CPU
When process is unable to run
Process is ready to run, waiting for processor
When the process created
A process terminates when it finishes executing its final statement and ask the operating system to delete it using __________system call.
Wait ()
Fork ()
Exit ()
Exec ()
The number of processes completed per unit time is known as______________
Efficiency
Output
Throughput
Data
The state of a process is defined by
The final activity of the process
The activity just executed by the process
The activity next to be executed by the process
The current activity of the process
Which of the following is not the state of a process?
New
Old
Waiting
Running
The objective of multiprogramming is to
Have some process running at all time
To minimize cpu utilization
Have multiple programs waiting in a queue ready to run
All of the above
Predict the output of following
Print 5 time Hello!
Print 16 time Hello!
Print 12 time Hello!
Print 8 time Hello!
Find out finish time of process P1 using SRTF scheduling.
16 sec
15 sec
20 sec
18 sec
