<?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=IBCS1_-_1718_-_May</id>
	<title>IBCS1 - 1718 - May - 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=IBCS1_-_1718_-_May"/>
	<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1718_-_May&amp;action=history"/>
	<updated>2026-04-15T08:47:35Z</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=IBCS1_-_1718_-_May&amp;diff=14499&amp;oldid=prev</id>
		<title>Admin: Protected &quot;IBCS1 - 1718 - May&quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1718_-_May&amp;diff=14499&amp;oldid=prev"/>
		<updated>2018-06-26T20:16:12Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wl/IBCS1_-_1718_-_May&quot; title=&quot;IBCS1 - 1718 - May&quot;&gt;IBCS1 - 1718 - May&lt;/a&gt;&amp;quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (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 20:16, 26 June 2018&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=IBCS1_-_1718_-_May&amp;diff=14496&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;== Wednesday (5/30/18) == &#039;&#039;&#039;Agenda:&#039;&#039;&#039; * Brick assignment ** Design and implement a Brick class ** Instance variables: *** int x *** int y *** int w *** int h *** color c //w...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1718_-_May&amp;diff=14496&amp;oldid=prev"/>
		<updated>2018-06-26T20:15:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Wednesday (5/30/18) == &amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039; * Brick assignment ** Design and implement a Brick class ** Instance variables: *** int x *** int y *** int w *** int h *** color c //w...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Wednesday (5/30/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Brick assignment&lt;br /&gt;
** Design and implement a Brick class&lt;br /&gt;
** Instance variables:&lt;br /&gt;
*** int x&lt;br /&gt;
*** int y&lt;br /&gt;
*** int w&lt;br /&gt;
*** int h&lt;br /&gt;
*** color c //we will go over this in class&lt;br /&gt;
*** boolean visible&lt;br /&gt;
** Methods:&lt;br /&gt;
*** Brick() //constructor - sets all the instance variables to appropriate values&lt;br /&gt;
*** Brick(int x, int y, int w, int h, color c) //specific constructor - we will learn about this&lt;br /&gt;
*** display() //displays the brick if it is visible (true)&lt;br /&gt;
*** setVisible(boolean v) //set the visible instance variable to v&lt;br /&gt;
* Demo your Brick in a new sketch using the main code below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
Brick b0;&lt;br /&gt;
Brick b1;&lt;br /&gt;
Brick b2;&lt;br /&gt;
Brick b3;&lt;br /&gt;
Brick b4;&lt;br /&gt;
int time = millis();&lt;br /&gt;
&lt;br /&gt;
void setup()&lt;br /&gt;
{&lt;br /&gt;
  size(600, 600);&lt;br /&gt;
  b0 = new Brick(50, height/2, 100, 25, color(255, 0, 0));&lt;br /&gt;
  b1 = new Brick(150, height/2, 100, 25, color(128, 128, 0));&lt;br /&gt;
  b2 = new Brick(250, height/2, 100, 25, color(128, 128, 128));&lt;br /&gt;
  b3 = new Brick(350, height/2, 100, 25, color(0, 255, 0));&lt;br /&gt;
  b4 = new Brick(450, height/2, 100, 25, color(0, 255, 255));&lt;br /&gt;
  time = millis();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void draw()&lt;br /&gt;
{&lt;br /&gt;
  background(0);&lt;br /&gt;
  b0.display();&lt;br /&gt;
  b1.display();&lt;br /&gt;
  b2.display();&lt;br /&gt;
  b3.display();&lt;br /&gt;
  b4.display();&lt;br /&gt;
  if (millis() - time &amp;gt; 500)&lt;br /&gt;
  {&lt;br /&gt;
    b0.setVisible(false);&lt;br /&gt;
    b1.setVisible(false);&lt;br /&gt;
    b2.setVisible(false);&lt;br /&gt;
    b3.setVisible(false);&lt;br /&gt;
    b4.setVisible(false);&lt;br /&gt;
  }&lt;br /&gt;
  if(millis() - time &amp;gt; 1000)&lt;br /&gt;
  {&lt;br /&gt;
    time = millis();&lt;br /&gt;
    b0.setVisible(true);&lt;br /&gt;
    b1.setVisible(true);&lt;br /&gt;
    b2.setVisible(true);&lt;br /&gt;
    b3.setVisible(true);&lt;br /&gt;
    b4.setVisible(true);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Wednesday - Friday (5/23/18 - 5/24/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Please complete [https://goo.gl/forms/h8F8tZOqxwxG4Wxj2 Mr. Bui&amp;#039;s End of Course Survey]&lt;br /&gt;
* Surprise!&lt;br /&gt;
** Extra credit if...&lt;br /&gt;
* Finish Paddle hitTop() walk through&lt;br /&gt;
* Demonstrate and missing assignments&lt;br /&gt;
* Design and implement a Brick class&lt;br /&gt;
** What attributes would a Brick have?&lt;br /&gt;
** What methods would a Brick have?&lt;br /&gt;
&lt;br /&gt;
== Thursday (5/17/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Implement the following methods in the Paddle class:&lt;br /&gt;
** void moveLeft() - adjust the Paddle&amp;#039;s x variable appropriately using dx&lt;br /&gt;
** void moveRight() - adjust the Paddle&amp;#039;s x variable appropriately using dx&lt;br /&gt;
** void moveUp() - adjust the Paddle&amp;#039;s y variable appropriately using dy&lt;br /&gt;
** void moveDown() - adjust the Paddle&amp;#039;s y variable appropriately using dy&lt;br /&gt;
* Test out your methods by calling them using the keyboard in the main tab&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Classes and objects review&lt;br /&gt;
* Paddle hitTop() walk through&lt;br /&gt;
&lt;br /&gt;
== Tuesday (5/15/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* If you were not here last class, please watch the linked video about Xerox PARC at home&lt;br /&gt;
** [https://www.youtube.com/watch?v=ZFUsYXZSMqs Xerox PARC, Apple, &amp;amp; Microsoft history]&lt;br /&gt;
* Introduction Object-Oriented Programming&lt;br /&gt;
** Ball class review&lt;br /&gt;
** Complete and integrate the Paddle class.  Demo this for credit&lt;br /&gt;
** Create a new method in the Paddle class:&lt;br /&gt;
*** boolean hitTop(Ball b) - returns true if b collides with the top edge of the Paddle (we will discuss this more, but you can try to do it yourself).  Return false otherwise&lt;br /&gt;
&lt;br /&gt;
== Wednesday - Friday (5/9/18 - 5/11/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Demo converted List Exercises&lt;br /&gt;
* [https://www.youtube.com/watch?v=ZFUsYXZSMqs Xerox PARC, Apple, &amp;amp; Microsoft history]&lt;br /&gt;
* Processing Java arrays and bouncing ball&lt;br /&gt;
* Introduction to Java classes and objects&lt;br /&gt;
** [https://processing.org/tutorials/objects/ Processing - Objects Tutorial]&lt;br /&gt;
** Define a Paddle class with the following instance variables and methods:&lt;br /&gt;
*** Instance variables (attributes):&lt;br /&gt;
**** int x&lt;br /&gt;
**** int y&lt;br /&gt;
**** int w&lt;br /&gt;
**** int h&lt;br /&gt;
*** Methods&lt;br /&gt;
**** Paddle() //constructor&lt;br /&gt;
**** display() //draws a rectangle using the Paddle&amp;#039;s instance variables&lt;br /&gt;
**** moveMouse() //sets the x and y instance variables using the mouseX and mouseY variables&lt;br /&gt;
** Add a Paddle to your program&lt;br /&gt;
&lt;br /&gt;
== Monday (5/7/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* No Internet&lt;br /&gt;
* Convert your [[Advanced Python List Exercises]] to use Java arrays&lt;br /&gt;
** We will walked through the first two examples last class&lt;br /&gt;
** Convert and be prepared to demo List Min/Max and Reverse&lt;br /&gt;
&lt;br /&gt;
== Tuesday - Thursday (5/1/18 - 5/3/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* [https://survey.k12insight.com/r/CvhCPg CTE Program Completer Survey]&lt;br /&gt;
* Convert any looped program to use a for loop (Prime, Monte Carlo, Taylor Series, etc.)&lt;br /&gt;
** Demo your program&lt;br /&gt;
* Java arrays [lists]&lt;br /&gt;
** [[Media:JavaArrays Basic.ppt]]&lt;br /&gt;
** Convert your [[Advanced Python List Exercises]] to use Java arrays&lt;br /&gt;
** We will walk through the first two examples&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>