Operating System MCQs

1019 MCQs  (Page 100 of 102)

If one thread opens a file with read privileges then ___________
A. Other threads in the another process can also read from that file
B. Other threads in the same process can also read from that file
C. Any other thread can not read from that file
D. All of the mentioned
The time required to create a new thread in an existing process is ___________
A. Greater than the time required to create a new process
B. Less than the time required to create a new process
C. Equal to the time required to create a new process
D. None of the mentioned
When the event for which a thread is blocked occurs?
A. Thread moves to the ready queue
B. Thread remains blocked
C. Thread completes
D. A new thread is provided
The jacketing technique is used to ___________
A. Convert a blocking system call into non blocking system call
B. Create a new thread
C. Communicate between threads
D. Terminate a thread
Termination of the process terminates ___________
A. First thread of the process
B. First two threads of the process
C. All threads within the process
D. No thread within the process
Thread synchronization is required because ___________
A. All threads of a process share the same address space
B. All threads of a process share the same global variables
C. All threads of a process can share the same files
D. All of the mentioned
Reliability of files can be increased by _____________
A. Keeping the files safely in the memory
B. Making a different partition for the files
C. By keeping them in external storage
D. By keeping duplicate copies of the file
Protection is only provided at the _____ level.
A. Lower
B. Central
C. Higher
D. None of the mentioned