Taught by Mrs. Tarrico, Computer Science is a course that focuses on various skills commonly used in the real world. Specifically, we learn about the basics of JAVA, including topics such as Primitive Data Types, Decisions, Arrays, and Iteration. Additionally, we learn the Web Languages of HTML, CSS, and JavaScript. In fact, this entire website was made using those three languages! Later, we will use our skills to solve a problem in the community in the Apps for Good project.
Stars Program
Shown below is the program and output of the Stars program. This code uses a combination of the Graphics object, loops, and conditional statements to generate an artistic canvas. To go above and beyond the basic requirements, I added user input that allows the user to choose how many stars are displayed, and I implemented randomness so each star has a different number of points.
Shown below is the code and output of the Line Art program, which creates a unique pattern only using straight lines. Although the program consists of just a few lines of code, it produces a highly detailed design. By using only eight loops, I was able to generate a repeating pattern in which one box is inside another.