Question: in python Q1. You are part of a team developing a next-generation web server tool. You are required to make decisions on the usage of

in python
Q1. You are part of a team developing a next-generation web server tool. You are required to make decisions on the usage of appropriate data structures as per the requirements. The objective of this next- generation web server tool is to exploiting GPUs in order to deal with tons of web requests. We have to store the status of each GPU-a GPU can have status Processing or Idle. We can represent each status with 0 or 1, respectively. The operating system can support up to 12 GPUs at a time. Whenever there is a request processing on a specific GPU, we set its status to 1 - and reset status to 0 after completion of the request. a) Which data structures (array or linked list) would be more efficient to use in this scenario and why? b) Which ADT (List/Stack/ Queue) we should use and why? c) List down required operations of ADT (not all operations of ADT, unless it is required). Also identify the Big-O of operations by using your selected data structure
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
