Teacher
From Huben's Wiki
Line 18: | Line 18: | ||
OpenOffice | OpenOffice | ||
Dr. Java (latest stable version) | Dr. Java (latest stable version) | ||
+ | jGRASP (latest stable version) | ||
JCreator (latest Free version) | JCreator (latest Free version) | ||
Eclipse (latest Free version) | Eclipse (latest Free version) | ||
Line 26: | Line 27: | ||
In shell path for consoles: | In shell path for consoles: | ||
JDK (latest stable version) | JDK (latest stable version) | ||
+ | Adobe Reader | ||
Printer for room 306 should be automatically configured or easy to find. | Printer for room 306 should be automatically configured or easy to find. | ||
All computers should have proper domains and internet access for all. | All computers should have proper domains and internet access for all. | ||
Line 103: | Line 105: | ||
9/19 | 9/19 | ||
Review: for test. | Review: for test. | ||
+ | 9/21 | ||
+ | Graduate from Hogwarts, matriculate to Rivendell College. | ||
+ | 9/26 | ||
+ | The variables declared at the top of a class are the fields, as opposed to the local variables and arguments in the methods. | ||
+ | Explain arguments better: | ||
+ | * Declarations of arguments happens in the method declaration. Type and then name. | ||
+ | * Use the name of the argument inside the method. | ||
+ | * Calls to the method set the argument with values, and the types should match. The values are the results of any expression you provide. Give examples of expressions. | ||
+ | Need to add an example showing parts of everything and what needs to match. | ||
+ | 9/27 | ||
+ | Review: for test. | ||
+ | 10/3 | ||
+ | Introducing students to roles of objects and variables is difficult. Need to distinguish: | ||
+ | * Variables come in two types. Basic types and object types. | ||
+ | * Basic types actually hold the data: integers, characters, doubles, booleans. | ||
+ | * Object types do not hold objects in them. Objects themselves are stored elsewhere, and the variable simply has their address. | ||
+ | * The actual objects know their classes. | ||
+ | * When you do 'String s = new String("abc");', these things happen: | ||
+ | * a piece of memory is picked (for s) | ||
+ | * new picks a part of memory the right size for your String object | ||
+ | * String() is the constructor, and puts your values into the object | ||
+ | * new returns the address of that part of memory | ||
+ | * the address is stored into s. | ||
+ | * in Creating UrukHais/Fields Of Battle + Understanding Army Life, we need: a diagram that shows relationships between variables, objects, and classes. | ||
+ | * dot operator means follow the pointer to the object, and maybe beyond that to the class | ||
+ | * need big diagram of variables pointing to objects pointing to classes | ||
+ | |||
-------------- | -------------- | ||
Later we will comeback to 2.3, 2.4 and the rest. After the basics of methods, variables and arguments. | Later we will comeback to 2.3, 2.4 and the rest. After the basics of methods, variables and arguments. | ||
Investigate changing from demons to spirits or goblins (what ever Harry Potter has). | Investigate changing from demons to spirits or goblins (what ever Harry Potter has). |