Download IntelliJ Community Edition and run a sample program. Explore debugger.
Work in assigned groups: compare your powers of two code and get one solution working for everybody
You can use this powers of two solution if you need to
HW: Modify your group’s solution to work for powers of 4, e.g. 100 = 64+16+16+4. Trace through code with debugger if you don’t understand how it works
September 5, 2025 (Friday)
RPN Quiz
Writing numbers as sums of: Fibonacci, powers of two, odds, powers of three
HW: Write a procedure (or code) to explain how to convert a number into a list of powers of 2 that add to that number. E.g. on input “23” you should output 16,4,2,1. Write code if you know how, otherwise plain English is fine. Explain how you pick the numbers to output in a logical way. Please bring a typed printed copy of your answer to class. (If you can code well enough to output a binary string given an integer input, that’s cool too.)
September 3, 2025 (Wednesday)
four fours puzzle
Go over sqrt2 Google sheet solution key. Make your own copy please