App Usage Simulation

Plan

My project for CSP simulates app usage in day increments. It uses the information from this simulation to identify and compare the most commonly used and least commonly used apps.

When creating my model, my partner, Carter Lloyd helped occasionally!

Conclusion

I am most proud of my code that identifies the least commonly used app. I had to utilize the 'collection.Counter' function in coordination with the '[-1]' element of a list!


The most important thing I learned from the simulation was how to use the 'random.choice' function. When creating this function, I got to work in great depth with simulations (finding statistics, comparing to real life experiments, etc.) Also, I was able to work on bettering the efficiency of my code by implementing the tools we have learned in class. Most noticeably, I used the '\n' function to decrease the number of code lines and save memory.


If I had more time to work on my project, I would want to add in more user dependent variables. I would want to ask the user which apps they wanted to compare or possibly allow them to alter the duration time more. I would also want to put emojis into the design of my app to make it look more aesthetically appealing!

App Procedure

Simulates app usage.

Comparison Algorithm

Identifies common and uncommon apps. Compares frequency of apps.