Time Left - 15:00 mins

GATE 2022: Operating System Quiz-4

Attempt now to get your rank among 298 students!

Question 1

Consider the following statement given below:
S1: Inter process communication and sharing is easier between processes than threads.
S2: There is no protection between threads of same process.
Which of the above statements are incorrect?

Question 2

Consider the following statements with respect to inter process communication:
S1 : Message passing is useful for exchanging smaller amount of data.
S2 : Message passing require kernel support
S3 : Shared memory is faster than message passing mechanisms.
S4 : Shared memory are implemented with the help of system calls and continuous requires system call support for exchanging data.
Which of the statements are NOT TRUE?

Question 3

In indirect communication between Processes P and Q what do the two process have in common or what do they share

Question 4

Consider the following two concurrent processes with a shared memory variable x. Assume x is initialized to 10

The maximum possible value of x when both processes have completed __________.

Question 5

Consider the following statements
1) System calls are needed to set up shared memory between two processes.
2) A privileged instruction is needed to change the mode from privileged to non-privileged mode.
3) An ISR is invoked on completion of I/O in asynchronous I/O but not in synchronous I/O.
4) The return code for the fork system call is zero for the new process, whereas the non-zero process identifier of the child is returned to the parent.
Which of the above statements are correct?

Question 6

Which of the following are TRUE for direct communication?
  • 298 attempts
  • 3 upvotes
  • 1 comment
Sep 2GATE & PSU CS