Posts

Showing posts from July, 2024

Week 11: Markov Java Assignment and Started Project 2

Image
This week we worked on Markov and started Project 2 Who did you work with? I worked with Tasneem. What was your strategy for solving the Markov assignment? I wrote all the methods and fields without any context. Then I read the prompt before I started to do anything else. I wrote each method and if I could test that method I did. I ran the debugger when I had issues with the output. What was THEIR strategy for solving the Markov assignment Her strategy was to follow the UML diagram first and write out all the methods. Then, she split the methods into two branches and worked on them one by one. She did some debugging where necessary to make the code work. How would you change your strategy having worked on the assignment? Again I need to remember to write more comments and to do more commitments.  According to your classmate(s): how well does your code follow the  Google Java Style Guide Yes, she said I did.

Week 10: Worked on Library Project1 Book, Reader and Shelf

You can work with up to three people (you MUST work with at least one other person) With whom did you work? I worked with my team Tasneem and Liam. What was your strategy for solving the assignments? Did you start writing code right away? Did you plan it out on paper?  My strategy was first reviewing everything before I started to write any code. I was trying to understand each piece and make it make sense to me. Sometimes I have a difficult time understanding something that is a little abstract so its better for me to start writing down and looking at the bigger picture to understand the smaller pieces.  What was THEIR strategy for solving the assignments My team mates used a similar strategy and asked for help when needed. I think maybe I should start doing the same. As I sometimes spend too much time trying to understand what some methods do.  How would you change your strategy having worked on the assignment? In the future I will reach out for help as something as I s...

Week 9: Working on Reader and Book class

 My team member Tasneem Khokha reviewed HW01's assignment. I went over my code and noticed I had some comments on some of the methods but not all of them. I acknowledge I need to work on writing comments on my assignments. I forget all about the comments and I realize how important they are specially after you don't look at your code for a few days you start to forget how it works.  We had similar approaches to the display() method. We both agreed that the display() method was the most difficult part of the assignment. I found using the auto generator great because it help me speed up reparative code.  I was telling Tasneem that my biggest victor was after spending a lot of time on the display() method I fell as sleep for about 15-0 minutes, after I woke up I went straight to working on the display(). To my surprise I was able to write it without much problems after that, like everything made sense it felt amazing.   In summary, I had fun working on this assignm...