Computer science is taught by Ms. Taricco. At the start of the year, we construct the beginning phases of our websites. We learn HTML and CSS during this time. Later, we study Java using different exercises to learn how to problem-solve through code.
One of our many exercises was to use AWT graphics to create line art. We were given an image and told to recreate it. The image comprised of just straight lines, but the ends were moved along an x and y axis of a box to create the illusion of a curve. The purpose of this assignment was to practice using loops, and it was very interesting to see some of our abstract creations while debugging our code. Below is what it looks like when you run the code.
This assignment was to practice using if, else if, and else statements. The goal was to enter your marital status and your yearly income, and it will calculate how much money you must pay in taxes. If you look at my code, you can see that I have a total of three if statements, three else statements, and 12 else if statements! This assignment was very interesting to me as I had to think about many different cases or outcomes for each input.
Apps For Good is a project that we start at the end of C Term and finish at the end of D Term. In this project, I worked with Eddie Goodwin and Daniel Shi. The app we created was directed towards senior citizens and is a collection of different app-embedded mind-enriching games to make them easier and more accessible to play. The app includes positive messages to encourage the user to continue playing, along with a timer that times how long the user spends in each game. Each game correlates to a specific skill, and when the user spends time playing a game, the time spent training the skill is updated in a separate page. This can help the user determine what game to play next if they choose to train in different skills. Finally, the app includes a reset button, which will start the app over and erase the users stored times.
We used Android Studio to build our app. We coded in Java for logic and xml for styling. Shared preferences was also used to store the user's name and skill training times locally.