Operating system interview questions

31.What is Synchronization ?
Process Synchronization is the task of coordinating the execution of processes in a way that no two processes can have access to the same. Synchronization refers to one of two distinct but related concepts: synchronization of processes, and synchronization of data. Process synchronization refers to the idea that multiple processes are to join up or handshake at a certain point, in order to reach an agreement or commit to a certain sequence of action. Data synchronization refers to the idea of keeping multiple copies of a dataset in coherence with one another, or to maintain data integrity. Process synchronization primitives are commonly used to implement data synchronization.

32. What is Time Slice ?
Time slice is the period of time for which a process is allowed to run uninterrupted in a preemptive multitasking operating system. The operating system scheduler is run once every time slice to choose the next process that needs to be run.

33. What is a distributed system ?
A distributed system is a system whose components are located on different networked computers, which communicate and coordinate their actions by passing messages to one another. The components interact with one another in order to achieve a common goal. Three significant characteristics of distributed systems are: concurrency of components, lack of a global clock, and independent failure of components.

Author: user

Leave a Reply