Stephen Cerruti · @scerruti
65 followers · 164 posts · Server csed.social

I am caught up on Python solutions for Advent of Code. It's been hampered by catching up on grading web page projects and entering grades for the end of the grading period. As soon as I finish some drone code I hope to go back and continue the Java write ups.

I dread writing up Day 13. It's so simple to solve in Python and it makes it painful to solve in Java. If I had some advanced AP CSA students I would provide Day 12 as a holiday project (+hints.)

#adventofcode #adventofcode2022 #aoc4csa

Last updated 2 years ago

Stephen Cerruti · @scerruti
65 followers · 157 posts · Server csed.social

While I have completed my solution to Day 11 of Advent of Code, I have not completed the writeup and do not recommend it for AP CSA students. github.com/scerruti/AoC2022/bl

I could not solve this on my own because I could not figure out the part 2 worry reduction computation. I understand why the answer is a correct answer, but I do not know how people came up with it. If you have insight, please share it with me.

#adventofcode #adventofcode2022 #aoc4csa #aoc2022

Last updated 2 years ago

Stephen Cerruti · @scerruti
57 followers · 125 posts · Server csed.social

Wahoo! Got my Advent of Code writeup done an pushed before 10. Bedtime!

#adventofcode #aoc4csa

Last updated 2 years ago

Stephen Cerruti · @scerruti
49 followers · 98 posts · Server csed.social

Advent of Code Day 3 is excellent if you have students who want practice with Java String methods. I am using the Code.org CSA course so I created a template and a solution for use on Code.org's Java Lab.

YouTube video of coding the solution: youtube.com/watch?v=woEATQszyr

#aoc4csa

Last updated 2 years ago

Stephen Cerruti · @scerruti
48 followers · 95 posts · Server csed.social

Advent of Code Day 2: Rock Paper Scissors is today's puzzle. This is something that I often use in Python class to teach if-elif-else concepts. The code for today's puzzle can be solved using the Java subset, it is just long and tedious.

I have provided an alternate non-subset version that does not use if statements at all.

github.com/scerruti/AoC2022/bl

#aoc4csa

Last updated 2 years ago

Stephen Cerruti · @scerruti
47 followers · 91 posts · Server csed.social

Each year I try to do as many write-ups for Java solutions using the AP CSA subset (this actually makes it much harder.) I am going to do my write-ups this year in my actual GitHub repo and link to it. I am going to tag everything with so you can filter it out.

Day 1 involves ArrayList algorithms and, with this particular solution, some indexOf and substring fun. It can be understood by students at this point in most courses.

github.com/scerruti/AoC2022/bl

#adventofcode #aoc4csa #apcsa #aoc2022

Last updated 2 years ago