Computer Science BS Journal: Week 9
This was the start of week 2 in CST 338. I'm excited to finally be working on code instead of writing essays haha. Though there is so much in this class that is new to me. For instance IntelliJ and Adroid Emulator are both programs I'm very unfamiliar with, so right out of the gate I was nervous. But I'm beginning to dust myself off and refresh my Java memory.
Discuss the process of solving the Coding Bat challenges. A major part of software design is thinking about how to approach a problem with the tools we have at our disposal. What were the steps you took to solve some of these challenges?
My process to tackling the Coding Bat challenges were to simply go in head strong and review/revise my mistakes. It's been awhile since I've used Java so I wanted to try and test my memory by going at it right away. At first I was successful, until I realized I was working on the warmups. String 1 and Array 1 was fairly easy, but once I reached Logic I was stumped. I used chatgpt to review my code and tell me where my code was failing when I became completely stuck which allowed me to narrow down what I was doing wrong. Slowly I started to get the hang of it again and the workload began to flow.
Did you plan it out or throw code at it?
Honestly, I just went in head strong and threw code at it. When I encountered and error it would tell me which line it was located on and I could slowly fine tune the code to the correct format
What worked?
What worked for me and what always has was staying consistent and focusing on the objective. Like I mentioned I went in headstrong and just started coding, if I encountered an error I would check what line and go directly to the error to make corrections until eventually my code was running.
What DID NOT work?
Most of my work eventually passed, most of the things that didn't "work" for me were just coding mistakes or bad code on my part. Coding Bat doesn't want us to use println at all so when I initially tried using it I would be instructed to only use return.
How many tries did it take?
For the most part in the strings 1 and 2 I was able to get my code to pass all tests within the first 3-4 tries, fine tuning it each attempt. But everything else (functions, arrays, logic, maps) took A LOT of tries. I was severely disappointed in my ability when it took me hours to finish one of these assignments when it was labeled "Light" work
Comments
Post a Comment