Computer Science

Course Description

In the Intermediate Computer Science class students are taught the basics of the language of Java and are pushed to use these basics to solve problems which are more complex. There are a plethora of these problems which require the use of concepts such as decisions, loops, conditionals, Booleans, and more. Oftentimes these problems can also be very math-heavy, requiring much critical thinking to plan the code before actually coding.

The Federal Tax Rate assignment was a lab which involved calculating the federal tax rate for a person or couple depending on their income. My solution for this problem is in the pdf on the left. This assignment required around 30 test cases in order to properly check if the code worked due to the numerous different possibilities of income brackets.

The Line Art Program assignment was a lab which involved creating a curved looking figure using only lines. This program involved the use of for loops and even nesting them. It created a beautiful figure, and my code also creates the figure inside of itself, which was the extra credit portion. This program taught me the importance of loops for creating figures and drawing in java.