Computer Science

Course Description

The computer science class at Mass Academy is taught by Mrs. Taricco and follows the AP Computer Science A curriculum. The class is extremely helpful in improving our computer science skills, along with some other soft skills such as problem solving, communication, and working in groups. This class is very fun and manageable, teaching us primarily Java with some other languages taught for specific assignments.

Line Art Program

One of our assignments in Computer Science was to create an image that looks like the one below with lines and iteration. When we were given the assignment, the only thing Mrs. Taricco gave us was the image itself and a little bit of base code, leaving the actual problem up to us to figure out how to solve it. This was an extremely fun assignment because it let us all work together to figure out how to solve something that none of us had ever done before.

If you're having trouble viewing the pdf, click here!

ArrayList Exercises + Bulgarian Solitaire

A different unit we had in Computer Science was about ArrayLists, and one of the specific exercises we had to do was to create bulgarian solitaire using them. The game is setup by taking any triangle number, which is a number that is the summation of 1 to N for any whole number N (1, 3, 6, 10, etc.), and breaking the number up into a random number of piles of random numbers that sum up to the triangle number. With these piles, 1 will be removed from every pile (empty piles ignored) and the total number of piles will be annexed to the end of the row. This process continues until the row has piles of every number from 1 to N.

If you're having trouble viewing the pdf, click here!