Students explore how real-world data sets can be modeled, processed, and analyzed through programming. In this lab, they begin by reflecting on data collection, privacy, and reliability, then move on to building a Cereal class to represent entries from a cereal data set. They practice reading data from files into an ArrayList, create objects to store and organize that data, and write methods to analyze nutritional values. Additionally, students have the chance to extend their work by using JavaFX library to validate data quality and visualize patterns.
This lab can be completed after Unit 4: Data Collections in Cortado, Unit 7: ArrayList in Nitro (with Using Text Files lesson from Cortado), Unit 5: Data Structures in Mocha (with Using Text Files lesson from Cortado).