Posts

Showing posts from March, 2024

CST 338 Week 4

Image
WELCOME TO WEEK 4 Markov Code Review:       This week, I worked with Edward Torres on the Markov code review. My strategy for this assignment was to read the prompt thoroughly and try to understand what each method was asking for. After reading, I decided to first work on the methods that did not require any other methods in their implementation. This helped me with my organization. After that, I moved to the methods that called methods I had already completed. I usually keep one window open with the prompt and UML diagrams, and IntelliJ on the other side.      For this assignment, I feel like I did really well; felt much more confident with java. My teammate said that my methods had Javadoc comments and mini-comments within the methods that are really helpful  for one to understand what is going to be done or what the method is doing. Edward also mentioned that my code structure is well-executed,  and indentations are present where appropriate.  One thing Edward mentioned was that I f

CST 338 Week 3

Image
  WELCOME TO WEEK 3 Jotto Code Review:  This week, I collaborated with Edward and Luis on our Jotto project code review. During our code review session, I received constructive feedback on my code from Luis. The feedback highlighted some areas for improvement, such as reordering the class definition to prioritize constructors and user-coded methods.  I will keep these suggestion in mind for further enhancement. One of the challenging aspects was passing the unit test for pickWord(), but eventually, I managed to pass all tests successfully.      Personally I struggles with guess() method due to my limited experience with Java, but I am committed to improving over time. My teammate's work wad impressive and well organized. My only suggestion was to remove unnecessary commented-out lines for cleaner codes. Despite the challenges, I am proud of passing all the tests and completing the methods, although I plan to revisit and refine the guess() method in the future. 

CST 338 Week 2

Image
  WELCOME TO WEEK 2 Homework 01: Jotto      Today marks the completion of Homework 01 Jotto, a journey filled with challenges and learning opportunities. The test showPlayerGuesses was perhaps the most challenging because it required different methods to be completed in order to pass the test. The rest of the tests were straightforward.       However, balancing this assignment with schoolwork and other commitments required me to  request days off from work; my biggest enemy was time. I feel that if I had more free time to complete these assignment's without rushing, I would be able to put my all into them.       Deciding whether to strictly follow instructions or modify if-else statements added complexity, especially in the guess() method. Despite the many challenges I faced, completing the assignment has been rewarding, offering valuable insights into problem solving. 

CST 338 Week 1

Image
  WELCOME TO WEEK 1 CodingBat code practice:      This week, part of the homework was to earn at least 3 stars in each of the Java areas, such as Strings, Arrays, Maps, etc. Since I had never used Java before, I looked up methods that I could use with this particular language. The lectures and videos provided on CodingBat were also very helpful. Although I needed some assistance, it was minimal. I feel that Java is very similar to C++, a language which I am familiar with.      For some problems, I was able to just throw code at it and through trial and error, pass all the tests. For others, I planned out my approach and successfully solved them. There were instances where I passed the tests on the first try. However, there were a few that took me multiple attempts to pass, and others that I chose to skip.  Catching Up:       While I was in the orientation and watching how to do lab00, I felt a bit nervous.  Being new to Github, I felt Dr.C's pace quite fast. Honestly, I was apprehe