Computer Science

The computer science class at Mass Academy is taught by Ms. Taricco and it closely follows the AP Computer Science A curriculum. We started off the year learning about HTML and CSS, then jumped into Java, learning topics such as arrays, loops, boolean algebra, various data types and structures, and iterations. We constantly practice these through labs, exercises, and tests, strengthening our knowledge in a very fun way! I love the labs and exercises we do in this class, and my favorites are the ones that are attached below!

Line Art Graphics

Line Art

Line Art Graphics was a lab completed in computer science where we created a line art design only using straight lines. It’s a bit counterintuitive as it looks as though the lines are bent, but all of the lines are straight in code with the use of loop control structures. This art was created in AWT Graphics, and this was one of my favorite labs that blew my mind away.

Hover and click the image to view the PDF!

Stars

Stars

This exercise allowed us to practice our use of static arrays while also creating eye-catching stars that are various sizes in random locations. This was a program that was quite difficult for me because we had to use trigonometry to ensure the lengths were equal across all sides. But, the end product was something I was truly proud of, and I added a bit of color to add some flair to them as well.

Hover and click the image to view the PDF!