






Activities
For Python:
-Use Pygame to create connect four, students will have to rely on the Pygame documentation, it is a great way to introduce them to this before Java.
-Use file I/O to teach encryption by having students write a message in a text file, and then incrementing each letter, and having another student decode the message.
For Java:
-Use Robocode to stress the importance of reading the documentation, but at the same time they get to have fun building robots that fight each other.
-An API Scavenger Hurt, to familiarize them with the API but also have some fun.
-Coming up with fields and methods for the person class, to familiarize them with which would be what.
-Have a group of people line up in order with numbers 0 - 9 (an array of people) and have one person stand at the board and perform actions such as a for loop where you iterate through the array (write the counter on the board and walk through each step) and perform a "method" (such as dance) on each person.
-Write code that has common mistakes in sintax or logic and have them work in groups to find the errors. Make it a race if you want to add some competitin.
-In order to make students familiar with Arrays and understand how ArrayList works have them write a similar class as ArrayList useing Array and its methods.
-Split complicated games into parts and have groups write each part. Then put the parts together to have a complete working game.
-To demonstrate polymorphism have one person act like the complier and one like the ____
-Jeopardy game for review
-Matching game (import statements w/ command)
-Stand in line sort/search for someone
-Websites to show sorts and Big O times
-Tracing activities for recursion
-Stand in line and show push/ pop, queue and Linked Lists
-Role playing to show inheritance
For 2110:
-Give students cut outs of Logicworks components and have students make something (magnets on the back maybe?)
-Logicworks in legos?
-Partial compiler for LC3 implemented in C
-Add prelab study things
-Give code that doesn’t work completely or correctly (C or assembly) and have the students fix it (kind of an intro lab)
-Sorting algorithms in C or assembly
-Show binky videos
-Write swap multiple ways
-Linux stuff:
-Use projector (talk to TSO)
-which command
-header file activities
-make file activity
-preprocessor activity (paper, glue sticks, cutting with scissors)