Computer Science, taught by Ms. Taricco, focuses on learning web development and Java. In this class, we learn by practicing through different projects and exercises. We learned HTML and CSS by creating our own personal websites, and built our Java knowledge by writing different programs that you can check out below! In CS, we also participate in the American Computer Science League and learn topics like number systems, boolean algebra, and recursive functions for the competition. Computer Science mostly follows the AP CSA curriculum.
One of our units focused on graphical art, where we use Java to draw various images. At the same time, we also
learned for loops. To practice these skills, we were challenged to recreate this image using only lines, in the
most efficient way possible. After a lot of manual drawing, trial and error, and studying the image, I was
successfully able to recreate the image using Java.
Not able to view the pdf? Check out my code here!
Another exercise we completed to practice array lists is to compute prime numbers in the most efficient way possible.
To do this, I used a boolean array and set every composite number to false by looping through every multiple.
Then, I printed out all the true numbers. My program can compute the prime numbers up to 10,000 in 0.3108 seconds!
Not able to view the pdf? Check out my code here!