Support Code and Demo Index

Demo:

Typically, the demo below is presented by the lab instructors during the first lab. The demo has two major goals. The first goal is to showcase debugging using the built-in debugger GUI of IntelliJ. The second goal is to introduce the students to (property-based) testing, specifically, defining properties and writing randomized tests in StudentTest.java. The instructors should also familiarize the students with the GUI of IntelliJ. For example, we can use the green “play” button to run a test case.

Testing and Debugging

For most labs, limit the introduction and lecture time to at most 15 minutes to ensure that the students get enough hands-on time to work on the lab and ask questions that arise as they run into roadblocks.

Projects:

Flood It!

Routing Wires

DNA Alignment

Labs:

Quicksort

Next-Prev binary tree

Binomial Queue

Merge Sort List

Segment Intersection

Hash Table

Huffman Coding

Connected Components