Welcome to Westonci.ca, where your questions are met with accurate answers from a community of experts and enthusiasts. Get immediate and reliable answers to your questions from a community of experienced professionals on our platform. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.

Your program for a game allows users to choose a car to drive. You have 50 models.


You have designed each model to have different qualities, such as maximum speed, ability to turn tight curves, fuel usage rate, etc.


Which collection is best to store the characteristics of each model?



list


tuple


deque


dataset


Will Give Brainliest to Best or correct answer


Sagot :

Answer:

dataset

Explanation:

For the information being described the best collection to store this data would be a dataset. This is mainly due to the fact that each individual car has a wide range of separate variables and values that are attached to each car model. Such variables/values include maximum speed, ability to turn tight curves, fuel usage rate, etc. The dataset allows each individual model to be registered alongside all of their individual characteristics/qualities. Therefore, connecting each model with their own data.

Answer:

Deque is the right option

Explanation:

deques are more useful for large amounts of data and will locate specific things faster (E2020)