💻

Operating System MCQs

1K+ questions with answers

951

Which layer lies between the transport layer and data link layer?

a Physical
b Network
c Application
d Session
Medium
View Details →
952

Which of the following is an application layer service?

a Mail service
b File transfer
c Remote access
d All of the mentioned
Medium
View Details →
953

What are design issues in distributed system structure?

a Scalability
b Fault-tolerance
c Clustering
d All of the mentioned
Medium
View Details →
954

In which OSI layer encryption and decryption happens?

a Application
b Presentation
c Transport
d Data Link
Medium
View Details →
955

What are the important steps followed when recovery from failure happens?

a Post repairing integration with main system should happen smoothly and gracefully
b Upon link failure both parties at end must not be notified
c Fault recovery system must me adjusted
d Failures are logged systematically
Medium
View Details →
956

What are the different ways in which clients and servers are dispersed across machines?

a Servers may not run on dedicated machines
b Servers and clients can be on same machines
c Distribution cannot be interposed between a OS and the file system
d OS cannot be distributed with the file system a part of that distribution
Medium
View Details →
957

What are not the characteristics of a DFS?

a login transparency and access transparency
b Files need not contain information about their physical location
c No Multiplicity of users
d No Multiplicity if files
Medium
View Details →
958

What are characteristic of a DFS?

a Fault tolerance
b Scalability
c Heterogeneity of the system
d Upgradation
Medium
View Details →
959

What are the different ways file accesses take place?

a sequential access
b direct access
c indexed sequential access
d all of the mentioned
Medium
View Details →
960

Which is not a major component of a file system?

a Directory service
b Authorization service
c Shadow service
d System service
Medium
View Details →
961

What are the different ways mounting of the file system?

a boot mounting
b auto mounting
c explicit mounting
d all of the mentioned
Medium
View Details →
962

What is networked virtual memory?

a Caching
b Segmentation
c RAM disk
d None of the mentioned
Medium
View Details →
963

What are the examples of state information?

a opened files and their clients
b file descriptors and file handles
c current file position pointers
d all of the mentioned
Medium
View Details →
964

Which is not an example of state information?

a Mounting information
b Description of HDD space
c Session keys
d Lock status
Medium
View Details →
965

What is a stateless file server?

a It keeps tracks of states of different objects
b It maintains internally no state information at all
c It maintains some information in them
d None of the mentioned
Medium
View Details →
966

What are the characteristics of the stateless server?

a Easier to implement
b They are not fault-tolerant upon client or server failures
c They store all information file server
d They are redundant to keep data safe
Medium
View Details →
967

Implementation of a stateless file server must not follow?

a Idempotency requirement
b Encryption of keys
c File locking mechanism
d Cache consistency
Medium
View Details →
968

What are the advantages of file replication?

a Improves availability & performance
b Decreases performance
c They are consistent
d Improves speed
Medium
View Details →
969

What are characteristic of NFS protocol?

a Search for file within directory
b Read a set of directory entries
c Manipulate links and directories
d All of the mentioned
Medium
View Details →
970

What is the coherency of replicated data?

a All replicas are identical at all times
b Replicas are perceived as identical only at some points in time
c Users always read the most recent data in the replicas
d All of the mentioned
Medium
View Details →
971

What are the characteristics of Unix semantics?

a Easy to implement in a single processor system
b Data cached on a per process basis using write through case control
c Write-back enhances access performance
d All of the mentioned
Medium
View Details →
972

What are the characteristics of transaction semantics?

a Suitable for applications that are concerned about coherence of data
b The users of this model are interested in the atomicity property for their transaction
c Easy to implement in a single processor system
d Write-back enhances access performance
Medium
View Details →
973

What are non characteristics of session semantics?

a Each client obtains a working copy from the server
b When file is closed, the modified file is copied to the file server
c The burden of coordinating file sharing is ignored by the system
d Easy to implement in a single processor system
Medium
View Details →
974

The file once created can not be changed is called ___________

a immutable file
b mutex file
c mutable file
d none of the mentioned
Medium
View Details →
975

______ of the distributed file system are dispersed among various machines of distributed system.

a Clients
b Servers
c Storage devices
d All of the mentioned
Medium
View Details →
976

_______ is not possible in distributed file system.

a File replication
b Migration
c Client interface
d Remote access
Medium
View Details →
977

Which one of the following hides the location where in the network the file is stored?

a transparent distributed file system
b hidden distributed file system
c escaped distribution file system
d spy distributed file system
Medium
View Details →
978

In a distributed file system, when a file’s physical storage location changes ___________

a file name need to be changed
b file name need not to be changed
c file’s host name need to be changed
d file’s local name need to be changed
Medium
View Details →
979

In a distributed file system, _______ is mapping between logical and physical objects.

a client interfacing
b naming
c migration
d heterogeneity
Medium
View Details →
980

There is no need to establish and terminate a connection through open and close operation in ___________

a stateless file service
b stateful file service
c both stateless and stateful file service
d none of the mentioned
Medium
View Details →
981

In distributed file system, file name does not reveal the file’s ___________

a local name
b physical storage location
c both local name and physical storage location
d none of the mentioned
Medium
View Details →
982

Which one of the following is a distributed file system?

a andrew file system
b network file system
c novel network
d all of the mentioned
Medium
View Details →
983

What are the characteristics of tightly coupled system? i) Same clock, usually shared memory ii) Communication is via this shared memory iii) Multiprocessors iv) Different clock

a i
b i, ii and ii
c ii and iii
d i, iii and iv
Medium
View Details →
984

What are the characteristics of tightly coupled system? i) Different clock ii) Use communication links iii) Same clock iv) Distributed systems

a i
b i and iv
c i, ii and iii
d ii, iii and iv
Medium
View Details →
985

What are the characteristics of mutual exclusion using centralized approach?

a One processor as coordinator which handles all requests
b It requires request,reply and release per critical section entry
c The method is free from starvation
d All of the mentioned
Medium
View Details →
986

What are the characteristics of fully distributed approach? i) When responses are received from all processes, then process can enter its Critical Section ii) When process exits its critical section, the process sends reply messages to all its deferred requests. iii) It requires request,reply and release per critical section entry iv) One processor as coordinator which handles all requests

a i
b i and ii
c ii and iii
d iii and iv
Medium
View Details →
987

What are the advantages of token(with rings) passing approach? i) One processor as coordinator which handles all requests ii) No starvation if the ring is unidirectional iii) There are many messages passed per section entered if few users want to get in section iv) One processor as coordinator which handles all requests v) Only one message/entry if everyone wants to get in

a i
b ii and iii
c i, ii and iii
d i, ii and iv
Medium
View Details →
988

What things are the transaction coordinator is responsible for?

a Starting the execution of the transaction
b Breaking transaction into a number of subtransactions
c Coordinating the termination of the transaction
d All of the mentioned
Medium
View Details →
989

Which of the following advantages follows the single coordinator approach?

a Simple implementation
b Simple deadlock handling
c bottleneck
d All of the mentioned
Medium
View Details →
990

Which of the following disadvantages follows the single coordinator approach?

a Bottleneck
b Slow response
c Deadlock
d One request per second
Medium
View Details →
991

What are the disadvantages of majority protocol?

a Complicated implementation
b Deadlock cannot occur easily
c Bottleneck
d All of the mentioned
Medium
View Details →
992

What are the parts of a global unique identifier?

a Local unique timestamp
b Remote timestamp
c Clock number
d All of the mentioned
Medium
View Details →
993

Which are the two complementary deadlock-prevention schemes using timestamps?

a The wait-die & wound-wait scheme
b The wait-n-watch scheme
c The wound-wait scheme
d The wait-wound & wound-wait scheme
Medium
View Details →
994

In distributed systems, a logical clock is associated with ______________

a each instruction
b each process
c each register
d none of the mentioned
Medium
View Details →
995

If timestamps of two events are same, then the events are ____________

a concurrent
b non-concurrent
c monotonic
d non-monotonic
Medium
View Details →
996

If a process is executing in its critical section ____________

a any other process can also execute in its critical section
b no other process can execute in its critical section
c one more process can execute in its critical section
d none of the mentioned
Medium
View Details →
997

A process can enter into its critical section ____________

a anytime
b when it receives a reply message from its parent process
c when it receives a reply message from all other processes in the system
d none of the mentioned
Medium
View Details →
998

For proper synchronization in distributed systems ____________

a prevention from the deadlock is must
b prevention from the starvation is must
c prevention from the deadlock & starvation is must
d none of the mentioned
Medium
View Details →
999

In the token passing approach of distributed systems, processes are organized in a ring structure ____________

a logically
b physically
c both logically and physically
d none of the mentioned
Medium
View Details →
1000

In case of failure, a new transaction coordinator can be elected by ____________

a bully algorithm
b ring algorithm
c both bully and ring algorithm
d none of the mentioned
Medium
View Details →