<?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=Sjlouder</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=Sjlouder"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Sjlouder"/>
	<updated>2026-06-29T00:22:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/Debugging_Scavenger_Hunt&amp;diff=28090</id>
		<title>CSC 216 F09/Debugging Scavenger Hunt</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/Debugging_Scavenger_Hunt&amp;diff=28090"/>
		<updated>2009-11-18T05:00:49Z</updated>

		<summary type="html">&lt;p&gt;Sjlouder: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Debugging Scavenger Hunt==&lt;br /&gt;
By: Steven Loudermilk and Shane Oaks&lt;br /&gt;
&lt;br /&gt;
===Introduction===&lt;br /&gt;
&lt;br /&gt;
This exercise will help students get used to debugging and the debugging techniques/processes of many IDEs. It also gives students a realistic task that they will most likely come across during their programming career. However, it is best utilized once students are familiar with the basics of a debugging environment, not as an introduction.&lt;br /&gt;
&lt;br /&gt;
===Materials===&lt;br /&gt;
&lt;br /&gt;
For this exercise, you will need: &amp;lt;br/&amp;gt;&lt;br /&gt;
-The source code of a rigged program&amp;lt;br/&amp;gt;&lt;br /&gt;
-Java IDE&lt;br /&gt;
&lt;br /&gt;
===How To Play===&lt;br /&gt;
&lt;br /&gt;
Students are given the source code to a program. The code will contain comments that explain the intended function of the variables, methods, etc., however will have many different kinds of errors. From this, they are given the task of finding the errors, and correcting them. The first team that can produce the intended output wins!&lt;br /&gt;
&lt;br /&gt;
===Source Code===&lt;br /&gt;
&lt;br /&gt;
The source code should have errors that deal with many different types of debugging problems, for example: &lt;br /&gt;
&lt;br /&gt;
-A loop where the second-to-last run produces a division by zero. In order to make this more difficult to detect, have the loop contain a trig function (sin(x), cos(x), etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
-A function that calls a variable in another class that is declared as private&amp;lt;br/&amp;gt;&lt;br /&gt;
-A GUI where one of the elements isn't lined up correctly&amp;lt;br/&amp;gt;&lt;br /&gt;
-An arrayOutOfBounds() exception&amp;lt;br/&amp;gt;&lt;br /&gt;
-etc.&lt;/div&gt;</summary>
		<author><name>Sjlouder</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/Debugging_Scavenger_Hunt&amp;diff=28084</id>
		<title>CSC 216 F09/Debugging Scavenger Hunt</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/Debugging_Scavenger_Hunt&amp;diff=28084"/>
		<updated>2009-11-18T04:57:24Z</updated>

		<summary type="html">&lt;p&gt;Sjlouder: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Debugging Scavenger Hunt==&lt;br /&gt;
By: Steven Loudermilk and Shane&lt;br /&gt;
&lt;br /&gt;
===Introduction===&lt;br /&gt;
&lt;br /&gt;
This exercise will help students get used to debugging and the debugging techniques/processes of many IDEs. It also gives students a realistic task that they will most likely come across during their programming career. However, it is best utilized once students are familiar with the basics of a debugging environment, not as an introduction.&lt;br /&gt;
&lt;br /&gt;
===Materials===&lt;br /&gt;
&lt;br /&gt;
For this exercise, you will need: &amp;lt;br/&amp;gt;&lt;br /&gt;
-The source code of a rigged program&amp;lt;br/&amp;gt;&lt;br /&gt;
-Java IDE&lt;br /&gt;
&lt;br /&gt;
===How To Play===&lt;br /&gt;
&lt;br /&gt;
Students are given the source code to a program. The code will contain comments that explain the intended function of the variables, methods, etc., however will have many different kinds of errors. From this, they are given the task of finding the errors, and correcting them. The first team that can produce the intended output wins!&lt;br /&gt;
&lt;br /&gt;
===Source Code===&lt;br /&gt;
&lt;br /&gt;
The source code should have errors that deal with many different types of debugging problems, for example: &lt;br /&gt;
&lt;br /&gt;
-A loop where the second-to-last run produces a division by zero. In order to make this more difficult to detect, have the loop contain a trig function (sin(x), cos(x), etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
-A function that calls a variable in another class that is declared as private&amp;lt;br/&amp;gt;&lt;br /&gt;
-A GUI where one of the elements isn't lined up correctly&amp;lt;br/&amp;gt;&lt;br /&gt;
-An arrayOutOfBounds() exception&amp;lt;br/&amp;gt;&lt;br /&gt;
-etc.&lt;/div&gt;</summary>
		<author><name>Sjlouder</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/_VisualExceptionHandlingExercise&amp;diff=28070</id>
		<title>CSC 216 F09/ VisualExceptionHandlingExercise</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/_VisualExceptionHandlingExercise&amp;diff=28070"/>
		<updated>2009-11-18T04:54:40Z</updated>

		<summary type="html">&lt;p&gt;Sjlouder: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Exercises==&lt;br /&gt;
&lt;br /&gt;
===Data Structures===&lt;br /&gt;
&lt;br /&gt;
[[CSC 216 F09/Data Structure Jeopardy|Data Structure Jeopardy]]&lt;br /&gt;
&lt;br /&gt;
===Debugging===&lt;br /&gt;
&lt;br /&gt;
[[CSC 216 F09/Debugging Scavenger Hunt|Debugging Scavenger Hunt]]&lt;br /&gt;
&lt;br /&gt;
===Exceptions===&lt;br /&gt;
[[Visual Exception Handling Excercise]]&lt;br /&gt;
&lt;br /&gt;
===GUIs===&lt;br /&gt;
&lt;br /&gt;
[[CSC 216 F09/javicimo|Javicimo]]&lt;br /&gt;
&lt;br /&gt;
[[CSC 216 F09/ActionListener|ActionListener Charades]]&lt;br /&gt;
&lt;br /&gt;
[[CSC 216 F09/Who want to be Millionaire|Who want to be Millionaire]]&lt;br /&gt;
&lt;br /&gt;
===Inheritance===&lt;br /&gt;
&lt;br /&gt;
[[CSC 216 F09/Inheritance-Polymorphism|Inheritance-Polymorphism]]&lt;br /&gt;
&lt;br /&gt;
===Interfaces===&lt;br /&gt;
&lt;br /&gt;
[[CSC 216 F09/Interfaces1|Interfaces-Comparing Similarities Among Different Types of Objects]]&lt;br /&gt;
&lt;br /&gt;
===Other===&lt;br /&gt;
&lt;br /&gt;
[[CSC 216 F09/Who Wants to be a CSC Major|Who Wants to be a CSC Major]]&lt;br /&gt;
&lt;br /&gt;
[[CSC 216 F09/Java Pursuit|Java Pursuit]]&lt;br /&gt;
&lt;br /&gt;
===Polymorphism===&lt;br /&gt;
&lt;br /&gt;
[[CSC 216 F09/polymorphism showdown|Polymorphism Showdown]]&lt;br /&gt;
&lt;br /&gt;
===Recursion===&lt;br /&gt;
&lt;br /&gt;
[[CSC 216 F09/Recursion Exercise|Recursion Exercise]]&lt;/div&gt;</summary>
		<author><name>Sjlouder</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/Recursion_Exercise&amp;diff=28055</id>
		<title>CSC 216 F09/Recursion Exercise</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/Recursion_Exercise&amp;diff=28055"/>
		<updated>2009-11-18T04:37:22Z</updated>

		<summary type="html">&lt;p&gt;Sjlouder: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Background==&lt;br /&gt;
This is a simple exercise for finding recursive equations and writing them as Java code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Props===&lt;br /&gt;
1. Whiteboard&lt;br /&gt;
&lt;br /&gt;
2. Access to a Java editor&lt;br /&gt;
&lt;br /&gt;
===Procedure===&lt;br /&gt;
&lt;br /&gt;
1) Give each row a sequence of numbers. &lt;br /&gt;
&lt;br /&gt;
Ex:&lt;br /&gt;
&lt;br /&gt;
	a) 2, 6, 10, 14,...&lt;br /&gt;
&lt;br /&gt;
	b) 0, 1, 0, 1...&lt;br /&gt;
&lt;br /&gt;
	c) 2, 6, 12, 20...&lt;br /&gt;
&lt;br /&gt;
	d) 1, 4, 9, 16...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) Then have each row work together to find the recursive definition for the sequences.&lt;br /&gt;
&lt;br /&gt;
Ex:&lt;br /&gt;
&lt;br /&gt;
	a) 4n-2&lt;br /&gt;
&lt;br /&gt;
	b) 1+(-1)^n&lt;br /&gt;
&lt;br /&gt;
	c) n(n + 1)&lt;br /&gt;
&lt;br /&gt;
	d) n^2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Lastly, each group should write Java code to implement the recursive equation and submit via Google Docs.  &lt;br /&gt;
&lt;br /&gt;
Ex:&lt;br /&gt;
&lt;br /&gt;
a) &lt;br /&gt;
&lt;br /&gt;
public int recursion( int n ){&lt;br /&gt;
    int a = 0;&lt;br /&gt;
    if(n == 1) a = 2;&lt;br /&gt;
    else a = recursion( n - 1 ) + 4;&lt;br /&gt;
    return a;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
By: David Duran &amp;amp; Dereck Allred&lt;/div&gt;</summary>
		<author><name>Sjlouder</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/_VisualExceptionHandlingExercise&amp;diff=28052</id>
		<title>CSC 216 F09/ VisualExceptionHandlingExercise</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/_VisualExceptionHandlingExercise&amp;diff=28052"/>
		<updated>2009-11-18T04:34:18Z</updated>

		<summary type="html">&lt;p&gt;Sjlouder: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Visual Exception Handling Excercise]]&lt;br /&gt;
&lt;br /&gt;
[[http://pg-server.csc.ncsu.edu/mediawiki/index.php/CSC_216_F09/polymorphism_showdown Polymorphism Showdown]]&lt;br /&gt;
&lt;br /&gt;
==Exercises==&lt;br /&gt;
&lt;br /&gt;
===Inheritance===&lt;br /&gt;
&lt;br /&gt;
===GUIs===&lt;br /&gt;
&lt;br /&gt;
[http://pg-server.csc.ncsu.edu/mediawiki/index.php/CSC_216_F09/javicimo Javicimo]&lt;br /&gt;
&lt;br /&gt;
===[[CSC 216 F09/Data Structure Jeopardy|Data Structure Jeopardy]]===&lt;br /&gt;
&lt;br /&gt;
===[[CSC 216 F09/Who Wants to be a CSC Major|Who Wants to be a CSC Major]]===&lt;br /&gt;
&lt;br /&gt;
===[[CSC 216 F09/Interfaces1|Interfaces-Comparing Similarities Among Different Types of Objects]]===&lt;br /&gt;
&lt;br /&gt;
===[[CSC 216 F09/ActionListener|ActionListener Charades]]===&lt;br /&gt;
&lt;br /&gt;
===[[CSC 216 F09/Who want to be Millionaire|Who want to be Millionaire]]===&lt;br /&gt;
&lt;br /&gt;
===[[CSC 216 F09/Inheritance-Polymorphism|Inheritance-Polymorphism]]===&lt;br /&gt;
&lt;br /&gt;
===[[CSC 216 F09/Java Pursuit|Java Pursuit]]===&lt;br /&gt;
&lt;br /&gt;
===[[CSC 216 F09/Debugging Scavenger Hunt|Debugging Scavenger Hunt]]===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://pg-server.csc.ncsu.edu/mediawiki/index.php/CSC_216_F09/ Recursion Exercise]&lt;/div&gt;</summary>
		<author><name>Sjlouder</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/Debugging_Scavenger_Hunt&amp;diff=28040</id>
		<title>CSC 216 F09/Debugging Scavenger Hunt</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/Debugging_Scavenger_Hunt&amp;diff=28040"/>
		<updated>2009-11-18T04:29:51Z</updated>

		<summary type="html">&lt;p&gt;Sjlouder: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Introduction===&lt;br /&gt;
&lt;br /&gt;
This exercise will help students get used to debugging and the debugging techniques/processes of many IDEs. It also gives students a realistic task that they will most likely come across during their programming career. However, it is best utilized once students are familiar with the basics of a debugging environment, not as an introduction.&lt;br /&gt;
&lt;br /&gt;
===Materials===&lt;br /&gt;
&lt;br /&gt;
For this exercise, you will need: &amp;lt;br/&amp;gt;&lt;br /&gt;
-The source code of a rigged program&amp;lt;br/&amp;gt;&lt;br /&gt;
-java IDE&lt;br /&gt;
&lt;br /&gt;
===How To Play===&lt;br /&gt;
&lt;br /&gt;
Students are given the source code to a program. The code will contain comments that explain the intended function of the variables, methods, etc., however will have many different kinds of errors. From this, they are given the task of finding the errors, and correcting them. The first team that can produce the intended output wins!&lt;br /&gt;
&lt;br /&gt;
===Source Code===&lt;br /&gt;
&lt;br /&gt;
The source code should have errors that deal with many different types of debugging problems, for example: &lt;br /&gt;
&lt;br /&gt;
-A loop where the second-to-last run produces a division by zero. In order to make this more difficult to detect, have the loop contain a trig function (sin(x), cos(x), etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
-A function that calls a variable in another class that is declared as private&amp;lt;br/&amp;gt;&lt;br /&gt;
-A GUI where one of the elements isn't lined up correctly&amp;lt;br/&amp;gt;&lt;br /&gt;
-An arrayOutOfBounds() exception&amp;lt;br/&amp;gt;&lt;br /&gt;
-etc.&lt;/div&gt;</summary>
		<author><name>Sjlouder</name></author>
	</entry>
</feed>