<?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_-_1213_-_October</id>
	<title>IBCS2 - 1213 - October - 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_-_1213_-_October"/>
	<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS2_-_1213_-_October&amp;action=history"/>
	<updated>2026-04-12T15:42: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_-_1213_-_October&amp;diff=9543&amp;oldid=prev</id>
		<title>Admin: Protected &quot;IBCS2 - 1213 - October&quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS2_-_1213_-_October&amp;diff=9543&amp;oldid=prev"/>
		<updated>2012-11-15T16:09:27Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wl/IBCS2_-_1213_-_October&quot; title=&quot;IBCS2 - 1213 - October&quot;&gt;IBCS2 - 1213 - October&lt;/a&gt;&amp;quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]&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 16:09, 15 November 2012&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_-_1213_-_October&amp;diff=9541&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;== Wednesday (10/31/12) == * Missing Linked List Demos * Criteria for Success due Friday (11/2/12) * Complete it today!  Use Google Docs!  Be sure to go through the outline and r...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS2_-_1213_-_October&amp;diff=9541&amp;oldid=prev"/>
		<updated>2012-11-15T16:09:11Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Wednesday (10/31/12) == * Missing Linked List Demos * Criteria for Success due Friday (11/2/12) * Complete it today!  Use Google Docs!  Be sure to go through the outline and r...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Wednesday (10/31/12) ==&lt;br /&gt;
* Missing Linked List Demos&lt;br /&gt;
* Criteria for Success due Friday (11/2/12)&lt;br /&gt;
* Complete it today!  Use Google Docs!  Be sure to go through the outline and rubric!&lt;br /&gt;
&lt;br /&gt;
== Monday (10/29/12) ==&lt;br /&gt;
* Hurricane Sandy&lt;br /&gt;
&lt;br /&gt;
== Thursday (10/25/12) ==&lt;br /&gt;
* No 1st Quarter Exam, but we&amp;#039;ll have a comprehensive exam in November&lt;br /&gt;
* Criteria for Success due Friday (11/2/12)&lt;br /&gt;
** How many specific problems did you mention in your A1: Problem Analysis? (should have at least 5)&lt;br /&gt;
** Problem -&amp;gt; Goal Table (Open up a Google Doc and create a table with 2 columns)&lt;br /&gt;
** [[Media:CriterionA2_criteriaforSuccess.doc]] due Friday (11/2/12)&lt;br /&gt;
* Demo Linked List to Mr. Bui using [[Media:LinkedListTestMain.java]]&lt;br /&gt;
&lt;br /&gt;
== Tuesday (10/23/12) ==&lt;br /&gt;
* Complete [[Media:LinkedList.java]]&lt;br /&gt;
* Create your own main that tests out each of the Linked Lists&amp;#039;s methods&lt;br /&gt;
&lt;br /&gt;
== Friday (10/19/12) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Node References Quiz 2&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* [http://contest.idtus.com/highschool/ IDT Programming Contest]&lt;br /&gt;
** Design contest - given a problem scenario, create the solution&lt;br /&gt;
** Teams of 2-3 people&lt;br /&gt;
** Runs from early December to mid February&lt;br /&gt;
** Prizes for students and schools&lt;br /&gt;
* Complete and demo [[Media:DynamicQueue.java]]&lt;br /&gt;
* Introduction to Linked List&lt;br /&gt;
** [http://download.oracle.com/javase/7/docs/api/java/util/LinkedList.html Linked List JavaDoc]&lt;br /&gt;
** Download and complete [[Media:LinkedList.java]]&lt;br /&gt;
** Attributes: first, last, size&lt;br /&gt;
** Constructors: default&lt;br /&gt;
** Methods: listed in the file above&lt;br /&gt;
** Create your own main that tests out each of the Linked Lists&amp;#039;s methods&lt;br /&gt;
&lt;br /&gt;
== Wednesday (10/17/12) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Draw the memory diagram for the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
Node top = null;&lt;br /&gt;
top = new Node(20);&lt;br /&gt;
Node bottom = top;&lt;br /&gt;
top.next = new Node(12);&lt;br /&gt;
bottom = bottom.next;&lt;br /&gt;
bottom.next = new Node(13);&lt;br /&gt;
bottom.next.next = null;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&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;
* 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;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Node References Quiz 2 on Friday (10/19/12)&lt;br /&gt;
* Complete and demo [[Media:DynamicQueue.java]]&lt;br /&gt;
&lt;br /&gt;
== Monday (10/15/12) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Draw the memory diagram for the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
Node x = new Node();&lt;br /&gt;
x.num = 5;&lt;br /&gt;
Node y = new Node();&lt;br /&gt;
y.num = 8;&lt;br /&gt;
y.next = x;&lt;br /&gt;
x.next = null;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Node references practice&lt;br /&gt;
*# Pair up&lt;br /&gt;
*# Each person should type up an example main that uses Nodes&lt;br /&gt;
*# Each person should then draw the memory diagram of the other person&amp;#039;s code&lt;br /&gt;
*# Repeat!&lt;br /&gt;
* Everybody must be an expert using Nodes and references&lt;br /&gt;
* Node Quiz&lt;br /&gt;
* Static vs. Dynamic&lt;br /&gt;
* Dynamically-sized Stacks&lt;br /&gt;
** Stack scenarios and Before-&amp;amp;-After pictures&lt;br /&gt;
**# What are the possible scenarios?&lt;br /&gt;
**# What does the picture look like Before?&lt;br /&gt;
**# What does the picture look like After?&lt;br /&gt;
** Create a new class called DynamicStack&lt;br /&gt;
*** [[Media:Node.java]]&lt;br /&gt;
*** [[Media:DynamicStack.java]]&lt;br /&gt;
** What attribute must we keep track of when we talk about stacks?&lt;br /&gt;
** Create a Node reference for the most important stack attribute&lt;br /&gt;
** Implement &amp;#039;&amp;#039;&amp;#039;void push(int num)&amp;#039;&amp;#039;&amp;#039; using Nodes. &lt;br /&gt;
*** push() should not return anything&lt;br /&gt;
*** push() creates a new Node with the num, and set the new Node&amp;#039;s next reference to the top&lt;br /&gt;
*** Don&amp;#039;t forget to update the top to be the new node!&lt;br /&gt;
** Implement &amp;#039;&amp;#039;&amp;#039;int pop()&amp;#039;&amp;#039;&amp;#039; using Nodes&lt;br /&gt;
*** pop() removes the value on top of the stack, return it&lt;br /&gt;
*** pop() should also update the top&lt;br /&gt;
*** pop() returns &amp;#039;&amp;#039;&amp;#039;null&amp;#039;&amp;#039;&amp;#039; if the stack is empty&lt;br /&gt;
** Implement top(), which should just return the value on top of the stack&lt;br /&gt;
*** If the stack is empty, then return some error code&lt;br /&gt;
** Implement isEmpty() which returns true if the stack is empty, and false otherwise&lt;br /&gt;
** Implement print() which should print your entire stack&lt;br /&gt;
** TEST YOUR STACK USING MR. BUI&amp;#039;S ORIGINAL STACK MAIN OR YOUR OWN MAIN METHOD&lt;br /&gt;
*** Be sure to push A LOT of data to test the dynamic size&lt;br /&gt;
*** Also test popping A LOT of data to make sure it works too&lt;br /&gt;
&lt;br /&gt;
== Thursday (10/11/12) ==&lt;br /&gt;
* What does FIFO stand for?&lt;br /&gt;
* When would you want to use a queue?  Give an example&lt;br /&gt;
* Assume the following queue operations have occurred:&lt;br /&gt;
*# Add &amp;quot;Hyde&amp;quot;&lt;br /&gt;
*# Add &amp;quot;Bradfield&amp;quot;&lt;br /&gt;
*# Add &amp;quot;Infantino&amp;quot;&lt;br /&gt;
*# Remove&lt;br /&gt;
*# Add &amp;quot;Silverman&amp;quot;&lt;br /&gt;
*# Remove&lt;br /&gt;
*# What is left in the queue?&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Demo your completed [[CircularQueue Assignment]]&lt;br /&gt;
* Object and References Review&lt;br /&gt;
** [[Media:Point.java]]&lt;br /&gt;
** [[Media:ReferencesReview.java]]&lt;br /&gt;
* Node class&lt;br /&gt;
** [[Media:Node.java]]&lt;br /&gt;
** [[Media:NodeFun.java]]&lt;br /&gt;
** [[Media:NodeFunAgain.java]]&lt;br /&gt;
* Node Quiz on Monday (10/15/12)&lt;br /&gt;
** Be able to trace code and draw memory diagram&lt;br /&gt;
** Be able to write code that creates a given memory diagram&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Node Quiz on Monday (10/15/12)&lt;br /&gt;
&lt;br /&gt;
== Tuesday (10/9/12) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Stacks Quiz 2&lt;br /&gt;
* Demo your completed [[Media:Queue.java]] using [[Media:QueueMain.java]]&lt;br /&gt;
* [[CircularQueue Assignment]]&lt;br /&gt;
&lt;br /&gt;
== Thursday (10/4/12) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Turn in Criterion A: Analyzing the Problem&lt;br /&gt;
* Stacks Review&lt;br /&gt;
* Stacks Pop Quiz&lt;br /&gt;
* Stacks Quiz 2 on Tuesday (10/9/12)&lt;br /&gt;
* Queueueueueues (Queues)&lt;br /&gt;
** [[Media:Queues.ppt]]&lt;br /&gt;
** [[Media:Queue.java]]&lt;br /&gt;
** [[Media:QueueMain.java]]&lt;br /&gt;
* Fix [[Media:Queue.java]] so that it works. You must fill in all the method bodies&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Stacks Quiz 2 on Tuesday (10/9/12)&lt;br /&gt;
* Fix [[Media:Queue.java]] so that it works with [[Media:QueueMain.java]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>