Computer Science

In Computer Science, we learn various programming languages and skills which are invaluable in the modern world. We started off by learning HTML and CSS to create this website, and then moved into Java programming. We have done many projects using these Java skills, as well as more advanced projects in different languages such as Python.

Binary Challenge Problem

In this problem, we were given a string of characters found on the keyboard. We had to convert each character in the string to the binary equivalent of its ASCII code. In the resulting string, we needed to search for the increasing sequence of binary numbers starting with 0, 1, etc. until a number could not be found anywhere in the string. We had to search from the start of the string and the end of the string, removing the first occurrences in both cases. When a number in the sequence could not be found, the string was converted to an octal number without leading zeroes. Then, we had to repeat this same process with a sequence of base 8 numbers 0, …,7,10, 11, etc. We had to output the last octal number, converted to base 10, that could successfully be found. If no such number could be found, we needed to output -1. The code is available below or here.

Independent Computer Science Project

For some of us in the class that already had experience with Java, we were able to create our own independent projects on any topic we chose. I decided to learn about factors that impact the stock market and attempt to predict future stock values. I ended up training a Long Short Term Memory (LSTM) model on closing prices and economic factors such as GDP. This model looks at past trends over time in order to predict the future. The project is available on GitHub here.