wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Distributed Computing Assignment-1

Total questions: 25

Worksheet time: 8mins

Name
Class
Date
1.

A distributed system is best described as:

a)

A single computer performing multiple tasks

b)

A collection of independent computers appearing as a single system to users

c)

A system with only one central server

d)

A system without networking

2.

Which of these is an example of a distributed system?

a)

Personal laptop

b)

ATM network of a bank

c)

Calculator

d)

Standalone mobile app

3.

Which component is essential in every distributed system?

a)

Centralized memory

b)

Network for inter-process communication

c)

Single processor

d)

Local file system only

4.

Which of the following is a key motivation for distributed systems?

a)

Faster single-core performance

b)

Resource sharing, scalability, and fault tolerance

c)

Reducing the number of computers in an organization

d)

Simplifying single-threaded applications

5.

Which component is optional in a distributed system?

a)

Processors

b)

Communication software

c)

Shared memory

d)

Network

6.

In message-passing systems, processes communicate using

a)

Shared variables

b)

Messages sent over a network

c)

Only local memory

d)

File-based synchronization

7.

Shared memory systems are preferred when:

a)

Nodes are geographically distant

b)

High-speed local communication is needed

c)

Fault tolerance is the main concern

d)

Processes do not synchronize

8.

Which of the following is a limitation of shared memory in distributed systems?

a)

A. Complexity in maintaining consistency

b)

B. Simple message delivery

c)

C. Independent process execution

d)

D. Scalability across networks

9.

Common primitives in distributed communication include:

a)

Send and Receive

b)

Fork and Join

c)

Compile and Execute

d)

Read and Write on local memory only

10.

A blocking send primitive means:

a)

Sender continues immediately

b)

Sender waits until the message is received

c)

Receiver discards the message

d)

Message is lost

11.

In synchronous execution:

a)

Sender waits for acknowledgment

b)

Sender proceeds immediately

c)

Messages are unordered

d)

Execution is random

12.

An advantage of asynchronous execution is:

a)

Immediate message delivery

b)

Better resource utilization

c)

Simpler programming

d)

Eliminates need for synchronization

13.

Which is NOT a typical design issue in distributed systems?

a)

Fault tolerance

b)

Security

c)

Centralized processing

d)

Synchronization

14.

Ensuring all nodes have the same view of data is called:

a)

Scalability

b)

Consistency

c)

Redundancy

d)

Scheduling

15.

Handling partial failures in distributed systems is an example of:

a)

Synchronization

b)

Fault tolerance

c)

Process scheduling

d)

Memory management

16.

The global state of a distributed system refers to:

a)

State of a single process

b)

Combined state of all processes and communication channels

c)

Memory of the operating system only

d)

Network topology

17.

A distributed program is composed of:

a)

One process on a single node

b)

Multiple processes running on different nodes

c)

Only shared memory operations

d)

Only message queues

18.

Which model is used to represent distributed executions?

a)

Single-threaded execution model

b)

Event-based model capturing order of events

c)

CPU scheduling model

d)

File system model

19.

In FIFO ordering, messages are delivered:

a)

In the order they were sent by each sender

b)

To all recipients simultaneously

c)

In random order

d)

Alphabetically

20.

Total order delivery ensures:

a)

All messages are delivered to all recipients in the same order

b)

Only local processes receive messages

c)

Messages are never lost

d)

Execution is synchronous

21.

Causal ordering ensures:

a)

Execution is single-threaded

b)

Messages arrive instantaneously

c)

Delivery is unordered

d)

Messages respect cause-effect relationships

22.

Which problem is specifically addressed by capturing the global state of a distributed system?

a)

Memory management

b)

Debugging and checkpointing

c)

CPU scheduling

d)

Network routing

23.

Which of the following is true for Non-FIFO ordering?

a)

Messages may be delivered out of order

b)

Messages are guaranteed to arrive in order

c)

Messages cannot be lost

d)

Messages arrive simultaneously at all receivers

24.

In Causal ordering, delivery must respect:

a)

Alphabetical order of message IDs

b)

The cause-effect relationship among messages

c)

Only the order of timestamps

d)

Random scheduling

25.

Example: Process P1 sends m1, then based on m1, P2 sends m2. In causal order, receivers must deliver:

a)

m2 before m1

b)

m1 before m2

c)

Both together

d)

In any order