Posts

Showing posts from March, 2025

2nd week CST 338

 HW01: Markov Prompt The hardest part when making this program is getting the addWord and getSentence method to work since these are always having errors. The methods that were easier to pass were toString and getWords. For me the part that I am most proud of is figuring out the issues in the endsWithPunctuation method. I learned several subjects in this week like inheritance and overriding methods. In the inheritance part I learned what is the difference between override and extend as well as super class and sub class. In the override methods part I learned how to use equal and toString methods. other than that, I had several quizzes and a lab that starts on this week's homework. When running tests on the homework gradle stop working so I have to figure out why. 

1st week CST 338

     In the Coding Bat challenges I initially throw code at the problems to see what will happen, later on I planned out the solutions to the problems. In the strings2 using the for loop worked most of the time and the times when it does not work I used if-else statements without it, map1 using the if-else statements with containsKey(), get(), and put() functions works all the time, and using replaceAll() function works with every problem I worked with in Functional1. I usually take around 2 to 4 tries to get a problem right but if I am stuck it would take around 8 or more tries.      Besides the Coding Bat challenges, it seems I am getting into my first project of this class. I also had several quizzes.