Posts

Showing posts from November, 2023

Week 13 (Markov)

1. Who did you work with?           I worked with Thomas and Wai Moe to review our solutions to the Markov assignment. 2. What was your strategy for solving the Markov assignment?           I began coding immediately. I tested code incrementally, and tested again when my code was in a completed state. 3. What was THEIR strategy for solving the Markov assignment?           My teammates solved the Markov assignment by putting together a skeleton based off of the provided UML diagram and testing incrementally. They also worked through the simplest methods first then moved onto the more complex methods. 4. How would you change your strategy having worked on the assignment?           I would've taken more time to examine what the project was about instead of being eager to start coding. This would've helped me understand what It was I was cod...

Week 12

This week I was asked to review the requirements for the Library java class with my classmates. Who did you work with? You can work with up to three people:         Wai Moe and Thomas Wood. How do the existing tests function and could they be improved? I am thinking specifically here of the tests for Book, Reader, and Shelf. This isn't simply a theoretical exercise either. There will be an extra credit assignment to submit a new test suite for this project.          I couldn't test Book, Reader, or Shelf classes with MainTest class in place. Due to the requirement of Library and other future classes and methods to exist, I got started writing the methods for the Library class which allowed me to run the tests for Book, Reader, and Shelf. I would change the MainTest class to allow the other tests to function in the absence of the Library class. What are 2 or 3 things that were discussed? This can be something like "I didn't understand how to u...

Week 11

 This week I worked on Project 1 which is a program which represents a library using classes to represent the library itself, readers, bookshelves and books. Additionally, I worked on a Hangman game program. I didn't find any of the unit tests considerably difficult to pass, however there were some in which failed due to misinterpreting what was being asked in the requirements. After debugging the unit tests and my methods, determining what was being requested and what I was doing, then revising my methods, I was able to pass all unit tests. The provided UML diagrams in the requirement specifications were especially helpful while attempting to complete the projects.