Chapter 1
Chapter 1
Distributed Systems
1. Multiple Choice Questions (MCQs)
✅ Answer:
✅ Answer:
✅ Answer:
Q8: Explain User-Level Threads vs. Kernel-Level Threads with their pros and cons.
✅ Answer:
✅ Answer:
✅ Answer:
✅ Answer:
Use Cases:
✅ Answer:
Solution: Using Virtual Machines (VMs) or Interpreted Languages (e.g., Java VM,
Python) to enable cross-platform compatibility.
Would you like me to generate more questions or a mock exam for extra practice? 🚀
4o
You said:
ChatGPT
✅ Answer: B) Single point of failure (Distributed systems aim for fault tolerance)
Q5: List and explain the three types of scalability in distributed systems.
✅ Answer:
1. Size Scalability: The system can handle more users and resources efficiently.
2. Geographical Scalability: The system works across different locations worldwide.
3. Administrative Scalability: The system remains manageable as it grows in
complexity.
✅ Answer:
1. Access Transparency: Users access resources without knowing if they are remote or
local.
2. Location Transparency: Users don’t need to know where a resource is stored.
3. Replication Transparency: Users see a single resource even if multiple copies exist.
4. Failure Transparency: The system continues working despite failures.
5. Concurrency Transparency: Multiple users can access resources simultaneously.
Q7: Explain the differences between Grid Computing and Cluster Computing.
✅ Answer:
Q2: Which component of a process stores function calls and local variables?
A) Heap
B) Stack
C) Data Section
D) Program Counter
✅ Answer: B) Stack
✅ Answer:
✅ Answer:
✅ Answer:
✅ Answer:
✅ Answer:
Platform Compatibility: The target machine may not support the migrated code.
Security Issues: Running unverified code from another machine poses risks.
Performance Overhead: Migration can cause system downtime.
Solution: Using Virtual Machines (VMs) or Interpreted Languages (e.g., Java VM,
Python) to ensure cross-platform compatibility.