Posts

Showing posts from March, 2025

WK 03: Learning Journal

Flavio Cervantes CST338-40_2252 03/25/2025 As of now, I am still waiting for feedback on my code. I will follow up with them again tonight, hopefully they can get a response before this assignment is due. A trend that I noticed when evaluating the code of others is that a lot of warning were being flagged, even though the code was compiling.   My colleagues also informed me that they initially struggled with toString(). I struggled with setAttackPointsTest,setGethealthPointTest, defTest, and toString(). The part of the code that was a struggle for me was when it has me convert the instructions into java, I think I need to get better with the syntax and need more practice with the debugging module and use it to my advantage, I tried to use it but it is slightly challenging to keep up with everything. The part of writing the code that was easy for me was setting up the diceRoll() and also creating the subclasses and connecting them back to the main class by "extending...

Wk02: Learning Journal HW 01

 Flavio Cervantes CST338-40_2252 March 18, 2025                                             The unit test that was a challenge to pass was addLine(string), this is because at first I didn't fully understand what it mean stating " String is split into individual words", once I figured it out I felt that this one made me   the most proud of figuring it out.  I thought that toString() of the HashMap words was the easiest since it simply returns the toString of the HashMap words.  This week entailed of a further understanding of HashMaps<String, Int>, these are used to store pairs of data that can be accessed by using .get(String) and to finally iterate through the hashMap, one can use a for loop. I also learned about inheritance using interfaces, these are helpful because one can build a class and build "sub" classes from the main. ...

CST328-Module I- Learning Journal

Flavio Cervantes CST 328  March 11, 2025                                                                                        Learning Journal The process of solving coding bat challenges entailed fully understanding what the question was asking, sometimes I noticed I would get stuck and it wasn't because a lack of understanding what syntax to input, but rather I was misreading the question. This caused me to lay out my code incorrectly. I noticed that by investing more thought into understanding what the question is asking, I would have better success in solving the coding bat challenge. The tools at my disposal were the provided documentation that coding bat provides and researching on how certain functions operate. ...