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