<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.paulbui.net/wiki/index.php?action=history&amp;feed=atom&amp;title=IBCS2_-_1011_-_November</id>
	<title>IBCS2 - 1011 - November - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.paulbui.net/wiki/index.php?action=history&amp;feed=atom&amp;title=IBCS2_-_1011_-_November"/>
	<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS2_-_1011_-_November&amp;action=history"/>
	<updated>2026-09-24T06:40:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.8</generator>
	<entry>
		<id>https://www.paulbui.net/wiki/index.php?title=IBCS2_-_1011_-_November&amp;diff=6764&amp;oldid=prev</id>
		<title>Admin: Protected &quot;IBCS2 - 1011 - November&quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS2_-_1011_-_November&amp;diff=6764&amp;oldid=prev"/>
		<updated>2011-01-04T04:53:04Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wl/IBCS2_-_1011_-_November&quot; title=&quot;IBCS2 - 1011 - November&quot;&gt;IBCS2 - 1011 - November&lt;/a&gt;&amp;quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite))&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 04:53, 4 January 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.paulbui.net/wiki/index.php?title=IBCS2_-_1011_-_November&amp;diff=6762&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;== Monday (11/29/10) == &#039;&#039;&#039;Warmup:&#039;&#039;&#039; * Insert the following numbers into a binary tree: 3, 7, 21, 34, 9, 8 * Insert the following words into a binary tree: the, quick, brown, fo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS2_-_1011_-_November&amp;diff=6762&amp;oldid=prev"/>
		<updated>2011-01-04T04:50:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Monday (11/29/10) == &amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039; * Insert the following numbers into a binary tree: 3, 7, 21, 34, 9, 8 * Insert the following words into a binary tree: the, quick, brown, fo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Monday (11/29/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Insert the following numbers into a binary tree: 3, 7, 21, 34, 9, 8&lt;br /&gt;
* Insert the following words into a binary tree: the, quick, brown, fox, jumps, over, the, lazy, dog&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* AddressBook 1 Demo&lt;br /&gt;
** add, print, search&lt;br /&gt;
* AddressBook 2 Demo&lt;br /&gt;
** remove, sort, edit&lt;br /&gt;
* Binary Tree Review&lt;br /&gt;
* Create 3 new classes called ContactBinaryTreeNode, ContactBinaryTree, and ContactBTTestMain&lt;br /&gt;
** [[Media:BinaryTreeNode.java]]&lt;br /&gt;
** [[Media:BinaryTree.java]]&lt;br /&gt;
** [[Media:BinaryTreeTestMain.java]]&lt;br /&gt;
* Convert the 3 given binary tree classes to use Contacts instead of ints&lt;br /&gt;
* Create and demo a BinaryTreeAddressBook&lt;br /&gt;
&lt;br /&gt;
== Monday (11/22/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Demonstrate adding, searching, and printing to your AddressBook using LinkedLists&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Add removing and sorting to your AddressBook&lt;br /&gt;
** Removing: Prompt the user for a firstname and lastname, create a temporary Contact, search for the index of the matching Contact&lt;br /&gt;
** Sorting: Use either the selection-sort or bubble-sort algorithms.  When you need to swap, swap Contacts, not Nodes&lt;br /&gt;
* Add editing?&lt;br /&gt;
* Binary Trees continued...&lt;br /&gt;
** [[Media:BinaryTreeNode.java]]&lt;br /&gt;
** [[Media:BinaryTree.java]]&lt;br /&gt;
** [[Media:BinaryTreeTestMain.java]]&lt;br /&gt;
&lt;br /&gt;
== Thursday (11/18/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Look at the board, identify the invalid node in each binary tree.  Where should the invalid node go in order for the tree to be valid?&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Review setters/getters&lt;br /&gt;
* Review using methods of objects&lt;br /&gt;
* Complete and demo a working AddressBook that uses LinkedList&lt;br /&gt;
* How do we add sorting to our AddressBook?&lt;br /&gt;
&lt;br /&gt;
== Tuesday (11/16/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Create a new class named ContactNode&lt;br /&gt;
# It should have two attributes:&lt;br /&gt;
#* Contact c = null&lt;br /&gt;
#* ContactNode next = null;&lt;br /&gt;
# It should have two constructors&lt;br /&gt;
#* Default constructor: ContactNode()&lt;br /&gt;
#* Specific constructor: ContactNode(Contact newC)&lt;br /&gt;
# You should make setters and getters for the attributes&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Create a new class called ContactLinkedList&lt;br /&gt;
* Convert your LinkedList to use ContactNode and call it ContactLinkedList&lt;br /&gt;
* Be sure to test your ContactLinkedList&lt;br /&gt;
* AddressBook class review&lt;br /&gt;
* Convert your AddressBook to use ContactLinkedList instead of Contact[] array&lt;br /&gt;
** Be sure to test your AddressBook with LOTS of contacts&lt;br /&gt;
** HINT: Use a loop to auto-create 100s of Contacts and auto-add them&lt;br /&gt;
* Introduction to Binary Trees&lt;br /&gt;
** [[Media:BinaryTrees.ppt]]&lt;br /&gt;
&lt;br /&gt;
== Friday (11/12/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Demo your completed LinkedList&lt;br /&gt;
* Contact class review&lt;br /&gt;
* Create a new class from your Node class and called ContactNode&lt;br /&gt;
* Create a new class called ContactLinkedList&lt;br /&gt;
* Convert your LinkedList to use ContactNode and call it ContactLinkedList&lt;br /&gt;
* Be sure to test your ContactLinkedList&lt;br /&gt;
* AddressBook class review&lt;br /&gt;
* Convert your AddressBook to use ContactLinkedList instead of Contact[] array&lt;br /&gt;
** Be sure to test your AddressBook with LOTS of contacts&lt;br /&gt;
** HINT: Use a loop to auto-create 100s of Contacts and auto-add them&lt;br /&gt;
&lt;br /&gt;
== Friday - Tuesday (11/5/10 - 11/9/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Demo [[Media:DynamicStack.java]]&lt;br /&gt;
* Demo [[Media:DynamicQueue.java]]&lt;br /&gt;
* Introduction to Linked Lists&lt;br /&gt;
** [[Media:LinkedList.java]]&lt;br /&gt;
** Attributes: head, tail, size&lt;br /&gt;
** Constructors: default&lt;br /&gt;
** Methods:&lt;br /&gt;
*** boolean isEmpty() - returns true if the LinkedList is empty, and false otherwise&lt;br /&gt;
*** void append(int num) - adds a new Node with num at the end of the LinkedList&lt;br /&gt;
*** void add(int num, int index) - adds a new Node with num at the index specified&lt;br /&gt;
**** There are FIVE different scenarios when you add a Node&lt;br /&gt;
**** DRAW the before-and-after pictures for all FIVE secenarios&lt;br /&gt;
*** int remove(int index) - removes the index-th Node and returns its data&lt;br /&gt;
**** There are SIX different scenarios when you remove a Node&lt;br /&gt;
*** int getNum(int index) - returns the num found at the index (HINT: you&amp;#039;ll need to traverse the LinkedList)&lt;br /&gt;
*** int search(int num) - returns the index of the Node with num (returns -1 if num not in list)&lt;br /&gt;
*** void print() - traverses the LinkedList and prints out each Node&amp;#039;s data&lt;br /&gt;
* Test your LinkedList using [[Media:LinkedListTestMain.java]]&lt;br /&gt;
&lt;br /&gt;
== Wednesday (11/3/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Draw the memory diagram after the following code executes:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
Node head = new Node(14);&lt;br /&gt;
Node tail = head;&lt;br /&gt;
tail.next = new Node(15);&lt;br /&gt;
tail = tail.next;&lt;br /&gt;
head.next.next = new Node(926);&lt;br /&gt;
tail = tail.next;&lt;br /&gt;
tail.next = new Node(3);&lt;br /&gt;
tail = tail.next;&lt;br /&gt;
&amp;amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Turn in your Prototype Solutions&lt;br /&gt;
* Return all papers&lt;br /&gt;
* Demo your [[Media:DynamicStack.java]]&lt;br /&gt;
* Review Dynamic Queue&lt;br /&gt;
** Memory diagrams for each method&lt;br /&gt;
** Begin/Starting scenarios for each method&lt;br /&gt;
** Draw the before-and-after pictures for adding a Node to an empty Queue (be sure to use head and tail!)&lt;br /&gt;
** Draw the before and after pictures for adding a Node to a non-empty Queue&lt;br /&gt;
** Draw the before-and-after pictures for removing a Node from an empty Queue&lt;br /&gt;
** Draw the before and after pictures for removing a Node from a non-empty Queue&lt;br /&gt;
* Complete and demo [[Media:DynamicQueue.java]]&lt;br /&gt;
&lt;br /&gt;
== Tuesday (11/2/10) ==&lt;br /&gt;
* Teacher Work Day&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>