Computer Science is taught by Ms. Taricco and closely follows the AP Computer Science A curriculum. In addition to learning Java, we also gain experience using HTML to build our student websites (like the one you are currently viewing) and develop an app for our Apps for Good project. This class has been valuable in teaching me the fundamentals of object-oriented programming, problem-solving, and computational thinking.
This programming assignment served as an introduction to using the Graphics class in Java. For this assignment, we wrote a program that used loops to draw straight lines arranged in a way that creates the illusion of a curved line. Each line connects one side of a rectangle to its perpendicular side, and the starting and ending points are evenly spaced to maintain symmetry.
Trouble viewing PDF? Click Here.
This assignment was a part of our Static Arrays unit, where we applied our knowledge of arrays and combined it with graphics. The goal was to write a program that draws stars using the fillPolygon method in Java. We were required to draw at least ten stars at random locations and with random sizes. Although the program was challenging, combining these different concepts helped solidify our understanding of these programming constructs.
Trouble viewing PDF? Click Here.