wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CS8603- DS IAT2 MCQ

Total questions: 74

Worksheet time: 46mins

Name
Class
Date
1.

Two events are called Concurrent, if

a)

Time stamps are not equal

b)

Time stamp are Equal

c)

Time stamp are related

d)

None of above

2.

1. When single failure can cause an infinite number of failure, it is

a)

Orphan message

b)

Domino Effect

c)

Livelock

d)

None of these

3.

Restore processes to previous error-free state is known as

a)

Backward Recovery

b)

Forward Recovery

c)

Both A and B

d)

None of these

4.

When stored data cannot be access, it is known as

a)

Communication failure

b)

Secondary storage failure

c)

System Failure

d)

Process failure

5.

A server halts, but is working correctly until it halts.

a)

Crash Failure

b)

Omission Failure

c)

Timing Failure

d)

Response Failure

6.

Fault may be of

a)

Transient Fault

b)

Intermittent Fault

c)

Permanent Fault

d)

All of these

7.

perform operation and, if needs be, perform it again is

a)

Time redundancy

b)

Redundancy

c)

Information Redundancy

d)

None of these

8.

identify the characteristics of processor in distributed system.

a)

They vary in size and function

b)

They are same in size and function

c)

They are manufactured with single purpose

d)

They are real-time devices

9.

Specify the routing technique is used in distributed system.

a)

fixed routing

b)

virtual routing

c)

dynamic routing

d)

all of the mentioned

10.
When a distributed system hides the presence of multiple copies of a resource, which of the following types of transparency is it providing?
a)
Location transparency
b)
Mobility transparency
c)
Access transparency
d)
Replication transparency
11.

When a distributed system is able to hide that a printer is being used concurrently by several users, what type of transparency does it provide?

a)

Location transparency

b)

Access transparency

c)

Concurrency transparency

d)

Replication transparency

12.

Two events are called Casually Related, if

a)

Time stamps are not equal

b)

Time stamp are equal

c)

Time stamp are related

d)

None of the Above

13.

Number of message required in Suzuki Kasami algorithm is

a)

3(N-1)

b)

2(N-1)

c)

0 or N

d)

0 or (N-1)

14.

Number of message required in Ricart Agrawala Algorithm is?

a)

3(N-1)

b)

2(N-1)

c)

3vN

d)

N

15.

The ____________________may arise when a process rolls back to its checkpoint after a failure and requests all the other affected processes also to roll back

a)

Rollback

b)

Phantom Effect

c)

Domino Effect

d)

Livelock problem

16.

Point out the wrong statement.

a)

Abstraction enables the key benefit of cloud computing: shared, ubiquitous access

b)

Virtualization assigns a logical name for a physical resource and then provides a pointer to that physical resource when a request is made

c)

All cloud computing applications combine their resources into pools that can be assigned on demand to users

d)

All of the mentioned

17.

In Suzuki Kasmi, When site Si receives a REQUEST(j, n) message, it sets

a)

RNi [j]:= max(RNi [j], n)

b)

RNi [j]:= Min(RNi [j], n)

c)

RNi [j]:= Avg(RNi [j], n)

d)

None of these

18.

The response time is equivalent to

a)

Synchronization Delay + response time

b)

2(Synchronization delay) + Response time

c)

Synchronization delay+ response time/2

d)

None of these

19.

A ---------- message from site Si to site Sj indicates that Si cannot grant Sj ’s request because it has currently granted permission to a site with a higher priority request

a)

Failed

b)

Yield

c)

Enquire

d)

Require

20.

Which of the following is not the approach of deadlock detection

a)

Centralized approach

b)

Distributed approach

c)

Token based approach

d)

Hierarchical approach

21.

The time to execute each step of a process has known upper and lower bounds

a)

Asynchronous

b)

synchronous

c)

Late Response

d)

None of these

22.

1. In the above diagram what we conclude about e11 and e21

a)

e11 || e21

b)

e11=e21

c)

e11≠ e21

d)

None of these

23.

In the diagram conclude about e22 and e13

a)

e13-->e22

b)

e22-->e13

c)

e13=e22

d)

e13≠ e22

24.

25: Utilization rate of resources in an execution model is known to be its

a)

A. Adaptation

b)

B. Efficiency

c)

C. Dependability

d)

D. Flexibility

25.

A server fails to respond to incoming requests

a)

Crash Failure

b)

Omission Failure

c)

Timing Failure

d)

Response Failure

26.

Machines from different subnets cannot communicate

a)

Process Failure

b)

Machine Failure

c)

Network Failure

d)

None of these

27.

bringing back the failed node in step with other nodes in the system is called

a)

Recovery

b)

Fault Tolerance

c)

Masking Failure

d)

None of these

28.

Domino effect is the cause of

a)

Orphan Message

b)

Livelock

c)

Lost message

d)

failed message

29.

2.The capability of a system to adapt the increased service load is called __________

a)

a) scalability

b)

b) tolerance

c)

c) capacity

d)

d) none of the mentioned

30.

3. If one site fails in distributed system then ___________

a)

a) the remaining sites can continue operating

b)

b) all the sites will stop working

c)

c) directly connected sites will stop working

d)

d) none of the mentioned

31.

4.Distributed systems should?

a)

(A) high security

b)

(B) have better resource sharing

c)

(C) better system utilization

d)

(D) low system overhead

32.

5.The characteristics of a distributed system are :

a)

(A) Resource sharing, heterogeneity, openness, security

b)

(B) Scalability, fault handling

c)

(C) Concurrency, transparency

d)

(D) ALL are acceptable answers

33.

6.What are design issues in distributed system structure ?

a)

(A) Scalability

b)

(B) Fault-tolerance

c)

(C) Flexibility

d)

(D) All of the mentioned

34.

7.All the resources are shared and integrated within one OS, in the computing paradigm named _________

a)

(A) Distributed computing

b)

(B) Centralized computing

c)

(C) Cloud computing

d)

(D) Parallel computing

35.

8.set of highly integrated machines that run the same process in parallel is known to be ___________

a)

(A) Space based

b)

(B) Loosely coupled

c)

(C) Tightly coupled

d)

(D) Peer-to-Peer

36.

9.Which amongst the following is not an advantage of Distributed systems?

a)

(A) Resource sharing

b)

(B) Incremental growth

c)

(C) Reliability

d)

(D) None of the above

37.

13.Which of the following approaches are used to achieve reliable systems?

a)

a) Fault prevention

b)

b) Fault removal

c)

c) Fault tolerance

d)

d) All of the mentioned

38.

18.Which routing technique is used in a distributed system?

a)

a) fixed routing

b)

b) virtual routing

c)

c) dynamic routing

d)

d) all of the mentioned

39.

20.Processes on the remote systems are identified by ___________

a)

a) host ID

b)

b) host name and identifier

c)

c) identifier

d)

d) process ID

40.

The file once created can not be changed is called

a)

immutable file

b)

mutex file

c)

mutable file

d)

none of the mentioned

41.

In distributed systems, link and site failure is detected by

a)

polling

b)

handshaking

c)

token passing

d)

Message passing

42.

1. How does the hardware or software components located at networked computers communicate and coordinate their actions in a distributed system?

a)

Using a global clock

b)

Passing messages

43.

--------------- is a software layer that provides a programming abstraction as well as masking the heterogeneity of the underlying networks, hardware, operating systems and programming languages

(a)  

44.

The main motivation for constructing distributed systems is -------------

(a)  

45.
What are the two usage models of networks?
a)
Client-Server and Router-Client
b)

TCP and IP

c)
Client-Server and Peer-to-Peer
46.

Choose process states

a)

running

b)

ready to run

c)

blocked

d)

stacked

47.

What is the graph used for deadlock identification

a)

resource allocation graph

b)

process allocation graph

c)

thread allocation graph

d)

instance allocation graph

48.

Which of the following condition is required for deadlock to be possible?

a)

mutual exclusion

b)

a process may hold allocated resources while awaiting assignment of other resources

c)

no resource can be forcibly removed from a process holding it

d)

all of the mentioned

49.

If any of the process is waiting for a long time then it is called as

a)

Deadlock

b)

semaphore

c)

starvation

d)

None

50.

Only one thread at a time can use a resource

a)

mutual exclusion

b)

hold and wait

c)

no preemption

d)

CIRCULAR WAIT

51.

A set of process or thread waits for a resource which is held by another waiting process is called

a)

Deadlock

b)

starvation

c)

synchronization

d)

concurrency

52.

Thread holding at least one resource is waiting to acquire additional resources held by other threads are called as

a)

hold and wait

b)

no preemption

c)

circular wait

d)

mutual exclusion

53.

The process of restoring the database to the consistent state that existed before the failure called ...

a)

Rollback

b)

Commit

c)

Transaction

d)

Recovery

54.

Transaction cannot complete due to some internal error condition, is the explanation of ...

a)

System crash

b)

Logical errors

c)

Systems errors

d)

Disk failure

55.

The process of assigning the value of data item X to the local variable xi is ...

a)

read (X)

b)

write (X)

c)

input (X)

d)

output (X)

56.

The process of assigning the value of local variable xi to data item {X} in the buffer block is ...

a)

read (X)

b)

write (X)

c)

input (X)

d)

output (X)

57.

Log based recovery mechanism that allows updates of an uncommitted transaction to be made to the buffer, or the disk itself, before the transaction commits is ...

a)

Concurrent database modification

b)

Deferred database modification

c)

Immediate database modification

d)

Bulk database modification

58.

Technique that can be used to reduce the overhead of searching the log and redoing transactions is ...

a)

checkpointing techniques

b)

concurrent techniques

c)

flashback techniques

d)

save point techniques

59.

What is Mutual Exclusion?

a)

Only one process is

allowed to execute the critical section (CS) at any given time

b)

More than two process is

allowed to execute the critical section (CS) at any given time

c)

All the process can access the shared resources at given time

d)

None of the above

60.

................ is the sole means for implementing

distributed mutual exclusion?

a)

Shared data variables

b)

Control variables

c)

Message Passing

d)

Direct Communication

61.

............... is one of the basic approaches for

implementing distributed mutual exclusion?

a)

Synchronozation Approach

b)

Quorum-based approach

c)

Casual Order

d)

All of the Above

62.

how can measure the system throughput of mutual exclusion algorithm?

a)

Synchronization Delay+Average CS Excution time

b)

1/(Synchronization Delay+Average CS Excution time)

c)

N(N+1)

d)

None of the above

63.

Lamport’s algorithm requires ................. messages per CS invocation?

a)

O(N) messages

b)

M x N no of REQUEST messages

c)

N no of REQUEST messages

d)

3(N-1)

64.

Request Deffered array RD[N] used in which mutual exclusion algorithm?

a)

Lamport's Algorithm

b)

Ricart–Agrawala Algorithm

c)

Maekawa’s algorithm

d)

Suzuki–Kasami’s algorithm

65.

Ricart–Agrawala algorithm requires ................. messages per CS Execution?

a)

2(N-1) messages

b)

(N − 1) messages

c)

3(N - 1) messages

d)

None of the above

66.

when a site Si receives a REQUEST(j, n) message, the request is outdated if...........?

a)

RNi[j] > n.

b)

RNi[j] = n.

c)

Both A and B

d)

None of the above

67.

What is Deadlock?

a)

A set of processes request resources that are held

by other processes in the set.

b)

only one process is allowed to execute

c)

Determines the messaging behavior that can be expected by the distributed program

d)

All of the above

68.

Deadlocks can be dealt with using any one of the following three strategies?

a)

Mutual Exclusion, Synchronization, and Casual Order

b)

Deadlock prevention, deadlock avoidance, and deadlock detection

c)

Ready State, Running State, and Blocked State

d)

None of the above

69.

The state of the system can be modeled by directed

graph is called ..........

a)

acyclic graph

b)

cyclic graph

c)

undirectional graph

d)

wait-for graph (WFG)

70.

A process can request more than one resource simultaneously and the request is satisfied only after all the requested resources are granted to the process.It's called ......... Model

a)

AND Model

b)

OR Model

c)

AND-OR Model

d)

All of the above

71.

A process can make a request for numerous resources

simultaneously and the request is satisfied if any one of the requested resources is granted. It's is called ........ Model

a)

AND Model

b)

OR model

c)

AND - OR Model

d)

None of the above

72.

Periodically saving the state of a process during the failure-free execution. The saved state is called ........

a)

Rollback Recovery

b)

Fault tolerance

c)

Both A and B

d)

Checkpoint

73.

The procedure of restarting from a previously checkpointed state is called..........

a)

Checkpoint

b)

Rollback recovery

c)

Deadlock Detection

d)

Both Checkpoint and Rollback Recovery

74.

What is Orphan messages?

a)

Messages with receive recorded but message send not recorded

b)

Both Message receive and message send recorded

c)

Both Message receive and message send are not recorded

d)

None of the above