Computer Science

Computer Science is taught with the most standard curriculum in comparison to the other classes. The class is taught using the language java and thoroughly covers the fundamentals of all java programming. For every unit, we are given notes in class that we typically go over on the first day of each unit. Along with the notes, we are given multiple exercises to be completed, usually within a week, to provide practice for full understanding. At the end of each unit, there is a lab, which is essentially a bigger assignment that takes in all aspects of the unit covered. Each term ends with one large test on everything that has been covered in that term.

While learning about iteration, one of the exercises was to complete a program that calculates the approximate value of pi based on how many darts hit or miss a circle, centered at (0, 0) with a radius of 1, that is inside a square with diagonal corners at (1, 1) and (-1, -1). Click here to view my full program of the dart throwing simulation.

While learning about array lists, one of the exercises was to create an array list of randomly generated integers and have the user enter a minimum value and a maximum value. The program would then remove all values from the array list that fall within the range entered and the result would print the remaining integers in the array list. Click here to view the program I wrote for the filter range exercise.