You are here

Crazy Objects

Reid, George
Issue Date: 
Friday, February 8, 2008
The "Crazy Objects" was an assignment put together to address misunderstanding some students have about how computer languages handle objects, specifically the idea of having a reference to an object and how objects can reference other objects. The assignment models a virtual classroom and the students are asked to complete the code for several objects having been only given the class file for one of them (implementation in Java). In order to accomplish the task (allowing the virtual student to go to class), they will need to properly create and reconnect all the objects in the correct order. Students can be given skeletons of the classes involved or asked to create them from the UML diagrams. Activity can be used in grade 11 (OOP) or in grade 12 depending on the skill level of the class. The assignment also offers an opprotunity to review classroom rules and procedure, and good study habits (bring books to class etc..). The idea was to customize the classroom object to reflect your own personal classroom rules and perhaps those of the school (in this case Mr. Reid == Mr. Strict ;)
objects, classes, methods, object references, implementing classes, interaction among classes, cohesion, oop, uml, object-oriented
Education Levels: 
Middle School
High School
Intended Audience: 
Tool : Code
CEMCS Summer Institute, Toronto, Ont, CA
CSTA Classification: 


Apply analysis, design, and implementation techniques to solve problems (e.g., use one or more software lifecycle models).


Decompose a problem by defining new functions and classes.


Use mobile devices/ emulators to design, develop, and implement mobile computing applications.


Use tools of abstraction to decompose a large-scale computational problem (e.g., procedural abstraction, object-oriented design, functional design).


Object-Oriented Program Design (AP Comp Sci A Topic I)


Evaluate algorithms by their efficiency, correctness, and clarity.


Program Analysis (AP Comp Sci A Topic III)


Other Project-Based Courses


Program Implementation (AP Comp Sci A Topic II)

Download this resource: