Week 9 (3/5-3/11)
This is the first week of Software Design CST 338, and I got to work in CodingBat. I used this site before in community college for Java 1, which is a good refresher for this class.
Discuss the process of solving the Coding Bat challenges. A major part of software design is thinking about approaching a problem with the tools we have at our disposal. What were the steps you took to solve some of these challenges?
I follow a structure that involves reading the problem, understanding it, breaking it down or visually writing pieces down to help me understand it. Finally, I focus on what's needed. Then I put chunks of code in my head, write it down, and then organize and fix syntax.
Did you plan it out or throw code at it?
I plan it out, and I need to understand it first to write code. Especially the conditions and what's being asked.
What worked? This approach works for me. Sometimes, I write it down visually or do extra steps to help me grasp the process.
What DID NOT work? Sometimes, putting the code together in my head gets a bit overwhelming, so I try to visually write it down and write some pieces of code and then, lastly, put it together,
How many tries did it take? How many tries it takes depends on the subject. Map and String take me longer to write down, so more chances to get the syntax wrong. So, it took me more time to fix my process and syntax in those problems that involved more critical thinking. As usual, practice helps us master a subject.