Posts

Showing posts from November, 2022

CST338 - Markov

 Week 3: Markov I worked with Mike Divine to talk about the Markov assignment as well as discuss different approaches to solving it.  The first thing we did was read the entire prompt (I re-read it numerous times throughout the week as well).  Next, I followed the UML diagram and got all fields, constructors, methods, and classes laid out exactly matching the diagram.  I find doing this first helps me visualize and see how everything is going to come together.  Once the methods were all laid out I read through the prompts again and started working on the methods that would be called inside of other methods first.  This helps avoid those annoying red lines everywhere if you're calling a method that hasn't been coded yet.  From there it was following the prompt and left print statements where I thought something might not be right to track down errors.  When an error would arise, the print statements helped me track down the method causing them....