<?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=Jpcarter</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=Jpcarter"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Jpcarter"/>
	<updated>2026-05-26T15:58:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11366</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11366"/>
		<updated>2008-04-21T02:52:20Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
====Set-up====&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Java5.jpg Here] is an example card.&lt;br /&gt;
&lt;br /&gt;
====Insertion====&lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &lt;br /&gt;
&amp;quot;Next = [name of new student]&amp;quot; on their card.&lt;br /&gt;
&lt;br /&gt;
====Deletion====&lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;br /&gt;
&lt;br /&gt;
====Demonstration====&lt;br /&gt;
&lt;br /&gt;
[http://courses.ncsu.edu/csc216/lec/002/video/t13/ Here] is a demonstration of the exercise.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11348</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11348"/>
		<updated>2008-04-20T19:38:39Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
====Set-up====&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Java5.jpg Here] is an example card.&lt;br /&gt;
&lt;br /&gt;
====Insertion====&lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &lt;br /&gt;
&amp;quot;Next = [name of new student]&amp;quot; on their card.&lt;br /&gt;
&lt;br /&gt;
====Deletion====&lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11347</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11347"/>
		<updated>2008-04-20T19:37:54Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
====Set-up====&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Java5.jpg Here] is an example card.&lt;br /&gt;
&lt;br /&gt;
====Insertion====&lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &lt;br /&gt;
&amp;quot;Next = [name of new student]&amp;quot; on their card.&lt;br /&gt;
&lt;br /&gt;
====Deletion====&lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;br /&gt;
&lt;br /&gt;
[http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Java5.jpg Here] is an example card.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11346</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11346"/>
		<updated>2008-04-20T19:36:51Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
====Set-up====&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list.&lt;br /&gt;
====Insertion====&lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &lt;br /&gt;
&amp;quot;Next = [name of new student]&amp;quot; on their card.&lt;br /&gt;
&lt;br /&gt;
====Deletion====&lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;br /&gt;
&lt;br /&gt;
[[Image:java5.jpg]]&lt;br /&gt;
[http://www.example.com link title]&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Java5.jpg&amp;diff=11345</id>
		<title>File:Java5.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Java5.jpg&amp;diff=11345"/>
		<updated>2008-04-20T19:35:53Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11344</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11344"/>
		<updated>2008-04-20T19:35:27Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
====Set-up====&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list.&lt;br /&gt;
====Insertion====&lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &lt;br /&gt;
&amp;quot;Next = [name of new student]&amp;quot; on their card.&lt;br /&gt;
&lt;br /&gt;
====Deletion====&lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;br /&gt;
&lt;br /&gt;
[[Image:java5.jpg]]&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11343</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11343"/>
		<updated>2008-04-20T19:34:56Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
====Set-up====&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list.&lt;br /&gt;
====Insertion====&lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &lt;br /&gt;
&amp;quot;Next = [name of new student]&amp;quot; on their card.&lt;br /&gt;
&lt;br /&gt;
====Deletion====&lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;br /&gt;
&lt;br /&gt;
[[Image:Example.jpg]]&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11341</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11341"/>
		<updated>2008-04-20T18:57:13Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
====Set-up====&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list.&lt;br /&gt;
====Insertion====&lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card.&lt;br /&gt;
====Deletion====&lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11340</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11340"/>
		<updated>2008-04-20T18:56:03Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list.&lt;br /&gt;
----&lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card.&lt;br /&gt;
----&lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11339</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11339"/>
		<updated>2008-04-20T18:55:16Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list.(----)&lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. (----)&lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11338</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11338"/>
		<updated>2008-04-20T18:54:30Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list.(-----)&lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. (-----)&lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11337</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11337"/>
		<updated>2008-04-20T18:53:39Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
&amp;lt;p&amp;gt;Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&amp;lt;p&amp;gt;Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&amp;lt;p&amp;gt;Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11336</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11336"/>
		<updated>2008-04-20T18:52:55Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11335</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11335"/>
		<updated>2008-04-20T18:52:39Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
 Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
 Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11334</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11334"/>
		<updated>2008-04-20T18:52:17Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11333</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11333"/>
		<updated>2008-04-20T18:50:52Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11332</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11332"/>
		<updated>2008-04-20T18:50:32Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
&amp;lt;indent&amp;gt;Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;indent&amp;gt;Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;indent&amp;gt;Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11331</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11331"/>
		<updated>2008-04-20T18:48:20Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
{{I}}Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&lt;br /&gt;
{{I}}Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&lt;br /&gt;
{{I}}Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11330</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11330"/>
		<updated>2008-04-20T18:47:52Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
{{indent}}Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&lt;br /&gt;
{{indent}}Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&lt;br /&gt;
{{indent}}Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11329</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11329"/>
		<updated>2008-04-20T18:44:59Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;     &lt;br /&gt;
     Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&lt;br /&gt;
     Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&lt;br /&gt;
     Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11328</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11328"/>
		<updated>2008-04-20T18:44:25Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;     &lt;br /&gt;
     Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&lt;br /&gt;
     Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&lt;br /&gt;
     Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11327</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11327"/>
		<updated>2008-04-20T18:44:01Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;     Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&lt;br /&gt;
     Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&lt;br /&gt;
     Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11326</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11326"/>
		<updated>2008-04-20T18:42:37Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11325</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11325"/>
		<updated>2008-04-20T18:42:17Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
: Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&lt;br /&gt;
: Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&lt;br /&gt;
: Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11324</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11324"/>
		<updated>2008-04-20T18:41:52Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
  Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&lt;br /&gt;
  Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&lt;br /&gt;
  Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11323</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11323"/>
		<updated>2008-04-20T18:41:27Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
     Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&lt;br /&gt;
     Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&lt;br /&gt;
     Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11322</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11322"/>
		<updated>2008-04-20T18:40:17Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
:Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&lt;br /&gt;
:Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&lt;br /&gt;
:Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11321</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11321"/>
		<updated>2008-04-20T18:38:01Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
&lt;br /&gt;
Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
&lt;br /&gt;
Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11320</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11320"/>
		<updated>2008-04-20T18:37:26Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need at least 6 students and some paper and writing utensils. &lt;br /&gt;
&lt;br /&gt;
===How to Execute===&lt;br /&gt;
&lt;br /&gt;
    Each student participating in the exercise has a card with &amp;quot;Data = [name]&amp;quot;, name being the name of the student, written on it. One student is chosen to be the head of the list. Three students are then lined up to the left of the head of the list in alphabetical order. Starting from the head, each student will write &amp;quot;Next = [name of the person to their left]&amp;quot; on their card. The last student in the list should write &amp;quot;Next = null&amp;quot; on their card. This setup represents a basic linked list. &lt;br /&gt;
    Now we will practice inserting a new node. One of the remaining students will write &amp;quot;Data = [name]&amp;quot; on their card, and become the new node. The new node will ask if the first node is alphabetically before itself. If the answer is no, the new node will stand to the right of the first node. The new node will then write &amp;quot;Next = [name of the first node]&amp;quot; on his card. If the answer is yes, the new node will ask the next student in line until they receive a &amp;quot;no&amp;quot; answer or reach the end of the line, in which case they will stand at the end of the line write &amp;quot;Next = null&amp;quot;. After the student has found their place in the line, they will write &amp;quot;Next = [name of the student to their left]&amp;quot;. The student to the right of the new student will write &amp;quot;Next = [name of new student]&amp;quot; on their card. &lt;br /&gt;
    Now we will practice deleting a student. The instructor will choose a student to be deleted. Starting at the head of the list, he will ask each student if their &amp;quot;Data = [the chosen value]&amp;quot;. If the answer is yes, the deleted student will pass the value of its &amp;quot;Next&amp;quot; to the student to their right. The student to their right will appropriately change their card, and the chosen student exits the list. Continue these exercises until the concept is understood.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11193</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11193"/>
		<updated>2008-04-15T20:57:52Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &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;
==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list&lt;br /&gt;
&lt;br /&gt;
===The problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need a class full of students and some paper and markers.  &lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
The instructor, or person leading the exercise will issue commands to the students.  The first of these should be the creation of a node.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11182</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11182"/>
		<updated>2008-04-15T19:17:09Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &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;
==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list&lt;br /&gt;
&lt;br /&gt;
===The problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need a class full of students and some paper and markers.  &lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
First, explain the available commands.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11181</id>
		<title>CSC 216/s08/no comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/no_comparison&amp;diff=11181"/>
		<updated>2008-04-15T18:57:24Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &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;
==Linked Lists in Person==&lt;br /&gt;
&lt;br /&gt;
This exercise will help students understand the structure of a linked list&lt;br /&gt;
&lt;br /&gt;
===The problem===&lt;br /&gt;
A linked list is a useful data structure but it can be very confusing for students first trying to grasp it.  This interactive exercise should help students understand the concept.  &lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
To run this exercise, you will need a class full of students and some paper and markers.  &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>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11041</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11041"/>
		<updated>2008-04-03T03:48:01Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.  It should help students understand the usefulness of a line by line approach to debugging like the one found in Eclipse.  &lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
A simple program is given below.  Feel free to write your own programs to apply this exercise to as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
public class Debug {&lt;br /&gt;
	public static void main(String[] args) {&lt;br /&gt;
		System.out.println(&amp;quot;Enter an integer&amp;quot;);&lt;br /&gt;
		Scanner s = new Scanner(System.in);&lt;br /&gt;
		//this line should store the input in the variable x.&lt;br /&gt;
	        int x = s.nextInt();&lt;br /&gt;
		//this line should add 5 to x.&lt;br /&gt;
	        x = x+5;&lt;br /&gt;
		//this line should return the additive inverse of x&lt;br /&gt;
		x = -1*Math.abs(x);&lt;br /&gt;
		//this line should double the integer&lt;br /&gt;
		x = Math.round(x/2);&lt;br /&gt;
		//this line should print -2*(x+5).&lt;br /&gt;
		System.out.println(x);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 2 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side2.jpg] .  An object, such as a ball, that can be passed between students will be needed to represent a 'flag'. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to Play===&lt;br /&gt;
&lt;br /&gt;
Choose a programmer to run and debug the program. Choose several students to represent the lines of code in the program. Each student is handed a card with code on one side and the comment explaining what that code is supposed to be doing on the other side. The students who represent the lines of code should keep the side of the card with the code on it towards themselves and only show the programmer the side with the comments. The students stand in the order the code is supposed to come in. They then wait for the programmer to run them. The programmer passes a parameter of the correct type to the program. Each line of code then executes on the parameter given. Based upon the comments that the programmer is allowed to see and the parameter that he or she passed, they should be able to deduce what the desired, correct output should be. If the lines of code execute and the end result is different from what the programmer computed then it is necessary for the programmer to debug the program. The programmer will start debug mode and hand a flag, which represents the break point, to the first line of code. The first line of code will execute, and the rest of the program waits. The programmer can then query what the current value of the variable is. If satisfied the programmer will step to the next line of code, modeled by the chosen programmer saying, &amp;quot;Pass the flag down to the next line.&amp;quot; If not satisfied the programmer will ask the student to show him the code side of the card. The programmer will then make the necessary corrections and continue the debugging process.&lt;br /&gt;
&lt;br /&gt;
Here is a demonstration of the game:[http://courses.ncsu.edu/csc216/lec/002/video/g9/]&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11038</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11038"/>
		<updated>2008-04-03T03:18:55Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.  It should help students understand the usefulness of a line by line approach to debugging like the one found in Eclipse.  &lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
A simple program is given below.  Feel free to write your own programs to apply this exercise to as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
public class Debug {&lt;br /&gt;
	public static void main(String[] args) {&lt;br /&gt;
		System.out.println(&amp;quot;Enter an integer&amp;quot;);&lt;br /&gt;
		Scanner s = new Scanner(System.in);&lt;br /&gt;
		//this line should store the input in the variable x.&lt;br /&gt;
	        int x = s.nextInt();&lt;br /&gt;
		//this line should add 5 to x.&lt;br /&gt;
	        x = x+5;&lt;br /&gt;
		//this line should return the additive inverse of x&lt;br /&gt;
		x = -1*Math.abs(x);&lt;br /&gt;
		//this line should double the integer&lt;br /&gt;
		x = Math.round(x/2);&lt;br /&gt;
		//this line should print -2*(x+5).&lt;br /&gt;
		System.out.println(x);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 2 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side2.jpg] .  An object, such as a ball, that can be passed between students will be needed to represent a 'flag'. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to Play===&lt;br /&gt;
&lt;br /&gt;
Choose a programmer to run and debug the program. Choose several students to represent the lines of code in the program. Each student is handed a card with code on one side and the comment explaining what that code is supposed to be doing on the other side. The students who represent the lines of code should keep the side of the card with the code on it towards themselves and only show the programmer the side with the comments. The students stand in the order the code is supposed to come in. They then wait for the programmer to run them. The programmer passes a parameter of the correct type to the program. Each line of code then executes on the parameter given. Based upon the comments that the programmer is allowed to see and the parameter that he or she passed, they should be able to deduce what the desired, correct output should be. If the lines of code execute and the end result is different from what the programmer computed then it is necessary for the programmer to debug the program. The programmer will start debug mode and hand a flag, which represents the break point, to the first line of code. The first line of code will execute, and the rest of the program waits. The programmer can then query what the current value of the variable is. If satisfied the programmer will step to the next line of code, modeled by the chosen programmer saying, &amp;quot;Pass the flag down to the next line.&amp;quot; If not satisfied the programmer will ask the student to show him the code side of the card. The programmer will then make the necessary corrections and continue the debugging process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Media:Example.ogg]]&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11031</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11031"/>
		<updated>2008-04-02T23:24:05Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.  It should help students understand the usefulness of a line by line approach to debugging like the one found in Eclipse.  &lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
A simple program is given below.  Feel free to write your own programs to apply this exercise to as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
public class Debug {&lt;br /&gt;
	public static void main(String[] args) {&lt;br /&gt;
		System.out.println(&amp;quot;Enter an integer&amp;quot;);&lt;br /&gt;
		Scanner s = new Scanner(System.in);&lt;br /&gt;
		//this line should store the input in the variable x.&lt;br /&gt;
	        int x = s.nextInt();&lt;br /&gt;
		//this line should add 5 to x.&lt;br /&gt;
	        x = x+5;&lt;br /&gt;
		//this line should return the additive inverse of x&lt;br /&gt;
		x = -1*Math.abs(x);&lt;br /&gt;
		//this line should double the integer&lt;br /&gt;
		x = Math.round(x/2);&lt;br /&gt;
		//this line should print -2*(x+5).&lt;br /&gt;
		System.out.println(x);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 2 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side2.jpg] .  An object, such as a ball, that can be passed between students will be needed to represent a 'flag'. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to Play===&lt;br /&gt;
&lt;br /&gt;
Choose a programmer to run and debug the program. Choose several students to represent the lines of code in the program. Each student is handed a card with code on one side and the comment explaining what that code is supposed to be doing on the other side. The students who represent the lines of code should keep the side of the card with the code on it towards themselves and only show the programmer the side with the comments. The students stand in the order the code is supposed to come in. They then wait for the programmer to run them. The programmer passes a parameter of the correct type to the program. Each line of code then executes on the parameter given. Based upon the comments that the programmer is allowed to see and the parameter that he or she passed, they should be able to deduce what the desired, correct output should be. If the lines of code execute and the end result is different from what the programmer computed then it is necessary for the programmer to debug the program. The programmer will start debug mode and hand a flag, which represents the break point, to the first line of code. The first line of code will execute, and the rest of the program waits. The programmer can then query what the current value of the variable is. If satisfied the programmer will step to the next line of code, modeled by the chosen programmer saying, &amp;quot;Pass the flag down to the next line.&amp;quot; If not satisfied the programmer will ask the student to show him the code side of the card. The programmer will then make the necessary corrections and continue the debugging process.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11030</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11030"/>
		<updated>2008-04-02T23:22:58Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.  It should help students understand the usefulness of a line by line approach to debugging like the one found in Eclipse.  &lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
A simple program is given below.  Feel free to write your own programs to apply this exercise to as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
public class Debug {&lt;br /&gt;
	public static void main(String[] args) {&lt;br /&gt;
		System.out.println(&amp;quot;Enter an integer&amp;quot;);&lt;br /&gt;
		Scanner s = new Scanner(System.in);&lt;br /&gt;
		//this line should store the input in the variable x.&lt;br /&gt;
	        int x = s.nextInt();&lt;br /&gt;
		//this line should add 5 to x.&lt;br /&gt;
	        x = x+5;&lt;br /&gt;
		//this line should return the additive inverse of x&lt;br /&gt;
		x = -1*Math.abs(x);&lt;br /&gt;
		//this line should double the integer&lt;br /&gt;
		x = Math.round(x/2);&lt;br /&gt;
		//this line should print -2*(x+5).&lt;br /&gt;
		System.out.println(x);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 2 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side2.jpg] .  An object, such as a ball, that can be passed between students will be needed to represent a 'flag'. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to Play===&lt;br /&gt;
&lt;br /&gt;
Choose a programmer to run and debug the program. Choose several students to represent the lines of code in the program. Each student is handed a card with code on one side and the comment explaining what that code is supposed to be doing on the other side. The students who represent the lines of code should keep the side of the card with the code on it towards themselves and only show the programmer the side with the comments. The students stand in the order the code is supposed to come in. They then wait for the programmer to run them. The programmer passes a parameter of the correct type to the program. Each line of code then executes on the parameter given. Based upon the comments that the programmer is allowed to see and the parameter that he or she passed, they should be able to deduce what the desired, correct output should be. If the lines of code execute and the end result is different from what the programmer computed then it is necessary for the programmer to debug the program. The programmer will start debug mode and hand a flag, which represents the break point, to the first line of code. The first line of code will execute, and the rest of the program waits. The programmer can then query what the current value of the variable is. If satisfied the programmer will step to the next line of code, modeled by the chosen programmer saying, &amp;quot;Pass the flag down to the next line.&amp;quot; If not satisfied the programmer will ask the student to show him the code side of the card. The programmer will then make the necessary corrections and continue the debugging process.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11029</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11029"/>
		<updated>2008-04-02T23:21:23Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.  It should help students understand the usefulness of a line by line approach to debugging like the one found in Eclipse.  &lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
A simple program is given below.  Feel free to write your own programs to apply this exercise to as well. &lt;br /&gt;
&lt;br /&gt;
 import java.util.Scanner;&lt;br /&gt;
 public class Debug {&lt;br /&gt;
	 public static void main(String[] args) {&lt;br /&gt;
		 System.out.println(&amp;quot;Enter an integer&amp;quot;);&lt;br /&gt;
		 Scanner s = new Scanner(System.in);&lt;br /&gt;
		 //this line should store the input in the variable x.&lt;br /&gt;
		 int x = s.nextInt();&lt;br /&gt;
		 //this line should add 5 to x.&lt;br /&gt;
		 x = x+5;&lt;br /&gt;
		 //this line should return the additive inverse of x&lt;br /&gt;
		 x = -1*Math.abs(x);&lt;br /&gt;
		 //this line should double the integer&lt;br /&gt;
		 x = Math.round(x/2);&lt;br /&gt;
		 //this line should print -2*(x+5).&lt;br /&gt;
		 System.out.println(x);&lt;br /&gt;
	 }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 2 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side2.jpg] .  An object, such as a ball, that can be passed between students will be needed to represent a 'flag'. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to Play===&lt;br /&gt;
&lt;br /&gt;
Choose a programmer to run and debug the program. Choose several students to represent the lines of code in the program. Each student is handed a card with code on one side and the comment explaining what that code is supposed to be doing on the other side. The students who represent the lines of code should keep the side of the card with the code on it towards themselves and only show the programmer the side with the comments. The students stand in the order the code is supposed to come in. They then wait for the programmer to run them. The programmer passes a parameter of the correct type to the program. Each line of code then executes on the parameter given. Based upon the comments that the programmer is allowed to see and the parameter that he or she passed, they should be able to deduce what the desired, correct output should be. If the lines of code execute and the end result is different from what the programmer computed then it is necessary for the programmer to debug the program. The programmer will start debug mode and hand a flag, which represents the break point, to the first line of code. The first line of code will execute, and the rest of the program waits. The programmer can then query what the current value of the variable is. If satisfied the programmer will step to the next line of code, modeled by the chosen programmer saying, &amp;quot;Pass the flag down to the next line.&amp;quot; If not satisfied the programmer will ask the student to show him the code side of the card. The programmer will then make the necessary corrections and continue the debugging process.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11028</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11028"/>
		<updated>2008-04-02T23:19:37Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.  It should help students understand the usefulness of a line by line approach to debugging like the one found in Eclipse.  &lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
A simple program is given below.  Feel free to write your own programs to apply this exercise to as well. &lt;br /&gt;
&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
public class Debug {&lt;br /&gt;
	public static void main(String[] args) {&lt;br /&gt;
		System.out.println(&amp;quot;Enter an integer&amp;quot;);&lt;br /&gt;
		Scanner s = new Scanner(System.in);&lt;br /&gt;
		//this line should store the input in the variable x.&lt;br /&gt;
		int x = s.nextInt();&lt;br /&gt;
		//this line should add 5 to x.&lt;br /&gt;
		x = x+5;&lt;br /&gt;
		//this line should return the additive inverse of x&lt;br /&gt;
		x = -1*Math.abs(x);&lt;br /&gt;
		//this line should double the integer&lt;br /&gt;
		x = Math.round(x/2);&lt;br /&gt;
		//this line should print -2*(x+5).&lt;br /&gt;
		System.out.println(x);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 2 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side2.jpg] .  An object, such as a ball, that can be passed between students will be needed to represent a 'flag'. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to Play===&lt;br /&gt;
&lt;br /&gt;
Choose a programmer to run and debug the program. Choose several students to represent the lines of code in the program. Each student is handed a card with code on one side and the comment explaining what that code is supposed to be doing on the other side. The students who represent the lines of code should keep the side of the card with the code on it towards themselves and only show the programmer the side with the comments. The students stand in the order the code is supposed to come in. They then wait for the programmer to run them. The programmer passes a parameter of the correct type to the program. Each line of code then executes on the parameter given. Based upon the comments that the programmer is allowed to see and the parameter that he or she passed, they should be able to deduce what the desired, correct output should be. If the lines of code execute and the end result is different from what the programmer computed then it is necessary for the programmer to debug the program. The programmer will start debug mode and hand a flag, which represents the break point, to the first line of code. The first line of code will execute, and the rest of the program waits. The programmer can then query what the current value of the variable is. If satisfied the programmer will step to the next line of code, modeled by the chosen programmer saying, &amp;quot;Pass the flag down to the next line.&amp;quot; If not satisfied the programmer will ask the student to show him the code side of the card. The programmer will then make the necessary corrections and continue the debugging process.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11027</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=11027"/>
		<updated>2008-04-02T23:13:21Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
The exercise uses a simple program to help students understand the process of debugging.  A simple program is given after the description of the exercise.  You should also feel free to here[http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side3.jpg] but many more could be designed.&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 2 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side2.jpg] .  An object, such as a ball, that can be passed between students will be needed to represent a 'flag'. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to Play===&lt;br /&gt;
&lt;br /&gt;
Choose a programmer to run and debug the program. Choose several students to represent the lines of code in the program. Each student is handed a card with code on one side and the comment explaining what that code is supposed to be doing on the other side. The students who represent the lines of code should keep the side of the card with the code on it towards themselves and only show the programmer the side with the comments. The students stand in the order the code is supposed to come in. They then wait for the programmer to run them. The programmer passes a parameter of the correct type to the program. Each line of code then executes on the parameter given. Based upon the comments that the programmer is allowed to see and the parameter that he or she passed, they should be able to deduce what the desired, correct output should be. If the lines of code execute and the end result is different from what the programmer computed then it is necessary for the programmer to debug the program. The programmer will start debug mode and hand a flag, which represents the break point, to the first line of code. The first line of code will execute, and the rest of the program waits. The programmer can the query what the current value of the variable is. If satisfied the programmer will step to the next line of code, modeled by the chosen programmer saying, &amp;quot;Pass the flag down to the next line.&amp;quot; If not satisfied the programmer will ask the student to show him the code side of the card. The programmer will then make the necessary corrections and continue the debugging process.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Side3.jpg&amp;diff=10997</id>
		<title>File:Side3.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Side3.jpg&amp;diff=10997"/>
		<updated>2008-04-02T15:04:52Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Side3.jpg&amp;diff=10996</id>
		<title>File:Side3.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Side3.jpg&amp;diff=10996"/>
		<updated>2008-04-02T15:03:28Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;import java.util.Scanner;&lt;br /&gt;
public class Debug {&lt;br /&gt;
&lt;br /&gt;
	public static void main(String[] args) {&lt;br /&gt;
		System.out.println(&amp;quot;Enter an integer&amp;quot;);&lt;br /&gt;
		Scanner s = new Scanner(System.in);&lt;br /&gt;
		//this line should store the input in the variable x.&lt;br /&gt;
		int x = s.nextInt();&lt;br /&gt;
		//this line should add 5 to x.&lt;br /&gt;
		x = x+5;&lt;br /&gt;
		//this line should return the additive inverse of x&lt;br /&gt;
		x = -1*Math.abs(x);&lt;br /&gt;
		//this line should double the integer&lt;br /&gt;
		x = Math.round(x/2);&lt;br /&gt;
		//this line should print -2*(x+5).&lt;br /&gt;
		System.out.println(x);&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10653</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10653"/>
		<updated>2008-03-25T23:33:59Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
A simple example program is given here[http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side3.jpg] but many more could be designed.&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 2 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side2.jpg] .  An object, such as a ball, that can be passed between students will be needed to represent a 'flag'. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to Play===&lt;br /&gt;
&lt;br /&gt;
Choose a programmer to run and debug the program. Choose several students to represent the lines of code in the program. Each student is handed a card with code on one side and the comment explaining what that code is supposed to be doing on the other side. The students who represent the lines of code should keep the side of the card with the code on it towards themselves and only show the programmer the side with the comments. The students stand in the order the code is supposed to come in. They then wait for the programmer to run them. The programmer passes a parameter of the correct type to the program. Each line of code then executes on the parameter given. Based upon the comments that the programmer is allowed to see and the parameter that he or she passed, they should be able to deduce what the desired, correct output should be. If the lines of code execute and the end result is different from what the programmer computed then it is necessary for the programmer to debug the program. The programmer will start debug mode and hand a flag, which represents the break point, to the first line of code. The first line of code will execute, and the rest of the program waits. The programmer can the query what the current value of the variable is. If satisfied the programmer will step to the next line of code, modeled by the chosen programmer saying, &amp;quot;Pass the flag down to the next line.&amp;quot; If not satisfied the programmer will ask the student to show him the code side of the card. The programmer will then make the necessary corrections and continue the debugging process.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10651</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10651"/>
		<updated>2008-03-25T21:55:36Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
A simple example program is given here[http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side3.jpg] but many more could be designed.&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 2 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side2.jpg] .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The Script===&lt;br /&gt;
&lt;br /&gt;
Pick one student to be the programmer.  Pick other students to represent lines of code, as many students as cards.  It would be helpful to display the entire program on a screen for the whole class to see.    &lt;br /&gt;
&lt;br /&gt;
The programmer should place a flag where they think the program's problems start, likely with the first line of code represented by a student.  Model this by having the student lines of code pass a ball or flag.  &lt;br /&gt;
The programmer should be able to read the comments on the card but not the code which is on the back side of the card.  The programmer can ask the student line of code for the current value of any variables of interest, in this example, x.  If the value is not what is expected, the programmer will know to change this line of code.  &lt;br /&gt;
When satisfied with one line, the programmer should ask to step to the next line.  The student line of code will then pass the ball/ flag to the next student line of code.  Again, the programmer can ask for the current value of any variables.  Continue stepping through the program and editing lines as you move along until the end is reached.&lt;br /&gt;
The programmer will need to try several inputs to ensure all bugs are removed.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Side3.jpg&amp;diff=10650</id>
		<title>File:Side3.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Side3.jpg&amp;diff=10650"/>
		<updated>2008-03-25T21:54:54Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10649</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10649"/>
		<updated>2008-03-25T21:53:43Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
A simple example program is given here[[Image:side3.jpg]] but many more could be designed.&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 2 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side2.jpg] .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The Script===&lt;br /&gt;
&lt;br /&gt;
Pick one student to be the programmer.  Pick other students to represent lines of code, as many students as cards.  It would be helpful to display the entire program on a screen for the whole class to see.    &lt;br /&gt;
&lt;br /&gt;
The programmer should place a flag where they think the program's problems start, likely with the first line of code represented by a student.  Model this by having the student lines of code pass a ball or flag.  &lt;br /&gt;
The programmer should be able to read the comments on the card but not the code which is on the back side of the card.  The programmer can ask the student line of code for the current value of any variables of interest, in this example, x.  If the value is not what is expected, the programmer will know to change this line of code.  &lt;br /&gt;
When satisfied with one line, the programmer should ask to step to the next line.  The student line of code will then pass the ball/ flag to the next student line of code.  Again, the programmer can ask for the current value of any variables.  Continue stepping through the program and editing lines as you move along until the end is reached.&lt;br /&gt;
The programmer will need to try several inputs to ensure all bugs are removed.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10648</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10648"/>
		<updated>2008-03-25T21:48:40Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
A simple example program is given here but many more could be designed.&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 2 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side2.jpg] .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The Script===&lt;br /&gt;
&lt;br /&gt;
Pick one student to be the programmer.  Pick other students to represent lines of code, as many students as cards.  It would be helpful to display the entire program on a screen for the whole class to see.    &lt;br /&gt;
&lt;br /&gt;
The programmer should place a flag where they think the program's problems start, likely with the first line of code represented by a student.  Model this by having the student lines of code pass a ball or flag.  &lt;br /&gt;
The programmer should be able to read the comments on the card but not the code which is on the back side of the card.  The programmer can ask the student line of code for the current value of any variables of interest, in this example, x.  If the value is not what is expected, the programmer will know to change this line of code.  &lt;br /&gt;
When satisfied with one line, the programmer should ask to step to the next line.  The student line of code will then pass the ball/ flag to the next student line of code.  Again, the programmer can ask for the current value of any variables.  Continue stepping through the program and editing lines as you move along until the end is reached.&lt;br /&gt;
The programmer will need to try several inputs to ensure all bugs are removed.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Side2.jpg&amp;diff=10647</id>
		<title>File:Side2.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Side2.jpg&amp;diff=10647"/>
		<updated>2008-03-25T21:48:10Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10646</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10646"/>
		<updated>2008-03-25T21:47:19Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
A simple example program is given here but many more could be designed.&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 2 [[Image:side2.jpg]] .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The Script===&lt;br /&gt;
&lt;br /&gt;
Pick one student to be the programmer.  Pick other students to represent lines of code, as many students as cards.  It would be helpful to display the entire program on a screen for the whole class to see.    &lt;br /&gt;
&lt;br /&gt;
The programmer should place a flag where they think the program's problems start, likely with the first line of code represented by a student.  Model this by having the student lines of code pass a ball or flag.  &lt;br /&gt;
The programmer should be able to read the comments on the card but not the code which is on the back side of the card.  The programmer can ask the student line of code for the current value of any variables of interest, in this example, x.  If the value is not what is expected, the programmer will know to change this line of code.  &lt;br /&gt;
When satisfied with one line, the programmer should ask to step to the next line.  The student line of code will then pass the ball/ flag to the next student line of code.  Again, the programmer can ask for the current value of any variables.  Continue stepping through the program and editing lines as you move along until the end is reached.&lt;br /&gt;
The programmer will need to try several inputs to ensure all bugs are removed.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10645</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10645"/>
		<updated>2008-03-25T21:46:56Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
A simple example program is given here but many more could be designed.&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 2 .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The Script===&lt;br /&gt;
&lt;br /&gt;
Pick one student to be the programmer.  Pick other students to represent lines of code, as many students as cards.  It would be helpful to display the entire program on a screen for the whole class to see.    &lt;br /&gt;
&lt;br /&gt;
The programmer should place a flag where they think the program's problems start, likely with the first line of code represented by a student.  Model this by having the student lines of code pass a ball or flag.  &lt;br /&gt;
The programmer should be able to read the comments on the card but not the code which is on the back side of the card.  The programmer can ask the student line of code for the current value of any variables of interest, in this example, x.  If the value is not what is expected, the programmer will know to change this line of code.  &lt;br /&gt;
When satisfied with one line, the programmer should ask to step to the next line.  The student line of code will then pass the ball/ flag to the next student line of code.  Again, the programmer can ask for the current value of any variables.  Continue stepping through the program and editing lines as you move along until the end is reached.&lt;br /&gt;
The programmer will need to try several inputs to ensure all bugs are removed.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10644</id>
		<title>Csc 216/s08/high virtue</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Csc_216/s08/high_virtue&amp;diff=10644"/>
		<updated>2008-03-25T21:46:25Z</updated>

		<summary type="html">&lt;p&gt;Jpcarter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Interactive Debugging==&lt;br /&gt;
&lt;br /&gt;
This exercise illustrates stepping through a program line by line to debug it.&lt;br /&gt;
&lt;br /&gt;
===The Problem===&lt;br /&gt;
&lt;br /&gt;
A simple example program is given here but many more could be designed.&lt;br /&gt;
&lt;br /&gt;
===Participants and Props===&lt;br /&gt;
&lt;br /&gt;
This exercise will require members of the class to act as lines of codes and one to be the programmer/ debugger.  Cards with code on one side and comments on the other should be prepared before class.  An example of a card for this program is given here: side 1 [http://pg-server.csc.ncsu.edu/mediawiki/index.php/Image:Side1.jpg] and side 1 .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The Script===&lt;br /&gt;
&lt;br /&gt;
Pick one student to be the programmer.  Pick other students to represent lines of code, as many students as cards.  It would be helpful to display the entire program on a screen for the whole class to see.    &lt;br /&gt;
&lt;br /&gt;
The programmer should place a flag where they think the program's problems start, likely with the first line of code represented by a student.  Model this by having the student lines of code pass a ball or flag.  &lt;br /&gt;
The programmer should be able to read the comments on the card but not the code which is on the back side of the card.  The programmer can ask the student line of code for the current value of any variables of interest, in this example, x.  If the value is not what is expected, the programmer will know to change this line of code.  &lt;br /&gt;
When satisfied with one line, the programmer should ask to step to the next line.  The student line of code will then pass the ball/ flag to the next student line of code.  Again, the programmer can ask for the current value of any variables.  Continue stepping through the program and editing lines as you move along until the end is reached.&lt;br /&gt;
The programmer will need to try several inputs to ensure all bugs are removed.&lt;/div&gt;</summary>
		<author><name>Jpcarter</name></author>
	</entry>
</feed>