ANSWERS
The SELECT function allows the servers to deal with blocking calls by identifying sockets that are
ready for use - ANS True
In a single processor system, all the threads execute in interleaved fashion(=though in no
particular order) sharing the CPU - ANS True
System calls or library routines are called thread safe if they can be called from multiple threads
simultaneously and always produce correct results - ANS True
Each process has its own ready queue - ANS False
Datagram sockets do not require the client to establish a connection with the server before
sending messages to the server - ANS False
preemptive scheduling algorithms may results in starvation - ANS True
The degree of multi program is controller by the CPU scheduler - ANS False
When the PTHREAD_EXIT system call is issued by a thread, all threads associated with that
process are terminated - ANS False
A child process created by the FORK system call inherits its parent's process id - ANS False
1 @COPYRIGHT THEBRIGHT 2025/2026
, condition variable allows a thread to block itself until specified data reaches a redefined state -
ANS True
A thread will block if the semaphore value is less than or equal to zero when a SEM_WAIT is
issued - ANS True
As the time slice becomes shorter, the more the RR scheduler behaves like the FIFO scheduler -
ANS False
The privilege mode must be changed to "kernel mode" when doing a system call - ANS True
One of the guarantees offered by the PIPE IPC system call is that__________ - ANS All writes
up to 4K bytes to the pipe are atomic
turnaround time refers to the amount of time___________ - ANS Needed to executes a
particular process
_______ refers to a situation in which a process is ready to execute, but is continuously denied
access to a processor in deference to other processes - ANS Starvation
Consider the following code
Int main()
{
If (fork() > 0)
Sleep(100);
Return 0;
2 @COPYRIGHT THEBRIGHT 2025/2026