Monday, December 10, 2012

Advanced Operating System - Part 2

Multiple choice questions and answers
Hope the answers(bold) are correct. If any of the answer is wrong, please comment. I will check and update.

26. Conditions for deadlock
a. Exclusive use
b. Hold and wait
c. No preemption
d. Cyclical wait
e. All of the above

27. In Lamport’s system of logical clocks, if a -> b then C(a) < C(b), a and b are events
a. The reverse is also true if the events have occurred in different processes
b. The reverse is not necessarily true if the events have occurred in different processes
c. Event a and b never be casually related
d. None of the above

28. The known agreement problems in distributed systems
a. Byzantine agreement problem
b. Consensus problem
c. Interactive consistency problem
d. All of the above

29. Which is the service present in a DFS
a. Name server
b. DFS network server
c. a and b
d. None of the above

30. Lamport timestamps
a. Used to determine the order of events in a distributed computer system
b. Used to determine the order of resource in a distributed computer system
c. Used to determine the order of deadlock in a distributed computer system
d. None of the above

31. Result objects
a. Are written once during initialization, but only read afterwards
b. Are accessed by single thread even though they are accessible to all the threads of a process
c. Are frequently modified by multiple threads between synchronization points
d. Are restricted subset of write many objects

32. Read operations provided in the Berkeley protocol is
a. Read shared
b. Read for ownership
c. a and b
d. None of the above

33. A pause failure is a type of system failure
a. True
b. False

34. Which is not the type of system failure
a. Amnesia failure
b. Pause failure
c. Halting failure
d. Process failure

35. A secondary storage failure occurs when the stored data cannot be accessed
a. True
b. False

36. The object contains valid data and is unique. The object can be updated locally. Upon request, object must be shared with other nodes.
a. Invalid object
b. Unowned object
c. Owned exclusively
d. Owned non exclusively

37. Load distributing requirements are
a. Preemption
b. Determinism
c. Scalability
d. All of the above

38. _________ failure occurs when a system restarts in the same state it was in before the failure
a. Halting
b. Amnesia
c. Pause
d. Partial amnesia

39. Bus failure is a type of
a. Process failure
b. Secondary storage
c. System failure
d. Communication medium failure

40. Secondary storage failure
a. Is occurred when the stored data cannot be accessed.
b. Occurs when a tire cannot communicate with another operational site in the network
c. When the processor fails to execute
d. None of the above

41. Private objects
a. Are written once during initialization, but only read afterwards
b. Are accessed by single thread even though they are accessible to all the threads of a process
c. Are frequently modified by multiple threads between synchronization points
d. Are restricted subset of write many objects

42. The __________ is targeted towards a workstation oriented environment and its selection policy is primarily manual
a. V system
b. Sprite system
c. Condor System
d. None of the above

43. Which is a failure mode operating characteristic of system failure
a. The system stop executing
b. The system work as it is
c. Content of volatile storage to the system are lost
d. a and c

44. In load distributing algorithm the policy which determines whether a node is in a suitable state to participate in a task transfer is called
a. Selection policy
b. Location policy
c. Transfer policy
d. Information policy

45. Which is component of load distributing algorithm
a. Selection policy
b. Location policy
c. Transfer policy
d. All of the above

46. Which are example of error causing process failure
a. Deadlock
b. Timeouts
c. Protection violation
d. None of the above
All of the above

47. A halting failure occurs when a crashed system restarts
a. True
b. False

48. Process failure
a. Is occurred when the stored data cannot be accessed
b. Occurs when a tire cannot communicate with another operational site in the network
c. When the processor fails to execute
d. None of the above

49. A method used for finding suitable node in location policy is polling
a. True
b. False

50. General consistency
a. If the result of any execution of the operations of all processors is the same as if they were executed in a sequential order
b. If all the copies of a memory location eventually contain the same data when all the writes issued by every processor have completed
c. Writes issued by a processor are observed in the same order in which they were issued
d. None of the above.

1 comment:

Unknown said...

Hi,

Thank you for sharing the valuable information, may i know your email id to communicate further.

Thanks a lot.

Regards.
Gaurav Singh
Sr. System Analyst