<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cpking</id>
	<title>Expertiza_Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cpking"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Cpking"/>
	<updated>2026-06-02T21:25:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/greater_and_lesser&amp;diff=11283</id>
		<title>CSC 216/s08/greater and lesser</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/greater_and_lesser&amp;diff=11283"/>
		<updated>2008-04-17T01:16:46Z</updated>

		<summary type="html">&lt;p&gt;Cpking: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Moho Discontinuity==&lt;br /&gt;
&lt;br /&gt;
===Many People Learn By Sight, Programming Has Very Few Visual Aids===&lt;br /&gt;
&lt;br /&gt;
Students will browse around the internet in groups during this lab. Part of the group will be looking for pictures, the other part will be looking at the Java API for functions that can be represented by the pictures the other members have found.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
Students will need to be in at least groups of two and the groups should preferably be even numbers to evenly distribute the work load.&lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
There are multiple ways to do this, you can either give the students a part of the API to find a visual representation, you can give them a visual representation then ask them to find the API content that fits, or they could do both at the same time to maximize creativity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sample Exercises===&lt;br /&gt;
====Exercise 1====&lt;br /&gt;
In this sample we will be displaying a method or class from the Java API and the students can offer a picture that can be associated with it. Students will then also have to explain how.&lt;br /&gt;
=====API=====&lt;br /&gt;
[http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html Certificate]&lt;br /&gt;
=====Picture &amp;amp; Explanation=====&lt;br /&gt;
[[Image:Certificate_pdu.jpg]]&lt;br /&gt;
This image fits because it is, well a certificate. The class is used to implement various encrypted certificates like PGP keys into your code for authentication purposes.&lt;br /&gt;
&lt;br /&gt;
====Exercise 2====&lt;br /&gt;
In this sample we provide the picture then let the students find a method or class it represents.&lt;br /&gt;
=====Image=====&lt;br /&gt;
[[Image:care.jpg]]&lt;br /&gt;
=====API=====&lt;br /&gt;
[http://java.sun.com/javase/6/docs/api/java/io/FileReader.html FileReader]&lt;br /&gt;
This class is reasonably illustrated by the Carebear as they were always on public service commercials in their day promoting the values of reading. The FileReader is a class used in many programs in our own projects that can read and parse files.&lt;br /&gt;
&lt;br /&gt;
=FIN=&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Care.jpg&amp;diff=11282</id>
		<title>File:Care.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Care.jpg&amp;diff=11282"/>
		<updated>2008-04-17T01:12:38Z</updated>

		<summary type="html">&lt;p&gt;Cpking: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/greater_and_lesser&amp;diff=11281</id>
		<title>CSC 216/s08/greater and lesser</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/greater_and_lesser&amp;diff=11281"/>
		<updated>2008-04-17T01:12:17Z</updated>

		<summary type="html">&lt;p&gt;Cpking: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Moho Discontinuity==&lt;br /&gt;
&lt;br /&gt;
===Many People Learn By Sight, Programming Has Very Few Visual Aids===&lt;br /&gt;
&lt;br /&gt;
Students will browse around the internet in groups during this lab. Part of the group will be looking for pictures, the other part will be looking at the Java API for functions that can be represented by the pictures the other members have found.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
Students will need to be in at least groups of two and the groups should preferably be even numbers to evenly distribute the work load.&lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
There are multiple ways to do this, you can either give the students a part of the API to find a visual representation, you can give them a visual representation then ask them to find the API content that fits, or they could do both at the same time to maximize creativity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sample Exercises===&lt;br /&gt;
====Exercise 1====&lt;br /&gt;
In this sample we will be displaying a method or class from the Java API and the students can offer a picture that can be associated with it. Students will then also have to explain how.&lt;br /&gt;
=====API=====&lt;br /&gt;
[http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html Certificate]&lt;br /&gt;
=====Picture &amp;amp; Explanation=====&lt;br /&gt;
[[Image:Certificate_pdu.jpg]]&lt;br /&gt;
This image fits because it is, well a certificate. The class is used to implement various encrypted certificates like PGP keys into your code for authentication purposes.&lt;br /&gt;
&lt;br /&gt;
====Exercise 2====&lt;br /&gt;
In this sample we provide the picture then let the students find a method or class it represents.&lt;br /&gt;
=====Image=====&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Certificate_pdu.jpg&amp;diff=11280</id>
		<title>File:Certificate pdu.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Certificate_pdu.jpg&amp;diff=11280"/>
		<updated>2008-04-17T01:08:01Z</updated>

		<summary type="html">&lt;p&gt;Cpking: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/greater_and_lesser&amp;diff=11279</id>
		<title>CSC 216/s08/greater and lesser</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/greater_and_lesser&amp;diff=11279"/>
		<updated>2008-04-17T00:58:09Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* Moho Discontinuity */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Moho Discontinuity==&lt;br /&gt;
&lt;br /&gt;
===Many People Learn By Sight, Programming Has Very Few Visual Aids===&lt;br /&gt;
&lt;br /&gt;
Students will browse around the internet in groups during this lab. Part of the group will be looking for pictures, the other part will be looking at the Java API for functions that can be represented by the pictures the other members have found.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
Students will need to be in at least groups of two and the groups should preferably be even numbers to evenly distribute the work load.&lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
There are multiple ways to do this, you can either give the students a part of the API to find a visual representation, you can give them a visual representation then ask them to find the API content that fits, or they could do both at the same time to maximize creativity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sample Exercises===&lt;br /&gt;
====Exercise 1====&lt;br /&gt;
In this sample we will be displaying a method or class from the Java API and the students can offer a picture that can be associated with it. Students will then also have to explain how.&lt;br /&gt;
=====API=====&lt;br /&gt;
[http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html Certificate]&lt;br /&gt;
=====Picture &amp;amp; Explanation=====&lt;br /&gt;
[[Image:http://www.umtweb.edu/images/certificate_pdu.jpg]]&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/greater_and_lesser&amp;diff=11278</id>
		<title>CSC 216/s08/greater and lesser</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/greater_and_lesser&amp;diff=11278"/>
		<updated>2008-04-17T00:57:13Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* Moho Discontinuity */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Moho Discontinuity==&lt;br /&gt;
&lt;br /&gt;
===Many People Learn By Sight, Programming Has Very Few Visual Aids===&lt;br /&gt;
&lt;br /&gt;
Students will browse around the internet in groups during this lab. Part of the group will be looking for pictures, the other part will be looking at the Java API for functions that can be represented by the pictures the other members have found.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
Students will need to be in at least groups of two and the groups should preferably be even numbers to evenly distribute the work load.&lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
There are multiple ways to do this, you can either give the students a part of the API to find a visual representation, you can give them a visual representation then ask them to find the API content that fits, or they could do both at the same time to maximize creativity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sample Exercises===&lt;br /&gt;
====Exercise 1====&lt;br /&gt;
In this sample we will be displaying a method or class from the Java API and the students can offer a picture that can be associated with it. Students will then also have to explain how.&lt;br /&gt;
=====API=====&lt;br /&gt;
[http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html Certificate]&lt;br /&gt;
=====Picture &amp;amp; Explanation=====&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/greater_and_lesser&amp;diff=11277</id>
		<title>CSC 216/s08/greater and lesser</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/greater_and_lesser&amp;diff=11277"/>
		<updated>2008-04-17T00:56:27Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* Moho Discontinuity */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Moho Discontinuity==&lt;br /&gt;
&lt;br /&gt;
===Many People Learn By Sight, Programming Has Very Few Visual Aids===&lt;br /&gt;
&lt;br /&gt;
Students will browse around the internet in groups during this lab. Part of the group will be looking for pictures, the other part will be looking at the Java API for functions that can be represented by the pictures the other members have found.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
Students will need to be in at least groups of two and the groups should preferably be even numbers to evenly distribute the work load.&lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
There are multiple ways to do this, you can either give the students a part of the API to find a visual representation, you can give them a visual representation then ask them to find the API content that fits, or they could do both at the same time to maximize creativity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sample Exercises===&lt;br /&gt;
====Exercise 1====&lt;br /&gt;
In this sample we will be displaying a method or class from the Java API and the students can offer a picture that can be associated with it. Students will then also have to explain how.&lt;br /&gt;
=====API=====&lt;br /&gt;
[http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html Certificate]&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/greater_and_lesser&amp;diff=11175</id>
		<title>CSC 216/s08/greater and lesser</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/greater_and_lesser&amp;diff=11175"/>
		<updated>2008-04-15T14:36:12Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* Place Title of Exercise Here */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Moho Discontinuity==&lt;br /&gt;
&lt;br /&gt;
===Many People Learn By Sight, Programming Has Very Few Visual Aids===&lt;br /&gt;
&lt;br /&gt;
Students will browse around the internet in groups during this lab. Part of the group will be looking for pictures, the other part will be looking at the Java API for functions that can be represented by the pictures the other members have found.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
Students will need to be in at least groups of two and the groups should preferably be even numbers to evenly distribute the work load.&lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
There are multiple ways to do this, you can either give the students a part of the API to find a visual representation, you can give them a visual representation then ask them to find the API content that fits, or they could do both at the same time to maximize creativity.&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10724</id>
		<title>CSC 216/s08/youthful aspirations</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10724"/>
		<updated>2008-03-26T21:00:45Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* The Game */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Mad Libs(For J2SE Students)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The problem: Java lectures tend to be boring.===&lt;br /&gt;
&lt;br /&gt;
Basically no matter what you do when lecturing students, their attention spans are going to be fairly limited and within 30s-40s they are no longer paying attention. Inherently, these poor, utterly useless souls will only respond when they hear cues of awkward silence or mass confusion. Our idea is to force student participation via electro-shock therapy... or whimsical humor; which ever is the easiest to implement.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
All students are capable of participating... they simply will shout out what they would like to see written on the board.&lt;br /&gt;
&lt;br /&gt;
==Props==&lt;br /&gt;
*Projector / Screen that is large enough for all students to view the source code on the screen.&lt;br /&gt;
*Laptop / Desktop to project the code and options.&lt;br /&gt;
**Operating system with presentation software.&lt;br /&gt;
**Presentation software.&lt;br /&gt;
**Source code relevant to the lesson you are teaching.&lt;br /&gt;
&lt;br /&gt;
===The Game===&lt;br /&gt;
&lt;br /&gt;
Very similar to how the original Mad Libs game was done, you first examine the source code you plan to work with.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
public class myfirstjavaprog&lt;br /&gt;
  {  &lt;br /&gt;
    public static void main(String args[])&lt;br /&gt;
    {&lt;br /&gt;
      System.out.println(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
    }&amp;lt;br/&amp;gt;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will pull out the key elements to the program which are:&lt;br /&gt;
*Class Name&lt;br /&gt;
*String to be displayed&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point you will display to your students the choices they can name and wait for them to shout out answers. For this demo let us say Cocaine and Charlie Murphy.  So:&lt;br /&gt;
*Class Name = Cocaine&lt;br /&gt;
*String = Charlie Murphy&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will put these into the source code on screen making it look like this:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
public class Cocaine&lt;br /&gt;
    {  &lt;br /&gt;
       public static void main(String args[])&lt;br /&gt;
       {&lt;br /&gt;
          System.out.println(&amp;quot;Charlie Murphy&amp;quot;);&lt;br /&gt;
       }&amp;lt;br/&amp;gt;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you can compile the code on screen and show the relation between the content they generated and how it modifies the code and its output.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
=1.=&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public account create_account(double balance)&lt;br /&gt;
    {&lt;br /&gt;
       account my_account;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       my_account = new account(balance);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       my_account.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return account;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will then have the following modifiers:&lt;br /&gt;
*Return Type:  account&lt;br /&gt;
*Method Name: create_account&lt;br /&gt;
*Double Value: balance&lt;br /&gt;
*New Object: my_account&lt;br /&gt;
&lt;br /&gt;
The class should then shout out a few like these:&lt;br /&gt;
*Return Type: Kevin-Bacon&lt;br /&gt;
*Method Name: Notepad&lt;br /&gt;
*Double Value: Cheese&lt;br /&gt;
*New Object: Corkscrew&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Source code after this is:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public Kevin-Bacon notepad(double cheese)&lt;br /&gt;
    {&lt;br /&gt;
       Kevin-Bacon corkscrew;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       corkscrew = new Kevin-Bacon(cheese);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       corkscrew.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return Kevin-Bacon;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=2=&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
public class Addition&lt;br /&gt;
{&lt;br /&gt;
	/**&lt;br /&gt;
		*This method is the main one and recieves the integers then adds them, the sum is then output to the screen.&lt;br /&gt;
		*@param args&lt;br /&gt;
	*/&lt;br /&gt;
	public static void main(String[] args)&lt;br /&gt;
	{&lt;br /&gt;
		Scanner scan = new&lt;br /&gt;
		Scanner(System.in);&lt;br /&gt;
		System.out.println(&amp;quot;Please enter an integer&amp;quot;);&lt;br /&gt;
		int a = scan.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;Please enter a new integer&amp;quot;);&lt;br /&gt;
		int b = scan.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;The sum of the two integers is &amp;quot; + (a + b));&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Values to change:&lt;br /&gt;
*Class Name: Addition&lt;br /&gt;
*Variable 1: scan&lt;br /&gt;
*String 1: Please enter an integer&lt;br /&gt;
*Variable 2: a&lt;br /&gt;
*String 2: Please enter a new integer&lt;br /&gt;
*Variable 3: b&lt;br /&gt;
*String 3: The sum of the two integers is &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
New Values:&lt;br /&gt;
&lt;br /&gt;
*Class Name: Hippo&lt;br /&gt;
*Variable 1: mouse&lt;br /&gt;
*String 1: Its not what you did, its who saw.&lt;br /&gt;
*Variable 2: LOL_Cat&lt;br /&gt;
*String 2: Until victory always.&lt;br /&gt;
*Variable 3: Hai_Guys&lt;br /&gt;
*String 3: One should always play fairly when one has the winning cards.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
New Code:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
public class Hippo&lt;br /&gt;
{&lt;br /&gt;
	/**&lt;br /&gt;
		*This method is the main one and recieves the integers then adds them, the sum is then output to the screen.&lt;br /&gt;
		*@param args&lt;br /&gt;
	*/&lt;br /&gt;
	public static void main(String[] args)&lt;br /&gt;
	{&lt;br /&gt;
		Scanner mouse = new&lt;br /&gt;
		Scanner(System.in);&lt;br /&gt;
		System.out.println(&amp;quot;Its not what you did, its who saw.&amp;quot;);&lt;br /&gt;
		int LOL_Cat = mouse.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;Until victory always.&amp;quot;);&lt;br /&gt;
		int Hai_Guys = mouse.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;One should always play fairly when one has the winning cards. &amp;quot; + (LOL_Cat + b));&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10723</id>
		<title>CSC 216/s08/youthful aspirations</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10723"/>
		<updated>2008-03-26T20:57:14Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* The problem: Java lectures tend to be boring. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Mad Libs(For J2SE Students)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The problem: Java lectures tend to be boring.===&lt;br /&gt;
&lt;br /&gt;
Basically no matter what you do when lecturing students, their attention spans are going to be fairly limited and within 30s-40s they are no longer paying attention. Inherently, these poor, utterly useless souls will only respond when they hear cues of awkward silence or mass confusion. Our idea is to force student participation via electro-shock therapy... or whimsical humor; which ever is the easiest to implement.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
All students are capable of participating... they simply will shout out what they would like to see written on the board.&lt;br /&gt;
&lt;br /&gt;
==Props==&lt;br /&gt;
*Projector / Screen that is large enough for all students to view the source code on the screen.&lt;br /&gt;
*Laptop / Desktop to project the code and options.&lt;br /&gt;
**Operating system with presentation software.&lt;br /&gt;
**Presentation software.&lt;br /&gt;
**Source code relevant to the lesson you are teaching.&lt;br /&gt;
&lt;br /&gt;
===The Game===&lt;br /&gt;
&lt;br /&gt;
Very similar to how the original Mad Libs game was done, you first examine the source code you plan to work with.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        public class myfirstjavaprog&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will pull out the key elements to the program which are:&lt;br /&gt;
*Class Name&lt;br /&gt;
*String to be displayed&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point you will display to your students the choices they can name and wait for them to shout out answers. For this demo let us say Cocaine and Charlie Murphy.  So:&lt;br /&gt;
*Class Name = Cocaine&lt;br /&gt;
*String = Charlie Murphy&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will put these into the source code on screen making it look like this:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        public class Cocaine&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Charlie Murphy&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you can compile the code on screen and show the relation between the content they generated and how it modifies the code and its output.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
=1.=&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public account create_account(double balance)&lt;br /&gt;
    {&lt;br /&gt;
       account my_account;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       my_account = new account(balance);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       my_account.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return account;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will then have the following modifiers:&lt;br /&gt;
*Return Type:  account&lt;br /&gt;
*Method Name: create_account&lt;br /&gt;
*Double Value: balance&lt;br /&gt;
*New Object: my_account&lt;br /&gt;
&lt;br /&gt;
The class should then shout out a few like these:&lt;br /&gt;
*Return Type: Kevin-Bacon&lt;br /&gt;
*Method Name: Notepad&lt;br /&gt;
*Double Value: Cheese&lt;br /&gt;
*New Object: Corkscrew&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Source code after this is:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public Kevin-Bacon notepad(double cheese)&lt;br /&gt;
    {&lt;br /&gt;
       Kevin-Bacon corkscrew;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       corkscrew = new Kevin-Bacon(cheese);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       corkscrew.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return Kevin-Bacon;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=2=&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
public class Addition&lt;br /&gt;
{&lt;br /&gt;
	/**&lt;br /&gt;
		*This method is the main one and recieves the integers then adds them, the sum is then output to the screen.&lt;br /&gt;
		*@param args&lt;br /&gt;
	*/&lt;br /&gt;
	public static void main(String[] args)&lt;br /&gt;
	{&lt;br /&gt;
		Scanner scan = new&lt;br /&gt;
		Scanner(System.in);&lt;br /&gt;
		System.out.println(&amp;quot;Please enter an integer&amp;quot;);&lt;br /&gt;
		int a = scan.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;Please enter a new integer&amp;quot;);&lt;br /&gt;
		int b = scan.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;The sum of the two integers is &amp;quot; + (a + b));&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Values to change:&lt;br /&gt;
*Class Name: Addition&lt;br /&gt;
*Variable 1: scan&lt;br /&gt;
*String 1: Please enter an integer&lt;br /&gt;
*Variable 2: a&lt;br /&gt;
*String 2: Please enter a new integer&lt;br /&gt;
*Variable 3: b&lt;br /&gt;
*String 3: The sum of the two integers is &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
New Values:&lt;br /&gt;
&lt;br /&gt;
*Class Name: Hippo&lt;br /&gt;
*Variable 1: mouse&lt;br /&gt;
*String 1: Its not what you did, its who saw.&lt;br /&gt;
*Variable 2: LOL_Cat&lt;br /&gt;
*String 2: Until victory always.&lt;br /&gt;
*Variable 3: Hai_Guys&lt;br /&gt;
*String 3: One should always play fairly when one has the winning cards.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
New Code:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
public class Hippo&lt;br /&gt;
{&lt;br /&gt;
	/**&lt;br /&gt;
		*This method is the main one and recieves the integers then adds them, the sum is then output to the screen.&lt;br /&gt;
		*@param args&lt;br /&gt;
	*/&lt;br /&gt;
	public static void main(String[] args)&lt;br /&gt;
	{&lt;br /&gt;
		Scanner mouse = new&lt;br /&gt;
		Scanner(System.in);&lt;br /&gt;
		System.out.println(&amp;quot;Its not what you did, its who saw.&amp;quot;);&lt;br /&gt;
		int LOL_Cat = mouse.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;Until victory always.&amp;quot;);&lt;br /&gt;
		int Hai_Guys = mouse.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;One should always play fairly when one has the winning cards. &amp;quot; + (LOL_Cat + b));&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10722</id>
		<title>CSC 216/s08/youthful aspirations</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10722"/>
		<updated>2008-03-26T20:55:34Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Mad Libs(For J2SE Students)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The problem: Java lectures tend to be boring.===&lt;br /&gt;
&lt;br /&gt;
Basically no matter what you do when lecturing to students, their attention spans are going to be fairly limited and within 30s-40s they are no longer paying attention. Inherently, these poor, utterly useless souls will only respond when they hear cues of awkward silence or mass confusion. Our idea is to force student participation via electro-shock therapy... or whimsical humor; which ever is the easiest to implement.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
All students are capable of participating... they simply will shout out what they would like to see written on the board.&lt;br /&gt;
&lt;br /&gt;
==Props==&lt;br /&gt;
*Projector / Screen that is large enough for all students to view the source code on the screen.&lt;br /&gt;
*Laptop / Desktop to project the code and options.&lt;br /&gt;
**Operating system with presentation software.&lt;br /&gt;
**Presentation software.&lt;br /&gt;
**Source code relevant to the lesson you are teaching.&lt;br /&gt;
&lt;br /&gt;
===The Game===&lt;br /&gt;
&lt;br /&gt;
Very similar to how the original Mad Libs game was done, you first examine the source code you plan to work with.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        public class myfirstjavaprog&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will pull out the key elements to the program which are:&lt;br /&gt;
*Class Name&lt;br /&gt;
*String to be displayed&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point you will display to your students the choices they can name and wait for them to shout out answers. For this demo let us say Cocaine and Charlie Murphy.  So:&lt;br /&gt;
*Class Name = Cocaine&lt;br /&gt;
*String = Charlie Murphy&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will put these into the source code on screen making it look like this:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        public class Cocaine&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Charlie Murphy&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you can compile the code on screen and show the relation between the content they generated and how it modifies the code and its output.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
=1.=&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public account create_account(double balance)&lt;br /&gt;
    {&lt;br /&gt;
       account my_account;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       my_account = new account(balance);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       my_account.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return account;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will then have the following modifiers:&lt;br /&gt;
*Return Type:  account&lt;br /&gt;
*Method Name: create_account&lt;br /&gt;
*Double Value: balance&lt;br /&gt;
*New Object: my_account&lt;br /&gt;
&lt;br /&gt;
The class should then shout out a few like these:&lt;br /&gt;
*Return Type: Kevin-Bacon&lt;br /&gt;
*Method Name: Notepad&lt;br /&gt;
*Double Value: Cheese&lt;br /&gt;
*New Object: Corkscrew&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Source code after this is:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public Kevin-Bacon notepad(double cheese)&lt;br /&gt;
    {&lt;br /&gt;
       Kevin-Bacon corkscrew;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       corkscrew = new Kevin-Bacon(cheese);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       corkscrew.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return Kevin-Bacon;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=2=&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
public class Addition&lt;br /&gt;
{&lt;br /&gt;
	/**&lt;br /&gt;
		*This method is the main one and recieves the integers then adds them, the sum is then output to the screen.&lt;br /&gt;
		*@param args&lt;br /&gt;
	*/&lt;br /&gt;
	public static void main(String[] args)&lt;br /&gt;
	{&lt;br /&gt;
		Scanner scan = new&lt;br /&gt;
		Scanner(System.in);&lt;br /&gt;
		System.out.println(&amp;quot;Please enter an integer&amp;quot;);&lt;br /&gt;
		int a = scan.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;Please enter a new integer&amp;quot;);&lt;br /&gt;
		int b = scan.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;The sum of the two integers is &amp;quot; + (a + b));&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Values to change:&lt;br /&gt;
*Class Name: Addition&lt;br /&gt;
*Variable 1: scan&lt;br /&gt;
*String 1: Please enter an integer&lt;br /&gt;
*Variable 2: a&lt;br /&gt;
*String 2: Please enter a new integer&lt;br /&gt;
*Variable 3: b&lt;br /&gt;
*String 3: The sum of the two integers is &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
New Values:&lt;br /&gt;
&lt;br /&gt;
*Class Name: Hippo&lt;br /&gt;
*Variable 1: mouse&lt;br /&gt;
*String 1: Its not what you did, its who saw.&lt;br /&gt;
*Variable 2: LOL_Cat&lt;br /&gt;
*String 2: Until victory always.&lt;br /&gt;
*Variable 3: Hai_Guys&lt;br /&gt;
*String 3: One should always play fairly when one has the winning cards.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
New Code:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
public class Hippo&lt;br /&gt;
{&lt;br /&gt;
	/**&lt;br /&gt;
		*This method is the main one and recieves the integers then adds them, the sum is then output to the screen.&lt;br /&gt;
		*@param args&lt;br /&gt;
	*/&lt;br /&gt;
	public static void main(String[] args)&lt;br /&gt;
	{&lt;br /&gt;
		Scanner mouse = new&lt;br /&gt;
		Scanner(System.in);&lt;br /&gt;
		System.out.println(&amp;quot;Its not what you did, its who saw.&amp;quot;);&lt;br /&gt;
		int LOL_Cat = mouse.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;Until victory always.&amp;quot;);&lt;br /&gt;
		int Hai_Guys = mouse.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;One should always play fairly when one has the winning cards. &amp;quot; + (LOL_Cat + b));&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10721</id>
		<title>CSC 216/s08/youthful aspirations</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10721"/>
		<updated>2008-03-26T20:47:16Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Mad Libs(For J2SE Students)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The problem: Java lectures tend to be boring.===&lt;br /&gt;
&lt;br /&gt;
Basically no matter what you do when lecturing to students, their attention spans are going to be fairly limited and within 30s-40s they are no longer paying attention. Inherently, these poor, utterly useless souls will only respond when they hear cues of awkward silence or mass confusion. Our idea is to force student participation via electro-shock therapy... or whimsical humor; which ever is the easiest to implement.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
All students are capable of participating... they simply will shout out what they would like to see written on the board.&lt;br /&gt;
&lt;br /&gt;
==Props==&lt;br /&gt;
*Projector / Screen that is large enough for all students to view the source code on the screen.&lt;br /&gt;
*Laptop / Desktop to project the code and options.&lt;br /&gt;
**Operating system with presentation software.&lt;br /&gt;
**Presentation software.&lt;br /&gt;
**Source code relevant to the lesson you are teaching.&lt;br /&gt;
&lt;br /&gt;
===The Game===&lt;br /&gt;
&lt;br /&gt;
Very similar to how the original Mad Libs game was done, you first examine the source code you plan to work with.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        public class myfirstjavaprog&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will pull out the key elements to the program which are:&lt;br /&gt;
*Class Name&lt;br /&gt;
*String to be displayed&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point you will display to your students the choices they can name and wait for them to shout out answers. For this demo let us say Cocaine and Charlie Murphy.  So:&lt;br /&gt;
*Class Name = Cocaine&lt;br /&gt;
*String = Charlie Murphy&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will put these into the source code on screen making it look like this:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        public class Cocaine&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Charlie Murphy&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you can compile the code on screen and show the relation between the content they generated and how it modifies the code and its output.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
=1.=&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public account create_account(double balance)&lt;br /&gt;
    {&lt;br /&gt;
       account my_account;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       my_account = new account(balance);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       my_account.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return account;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will then have the following modifiers:&lt;br /&gt;
*Return Type:  account&lt;br /&gt;
*Method Name: create_account&lt;br /&gt;
*Double Value: balance&lt;br /&gt;
*New Object: my_account&lt;br /&gt;
&lt;br /&gt;
The class should then shout out a few like these:&lt;br /&gt;
*Return Type: Kevin-Bacon&lt;br /&gt;
*Method Name: Notepad&lt;br /&gt;
*Double Value: Cheese&lt;br /&gt;
*New Object: Corkscrew&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Source code after this is:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public Kevin-Bacon notepad(double cheese)&lt;br /&gt;
    {&lt;br /&gt;
       Kevin-Bacon corkscrew;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       corkscrew = new Kevin-Bacon(cheese);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       corkscrew.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return Kevin-Bacon;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=2=&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
public class Addition&lt;br /&gt;
{&lt;br /&gt;
	/**&lt;br /&gt;
		*This method is the main one and recieves the integers then adds them, the sum is then output to the screen.&lt;br /&gt;
		*@param args&lt;br /&gt;
	*/&lt;br /&gt;
	public static void main(String[] args)&lt;br /&gt;
	{&lt;br /&gt;
		Scanner scan = new&lt;br /&gt;
		Scanner(System.in);&lt;br /&gt;
		System.out.println(&amp;quot;Please enter an integer&amp;quot;);&lt;br /&gt;
		int a = scan.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;Please enter a new integer&amp;quot;);&lt;br /&gt;
		int b = scan.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;The sum of the two integers is &amp;quot; + (a + b));&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10720</id>
		<title>CSC 216/s08/youthful aspirations</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10720"/>
		<updated>2008-03-26T20:45:53Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Mad Libs(For J2SE Students)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The problem: Java lectures tend to be boring.===&lt;br /&gt;
&lt;br /&gt;
Basically no matter what you do when lecturing to students, their attention spans are going to be fairly limited and within 30s-40s they are no longer paying attention. Inherently, these poor, utterly useless souls will only respond when they hear cues of awkward silence or mass confusion. Our idea is to force student participation via electro-shock therapy... or whimsical humor; which ever is the easiest to implement.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
All students are capable of participating... they simply will shout out what they would like to see written on the board.&lt;br /&gt;
&lt;br /&gt;
==Props==&lt;br /&gt;
*Projector / Screen that is large enough for all students to view the source code on the screen.&lt;br /&gt;
*Laptop / Desktop to project the code and options.&lt;br /&gt;
**Operating system with presentation software.&lt;br /&gt;
**Presentation software.&lt;br /&gt;
**Source code relevant to the lesson you are teaching.&lt;br /&gt;
&lt;br /&gt;
===The Game===&lt;br /&gt;
&lt;br /&gt;
Very similar to how the original Mad Libs game was done, you first examine the source code you plan to work with.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        public class myfirstjavaprog&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will pull out the key elements to the program which are:&lt;br /&gt;
*Class Name&lt;br /&gt;
*String to be displayed&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point you will display to your students the choices they can name and wait for them to shout out answers. For this demo let us say Cocaine and Charlie Murphy.  So:&lt;br /&gt;
*Class Name = Cocaine&lt;br /&gt;
*String = Charlie Murphy&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will put these into the source code on screen making it look like this:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        public class Cocaine&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Charlie Murphy&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you can compile the code on screen and show the relation between the content they generated and how it modifies the code and its output.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
=1.=&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public account create_account(double balance)&lt;br /&gt;
    {&lt;br /&gt;
       account my_account;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       my_account = new account(balance);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       my_account.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return account;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will then have the following modifiers:&lt;br /&gt;
*Return Type:  account&lt;br /&gt;
*Method Name: create_account&lt;br /&gt;
*Double Value: balance&lt;br /&gt;
*New Object: my_account&lt;br /&gt;
&lt;br /&gt;
The class should then shout out a few like these:&lt;br /&gt;
*Return Type: Kevin-Bacon&lt;br /&gt;
*Method Name: Notepad&lt;br /&gt;
*Double Value: Cheese&lt;br /&gt;
*New Object: Corkscrew&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Source code after this is:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public Kevin-Bacon notepad(double cheese)&lt;br /&gt;
    {&lt;br /&gt;
       Kevin-Bacon corkscrew;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       corkscrew = new Kevin-Bacon(cheese);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       corkscrew.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return Kevin-Bacon;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=2=&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
public class Addition&lt;br /&gt;
{&lt;br /&gt;
	/**&lt;br /&gt;
		*This method is the main one and recieves the integers then adds them, the sum is then output to the screen.&lt;br /&gt;
		*@param args&lt;br /&gt;
	*/&lt;br /&gt;
	public static void main(String[] args)&lt;br /&gt;
	{&lt;br /&gt;
		Scanner scan = new&lt;br /&gt;
		Scanner(System.in);&lt;br /&gt;
		System.out.println(&amp;quot;Please enter an integer&amp;quot;);&lt;br /&gt;
		int a = scan.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;Please enter a new integer&amp;quot;);&lt;br /&gt;
		int b = scan.nextInt();&lt;br /&gt;
		System.out.println(&amp;quot;The sum of the two integers is &amp;quot; + (a + b));&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10717</id>
		<title>CSC 216/s08/youthful aspirations</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10717"/>
		<updated>2008-03-26T20:37:10Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* 1. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Mad Libs(For J2SE Students)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The problem: Java lectures tend to be boring.===&lt;br /&gt;
&lt;br /&gt;
Basically no matter what you do when lecturing to students, their attention spans are going to be fairly limited and within 30s-40s they are no longer paying attention. Inherently, these poor, utterly useless souls will only respond when they hear cues of awkward silence or mass confusion. Our idea is to force student participation via electro-shock therapy... or whimsical humor; which ever is the easiest to implement.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
All students are capable of participating... they simply will shout out what they would like to see written on the board.&lt;br /&gt;
&lt;br /&gt;
==Props==&lt;br /&gt;
*Projector / Screen that is large enough for all students to view the source code on the screen.&lt;br /&gt;
*Laptop / Desktop to project the code and options.&lt;br /&gt;
**Operating system with presentation software.&lt;br /&gt;
**Presentation software.&lt;br /&gt;
**Source code relevant to the lesson you are teaching.&lt;br /&gt;
&lt;br /&gt;
===The Game===&lt;br /&gt;
&lt;br /&gt;
Very similar to how the original Mad Libs game was done, you first examine the source code you plan to work with.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        public class myfirstjavaprog&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will pull out the key elements to the program which are:&lt;br /&gt;
*Class Name&lt;br /&gt;
*String to be displayed&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point you will display to your students the choices they can name and wait for them to shout out answers. For this demo let us say Cocaine and Charlie Murphy.  So:&lt;br /&gt;
*Class Name = Cocaine&lt;br /&gt;
*String = Charlie Murphy&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will put these into the source code on screen making it look like this:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        public class Cocaine&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Charlie Murphy&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you can compile the code on screen and show the relation between the content they generated and how it modifies the code and its output.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
Chris likes older women&lt;br /&gt;
Especially the chinese&lt;br /&gt;
&lt;br /&gt;
=1.=&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public account create_account(double balance)&lt;br /&gt;
    {&lt;br /&gt;
       account my_account;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       my_account = new account(balance);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       my_account.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return account;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will then have the following modifiers:&lt;br /&gt;
*Return Type:  account&lt;br /&gt;
*Method Name: create_account&lt;br /&gt;
*Double Value: balance&lt;br /&gt;
*New Object: my_account&lt;br /&gt;
&lt;br /&gt;
The class should then shout out a few like these:&lt;br /&gt;
*Return Type: Kevin-Bacon&lt;br /&gt;
*Method Name: Notepad&lt;br /&gt;
*Double Value: Cheese&lt;br /&gt;
*New Object: Corkscrew&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Source code after this is:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public Kevin-Bacon notepad(double cheese)&lt;br /&gt;
    {&lt;br /&gt;
       Kevin-Bacon corkscrew;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       corkscrew = new Kevin-Bacon(cheese);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       corkscrew.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return Kevin-Bacon;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=2=&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10714</id>
		<title>CSC 216/s08/youthful aspirations</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10714"/>
		<updated>2008-03-26T20:31:43Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Mad Libs(For J2SE Students)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The problem: Java lectures tend to be boring.===&lt;br /&gt;
&lt;br /&gt;
Basically no matter what you do when lecturing to students, their attention spans are going to be fairly limited and within 30s-40s they are no longer paying attention. Inherently, these poor, utterly useless souls will only respond when they hear cues of awkward silence or mass confusion. Our idea is to force student participation via electro-shock therapy... or whimsical humor; which ever is the easiest to implement.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
All students are capable of participating... they simply will shout out what they would like to see written on the board.&lt;br /&gt;
&lt;br /&gt;
==Props==&lt;br /&gt;
*Projector / Screen that is large enough for all students to view the source code on the screen.&lt;br /&gt;
*Laptop / Desktop to project the code and options.&lt;br /&gt;
**Operating system with presentation software.&lt;br /&gt;
**Presentation software.&lt;br /&gt;
**Source code relevant to the lesson you are teaching.&lt;br /&gt;
&lt;br /&gt;
===The Game===&lt;br /&gt;
&lt;br /&gt;
Very similar to how the original Mad Libs game was done, you first examine the source code you plan to work with.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        public class myfirstjavaprog&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will pull out the key elements to the program which are:&lt;br /&gt;
*Class Name&lt;br /&gt;
*String to be displayed&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point you will display to your students the choices they can name and wait for them to shout out answers. For this demo let us say Cocaine and Charlie Murphy.  So:&lt;br /&gt;
*Class Name = Cocaine&lt;br /&gt;
*String = Charlie Murphy&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will put these into the source code on screen making it look like this:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        public class Cocaine&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Charlie Murphy&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you can compile the code on screen and show the relation between the content they generated and how it modifies the code and its output.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
=1.=&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public account create_account(double balance)&lt;br /&gt;
    {&lt;br /&gt;
       account my_account;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       my_account = new account(balance);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       my_account.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return account;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will then have the following modifiers:&lt;br /&gt;
*Return Type:  account&lt;br /&gt;
*Method Name: create_account&lt;br /&gt;
*First variable Name: account&lt;br /&gt;
*Double Value: balance&lt;br /&gt;
*New Object: my_account&lt;br /&gt;
&lt;br /&gt;
The class should then shout out a few like these:&lt;br /&gt;
*Return Type: Kevin-Bacon&lt;br /&gt;
*Method Name: Notepad&lt;br /&gt;
*First variable Name:Cheese&lt;br /&gt;
*Double Value:Corkscrew&lt;br /&gt;
*New Object: tesla_clone&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Source code after this is:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
  public Kevin-Bacon Notepad(double corkscrew)&lt;br /&gt;
    {&lt;br /&gt;
       notepad cheese;&lt;br /&gt;
  &lt;br /&gt;
       // Instantiate a new object&lt;br /&gt;
       cheese = new Kevin-bacon(corkscrew);&lt;br /&gt;
  &lt;br /&gt;
       // Call the deposit method of our object my_account&lt;br /&gt;
       my_account.deposit(25.00);&lt;br /&gt;
    &lt;br /&gt;
       return account;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10709</id>
		<title>CSC 216/s08/youthful aspirations</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10709"/>
		<updated>2008-03-26T20:16:36Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* The Game */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Mad Libs(For J2SE Students)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The problem: Java lectures tend to be boring.===&lt;br /&gt;
&lt;br /&gt;
Basically no matter what you do to try to lecture to students, their attention span is going to be pretty limited and within 30s-40s they are no longer paying attention and will only later respond when they hear cues of silence or confusion. Our idea is to force student participation via electro shock therapy... or whimsical humor which ever is the easiest to implement.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
All students are capable of participating... they simply will shout out what they would like to see written on the board.&lt;br /&gt;
&lt;br /&gt;
==Props==&lt;br /&gt;
*Projector / Scree that is large enough for all students to currently view the source code on the screen.&lt;br /&gt;
*Laptop / Desktop to project the code and options.&lt;br /&gt;
**Operating system with presentation software.&lt;br /&gt;
**Presentation software.&lt;br /&gt;
**Source code relevant to the lesson you are teaching.&lt;br /&gt;
&lt;br /&gt;
===The Game===&lt;br /&gt;
&lt;br /&gt;
Very similar to how the original Mad Libs game is done you first examine the source code you plan to work with.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        class myfirstjavaprog&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will pull out the key elements to the program which are:&lt;br /&gt;
*Class Name&lt;br /&gt;
*String to be displayed&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point you will display to your students the choices they can name and wait for them to shout out answers. For this demo let us say Cocaine and Charlie Murphy.So:&lt;br /&gt;
*Class Name = Cocaine&lt;br /&gt;
*String = Charlie Murphy&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will put these into the source code on screen making it look like this:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        class Cocaine&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Charlie Murphy&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you can compile the code on screen and show the relation between the content they generated and how it modifies the code and its output.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10708</id>
		<title>CSC 216/s08/youthful aspirations</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10708"/>
		<updated>2008-03-26T20:13:50Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* The script */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Mad Libs(For J2SE Students)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The problem: Java lectures tend to be boring.===&lt;br /&gt;
&lt;br /&gt;
Basically no matter what you do to try to lecture to students, their attention span is going to be pretty limited and within 30s-40s they are no longer paying attention and will only later respond when they hear cues of silence or confusion. Our idea is to force student participation via electro shock therapy... or whimsical humor which ever is the easiest to implement.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
All students are capable of participating... they simply will shout out what they would like to see written on the board.&lt;br /&gt;
&lt;br /&gt;
==Props==&lt;br /&gt;
*Projector / Scree that is large enough for all students to currently view the source code on the screen.&lt;br /&gt;
*Laptop / Desktop to project the code and options.&lt;br /&gt;
**Operating system with presentation software.&lt;br /&gt;
**Presentation software.&lt;br /&gt;
**Source code relevant to the lesson you are teaching.&lt;br /&gt;
&lt;br /&gt;
===The Game===&lt;br /&gt;
&lt;br /&gt;
Very similar to how the original Mad Libs game is done you first examine the source code you plan to work with.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        class myfirstjavaprog&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will pull out the key elements to the program which are:&lt;br /&gt;
*Class Name&lt;br /&gt;
*String to be displayed&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point you will display to your students the choices they can name and wait for them to shout out answers. For this demo let us say Cocaine and Charlie Murphy.So:&lt;br /&gt;
*Class Name = Cocaine&lt;br /&gt;
*String = Charlie Murphy&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will put these into the source code on screen making it look like this:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
        class Cocaine&lt;br /&gt;
        {  &lt;br /&gt;
                public static void main(String args[])&lt;br /&gt;
                {&lt;br /&gt;
                   System.out.println(&amp;quot;Charlie Murphy&amp;quot;);&lt;br /&gt;
                }&amp;lt;br/&amp;gt;&lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10707</id>
		<title>CSC 216/s08/youthful aspirations</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10707"/>
		<updated>2008-03-26T20:00:20Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* Participants and props */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Mad Libs(For J2SE Students)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The problem: Java lectures tend to be boring.===&lt;br /&gt;
&lt;br /&gt;
Basically no matter what you do to try to lecture to students, their attention span is going to be pretty limited and within 30s-40s they are no longer paying attention and will only later respond when they hear cues of silence or confusion. Our idea is to force student participation via electro shock therapy... or whimsical humor which ever is the easiest to implement.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
All students are capable of participating... they simply will shout out what they would like to see written on the board.&lt;br /&gt;
&lt;br /&gt;
==Props==&lt;br /&gt;
*Projector / Scree that is large enough for all students to currently view the source code on the screen.&lt;br /&gt;
*Laptop / Desktop to project the code and options.&lt;br /&gt;
**Operating system with presentation software.&lt;br /&gt;
**Presentation software.&lt;br /&gt;
**Source code relevant to the lesson you are teaching.&lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
&lt;br /&gt;
Describe how to do your exercise.&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10703</id>
		<title>CSC 216/s08/youthful aspirations</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10703"/>
		<updated>2008-03-26T18:00:33Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* Mad Libs(For J2SE Students) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Mad Libs(For J2SE Students)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The problem: Java lectures tend to be boring.===&lt;br /&gt;
&lt;br /&gt;
Basically no matter what you do to try to lecture to students, their attention span is going to be pretty limited and within 30s-40s they are no longer paying attention and will only later respond when they hear cues of silence or confusion. Our idea is to force student participation via electro shock therapy... or whimsical humor which ever is the easiest to implement.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
All students are capable of participating... they simply will shout out what they would like to see written on the board. &lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
&lt;br /&gt;
Describe how to do your exercise.&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10702</id>
		<title>CSC 216/s08/youthful aspirations</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/youthful_aspirations&amp;diff=10702"/>
		<updated>2008-03-26T18:00:00Z</updated>

		<summary type="html">&lt;p&gt;Cpking: /* Place Title of Exercise Here */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Formatting Resources===&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]&lt;br /&gt;
&lt;br /&gt;
==Mad Libs(For J2SE Students)==&lt;br /&gt;
&lt;br /&gt;
Give the title of your exercise, which may include the name of the topic you are covering, or some other catchy title.&lt;br /&gt;
&lt;br /&gt;
===The problem: Java lectures tend to be boring.===&lt;br /&gt;
&lt;br /&gt;
Basically no matter what you do to try to lecture to students, their attention span is going to be pretty limited and within 30s-40s they are no longer paying attention and will only later respond when they hear cues of silence or confusion. Our idea is to force student participation via electro shock therapy... or whimsical humor which ever is the easiest to implement.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
All students are capable of participating... they simply will shout out what they would like to see written on the board. &lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
&lt;br /&gt;
Describe how to do your exercise.&lt;/div&gt;</summary>
		<author><name>Cpking</name></author>
	</entry>
</feed>