Welcome to CompSci.rocks

CompSci.rocks - Random thoughts from a computer science classroom

Textbook Solution

Solution for the Textbook Free Response Question: AP Computer Science A 2022 Exam

Read more...

How to link to a specific page in a PDF

Need to link to a specific page in your online class or on a website? Turns out it's pretty easy and just takes a few extra keys.

Read more...

Change Name in Office Title Bar

A few weeks ago I wanted to hide my name in the Office title bar for a video. Here's how I did it.

Read more...

Notion: Invalid Zip on Export

Notion makes it quick and easy to export your data for safekeeping. But I ran into a snag where the zip file was invalid. Turns out, really easy fix.

Read more...

AP FRQ Timers

I couldn't find any 22:30 timers that weren't boring, so I built a website

Read more...

Swap array values

Swapping values in a Java array seems like it should be easy, and it is. But there's a catch.

Read more...

Are values in Java array unique?

Learn how to find whether an array contains unique values in Java using the unique algorithm.

Read more...

Java Array Average Algorithm

Learn how to find the average of all values in a Java array using the average algorithm.

Read more...

Java sum algorithm for arrays

Learn how to find the sum of all values in a Java array using the sum algorithm.

Read more...

Minimum / Maximum algorithm in Java

Learn how to find the largest or smallest value in a Java array using the minimum / maximum algorithm.

Read more...

Todoist for hobbies

A few weeks ago I started using Todoist to keep track of my hobbies, and it's helped keep me happy and organized

Read more...

Math.random() Practice

Are you working on Math.random() in your Java programming class? Here's an explanation and some practice problems to help you get better.

Read more...