Assessment_1_-_Computational_Thinking_-_AK (3)
Assessment_1_-_Computational_Thinking_-_AK (3)
b) Purpose: (2 marks)
The algorithm calculates the average of numbers greater than 50 in the given array.
Advantages:
- Improved responsiveness for users
- Better utilization of system resources
- Ability to handle more users simultaneously
Challenges:
- Need to implement proper synchronization to prevent issues like two students trying to borrow
the same book simultaneously
- Increased complexity in system design and implementation
- Potential for race conditions or deadlocks if not carefully managed
Overall, implementing concurrent processing would likely be beneficial for a library system,
especially in larger libraries with many users, as it would improve the system's efficiency and user
experience. However, careful design and testing would be necessary to ensure data integrity and
system stability.