Posts

Showing posts from July, 2025

Wk05: Learning Journal Markov

 Learning Journal for the Markov Assignment  1. Rasna Husain 2. For the Markov assignment I did start coding right away. Time management got the best of me and I had waited to complete the assignment. That being said, I missed out on the comments needed for the assignment as well as making sure that the unit test cases passed all of them. I was having trouble getting the test cases to pass because this time I did not plan my code out but instead just started coding.  3. Rasna had planned her code out and then started to code. She started as soon as she could for the assignment. She had implemented all required Javadocs.  4. The things I would change for this assignment would be to start at an earlier time. I would also go back to my previous way of coding where I wrote the general base of my code prior to starting to code, it helps me grasp what I am learning better.  5. My code did not follow Javadocs, I forgot to write the header as well as insert Javadocs in ...

CST 338 - Learning Journal Project One Review

 Project One Review  1. I worked with Rasna Husain.  2. My strategy to solving the assignments especially Project 1, was thinking of my thought process on paper. I started off with the smaller classes compared to starting off with the main java file(Monster files). I made my own UML diagram for each Java class we had to submit. This is where I decided what constructors, methods, getter/setters that needed to be established in the class.  3. Rasna completed the assignment by going through the documentation and using the provided UML diagram to write out her code. She did great JavaDocs explaining her entire code.  4. I would change how I worked on the assignment because I had struggle getting all the test cases to pass and ran out of time. As I am writing my code for the files I would see if they pass the test cases, this way I do not have to struggle with getting all the test cases to pass all at once.  5. My code does struggle following Javadoc. I had comm...

CST338 - Learning Journal - 2

 CST 338 - Unit Tests, Git Commands, Interfaces Unit Tests:  - Unit tests are smaller tests to help test each method, constructor, getter and setter that are created in the code.  - The difficult part about Unit Tests I found was when completing Full Calorie HW 01 because of working backwards in a way. Having the unit tests pre-written was helpful when creating new methods but it was hard when one test would work for one method but fail for another. In other terms, it did help create more concise code as well as making sure the code did not have any bugs. They also helped identify all functionality of the methods that were created.  Git Commands:  -The importance of git command is that you are able to save your work as well as contribute to group projects and have easier ways of getting assistance when one is stuck while coding.  - Some of the important git commands we have used:      - git status: give a list of all the files that have been ...