<?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=Cool+Username</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=Cool+Username"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Cool_Username"/>
	<updated>2026-05-31T08:34:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Talk:CSC_216/s08/but_one_lamp&amp;diff=11192</id>
		<title>Talk:CSC 216/s08/but one lamp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Talk:CSC_216/s08/but_one_lamp&amp;diff=11192"/>
		<updated>2008-04-15T20:41:07Z</updated>

		<summary type="html">&lt;p&gt;Cool Username: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;What do you think of this page?&lt;/div&gt;</summary>
		<author><name>Cool Username</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/but_one_lamp&amp;diff=11191</id>
		<title>CSC 216/s08/but one lamp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/but_one_lamp&amp;diff=11191"/>
		<updated>2008-04-15T20:40:26Z</updated>

		<summary type="html">&lt;p&gt;Cool Username: &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;
==An Introduction to Threads==&lt;br /&gt;
&lt;br /&gt;
This project will introduce threads to students who have no previous knowledge on the subject.&lt;br /&gt;
&lt;br /&gt;
===What are Threads?===&lt;br /&gt;
&lt;br /&gt;
Threads are a way to break up your machine's processing so it can do many tasks all at the same time. These tasks are able to share variables, monitor each other’s progress, and begin and terminate separately.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
For this too work, six students with a healthy desire for competition must be chosen from the class. &lt;br /&gt;
&lt;br /&gt;
The only required materials are two decks of playing cards, eight note cards, and a table to sit around.&lt;br /&gt;
&lt;br /&gt;
==How it works==&lt;br /&gt;
&lt;br /&gt;
===Table Setup===&lt;br /&gt;
[[Image:VectorArrayPic.jpg]]&amp;lt;br&amp;gt;&lt;br /&gt;
Each team should have four square &amp;quot;variables&amp;quot; or note cards, that represent either an Array or Vector.(Depending on previous knowledge and/or whether or not array resizing should be incorporated into the exercise) These Vectors are normal instance variables for the single student team. For the 5 student team, the Vectors are instance variables of the Driver and therefore shared variables amongs the threads.&lt;br /&gt;
&lt;br /&gt;
===Game Summary===&lt;br /&gt;
First the teacher should get out two decks of cards, remove the jokers, and shuffle well. He should then get a single volunteer from the class and hand him one of the decks. Next, the teacher should find five more students ready to compete against the other student giving one of the other students the second deck. The teacher will instruct the single student that when he says go, that student should sort the card into suite and then order each suite from 2 to Ace. He will then instruct the group of five that when he says go, the student with the deck, the Driver, should count out exactly thirteen cards and give it to one of his fellow students, a thread. He should repeat until all the cards are given out. As soon as a thread gets a deck it may begin to sort it into each suite by placing a card in it's coresponding vector. A thread may not pick up any cards unless handed it by the driver. It may, however, begin it's task as soon as it receives cards without having to wait on another thread to be initialized. Once all threads have terminated the suite sort, the driver must then give each thread a stack (suite) to sort from 2 to Ace. The group of five people should finish much faster than the single person.&lt;br /&gt;
&lt;br /&gt;
This simulation should show that by breaking up processing in this way, threads can accomplish a task faster than a single thread. The teacher should then go on to teach some of the more intricacies of threads.&lt;/div&gt;</summary>
		<author><name>Cool Username</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/but_one_lamp&amp;diff=11180</id>
		<title>CSC 216/s08/but one lamp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/but_one_lamp&amp;diff=11180"/>
		<updated>2008-04-15T18:43:44Z</updated>

		<summary type="html">&lt;p&gt;Cool Username: &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;
==An Introduction to Threads==&lt;br /&gt;
&lt;br /&gt;
This project will introduce threads to students who have no previous knowledge on the subject.&lt;br /&gt;
&lt;br /&gt;
===What are Threads?===&lt;br /&gt;
&lt;br /&gt;
Threads are a way to break up your machine's processing so it can do many tasks all at the same time. These tasks are able to share variables, monitor each other’s progress, and begin and terminate separately.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
For this too work, six students with a healthy desire for compotation will have to be chosen from the class. &lt;br /&gt;
&lt;br /&gt;
The only required materials are two decks of playing cards and a table to sit around.&lt;br /&gt;
&lt;br /&gt;
===How it works===&lt;br /&gt;
&lt;br /&gt;
First the teacher should get out two sets of cards, remove the jokers, and shuffle well. He should then get a single volunteer from the class and hand him one of the decks. Next, the teacher should find five more students ready to compete against the other student giving one of the other students the second deck. The teacher will instruct the single student that when he says go, that student should sort the card into suite and then from 2 to Ace by suite. He will then instruct the group of five that when he says go, the student with the deck, the Driver, should count out exactly thirteen cards and give it to one of his fellow students, a thread. He should repeat until all the cards are given out. As soon as a thread gets a deck it may begin to sort it into suite and place it in the middle of the table where the threads shared variables go. The thread may not pick up any cards unless handed by the driver and may begin it's task as soon as it receives cards without having to wait. Once all threads have terminated the suite sort, the driver may then give each thread a stack to sort from 2 to Ace. The group of five people should finish much faster than the single person.&lt;br /&gt;
&lt;br /&gt;
This simulation should show that by breaking it up processing in such a way, threads can accomplish some tasks faster than a single program. The teacher should then go on and teach some of the more intricacies of threads.&lt;/div&gt;</summary>
		<author><name>Cool Username</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/but_one_lamp&amp;diff=11179</id>
		<title>CSC 216/s08/but one lamp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/but_one_lamp&amp;diff=11179"/>
		<updated>2008-04-15T18:42:26Z</updated>

		<summary type="html">&lt;p&gt;Cool Username: &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;
==An Introduction to Threads==&lt;br /&gt;
&lt;br /&gt;
This project will introduce threads to students who have no previous knowlage on the subject.&lt;br /&gt;
&lt;br /&gt;
===What are Threads?===&lt;br /&gt;
&lt;br /&gt;
Threads are a way to break up your machine's processing so it can do many tasks all at the same time. These tasks are able to share variables, moniter each others progress, and begin and terminate seperatly.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
For this two work, six students with a healthy desire for compotion will have to be chosen from the class. &lt;br /&gt;
&lt;br /&gt;
The only required materials are two decks of playing cards and a table to sit around.&lt;br /&gt;
&lt;br /&gt;
===How it works===&lt;br /&gt;
&lt;br /&gt;
First the teacher should get out two sets of cards, remove the jokers, and shuffle well. He should then get a single volunteer from the class and hand him one of the decks. Next, the teacher should find five more students ready to compete against the other student giving one of the other students the second deck. The teacher will instruct the single student that when he says go, that student should sort the card into suite and then from 2 to Ace by suite. He will then instruct the group of five that when he says go, the student with the deck, the Driver, should count out exactly thirteen cards and give it to one of his fellow students, a thread. He should repeat until all the cards are given out. As soon as a thread gets a deck it may begin to sort it into suite and place it in the middle of the table where the threads shared variables go. The thread may not pick up any cards unless handed by the driver and may begin it's task as soon as it recieves cards without having to wait. Once all threads have terminated the suite sort, the driver may then give each thread a stack to sort from 2 to Ace. The group of five people should finish much faster than the single person.&lt;br /&gt;
&lt;br /&gt;
This simulation should show that by breaking it up processing in such a way, threads can accomplish some tasks faster than a single program. The teacher should then go on and teach some of the more intricaces of threads.&lt;/div&gt;</summary>
		<author><name>Cool Username</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/but_one_lamp&amp;diff=11178</id>
		<title>CSC 216/s08/but one lamp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/but_one_lamp&amp;diff=11178"/>
		<updated>2008-04-15T18:41:56Z</updated>

		<summary type="html">&lt;p&gt;Cool Username: &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;
==An Introduction to Threads==&lt;br /&gt;
&lt;br /&gt;
This project will introduce threads to students who have no previous knowlage on the subject.&lt;br /&gt;
&lt;br /&gt;
===What are Threads?===&lt;br /&gt;
&lt;br /&gt;
Threads are a way to break up your machine's processing so it can do many tasks all at the same time. These tasks are able to share variables, moniter each others progress, and begin and terminate seperatly.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
For this two work, six students with a healthy desire for compotion will have to be chosen from the class. The only required materials are two decks of playing cards and a table to sit around.&lt;br /&gt;
&lt;br /&gt;
===How it works===&lt;br /&gt;
&lt;br /&gt;
First the teacher should get out two sets of cards, remove the jokers, and shuffle well. He should then get a single volunteer from the class and hand him one of the decks. Next, the teacher should find five more students ready to compete against the other student giving one of the other students the second deck. The teacher will instruct the single student that when he says go, that student should sort the card into suite and then from 2 to Ace by suite. He will then instruct the group of five that when he says go, the student with the deck, the Driver, should count out exactly thirteen cards and give it to one of his fellow students, a thread. He should repeat until all the cards are given out. As soon as a thread gets a deck it may begin to sort it into suite and place it in the middle of the table where the threads shared variables go. The thread may not pick up any cards unless handed by the driver and may begin it's task as soon as it recieves cards without having to wait. Once all threads have terminated the suite sort, the driver may then give each thread a stack to sort from 2 to Ace. The group of five people should finish much faster than the single person.&lt;br /&gt;
&lt;br /&gt;
This simulation should show that by breaking it up processing in such a way, threads can accomplish some tasks faster than a single program. The teacher should then go on and teach some of the more intricaces of threads.&lt;/div&gt;</summary>
		<author><name>Cool Username</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/but_one_lamp&amp;diff=11140</id>
		<title>CSC 216/s08/but one lamp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/but_one_lamp&amp;diff=11140"/>
		<updated>2008-04-10T20:46:37Z</updated>

		<summary type="html">&lt;p&gt;Cool Username: &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;
==Place Title of Exercise Here==&lt;br /&gt;
&lt;br /&gt;
Give the title of your exercise, which may include the name of the topic you are covering, or some other catchy title.&lt;br /&gt;
&lt;br /&gt;
===ONE BUTT LAMP===&lt;br /&gt;
&lt;br /&gt;
===The problem===&lt;br /&gt;
&lt;br /&gt;
Describe what you are attempting to teach students by this exercise.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
How many students will participate?  What else do you need (e.g., old tennis ball, Powerpoint slides, software).&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>Cool Username</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/but_one_lamp&amp;diff=11139</id>
		<title>CSC 216/s08/but one lamp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/but_one_lamp&amp;diff=11139"/>
		<updated>2008-04-10T20:45:55Z</updated>

		<summary type="html">&lt;p&gt;Cool Username: new page name&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;
ONE BUTT LAMP&lt;br /&gt;
&lt;br /&gt;
==Place Title of Exercise Here==&lt;br /&gt;
&lt;br /&gt;
Give the title of your exercise, which may include the name of the topic you are covering, or some other catchy title.&lt;br /&gt;
&lt;br /&gt;
===The problem===&lt;br /&gt;
&lt;br /&gt;
Describe what you are attempting to teach students by this exercise.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
How many students will participate?  What else do you need (e.g., old tennis ball, Powerpoint slides, software).&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>Cool Username</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=Talk:CSC_216/s08/exercise_caution&amp;diff=11011</id>
		<title>Talk:CSC 216/s08/exercise caution</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Talk:CSC_216/s08/exercise_caution&amp;diff=11011"/>
		<updated>2008-04-02T20:46:33Z</updated>

		<summary type="html">&lt;p&gt;Cool Username: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First Post....&lt;br /&gt;
So, how about we make soemthing about Threads and using them?&lt;br /&gt;
&lt;br /&gt;
Well, threads aren't covered in CSC 216.&lt;br /&gt;
&lt;br /&gt;
I think that this is a good idea for a game, but it is necessary to give some examples of questions and how the game might play itself out.  Your goal is to create a learning exercise that can be used in class, not just give someone an idea of how to create a learning exercise.&lt;br /&gt;
&lt;br /&gt;
I would suggest coming up with one fully-worked-out example, and suggesting ideas for a couple more.&lt;br /&gt;
&lt;br /&gt;
We have now uploaded the questions we have been planning for a while. We hope they meet with your specifications.&lt;/div&gt;</summary>
		<author><name>Cool Username</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/exercise_caution&amp;diff=11008</id>
		<title>CSC 216/s08/exercise caution</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/exercise_caution&amp;diff=11008"/>
		<updated>2008-04-02T20:13:59Z</updated>

		<summary type="html">&lt;p&gt;Cool Username: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Four Questions==&lt;br /&gt;
&lt;br /&gt;
===Testing student's knowledge===&lt;br /&gt;
This exercise is meant to be a kind of test of previously assigned study material. The preparation for this test is meant to be done before class. It takes about twenty minutes to play from beginning to end.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
All the students in the class can participate. The props needed are: 4 flash cards or pieces of paper with questions and a clock or stopwatch.&lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
The instructor assigns some study material for students to study before class. He then writes down four different questions on four different pieces of paper based on the study material. Due to the nature of this game, the questions need to be somewhat difficult and conceptual or subjective in nature.&lt;br /&gt;
&lt;br /&gt;
This game is played in four stages: &lt;br /&gt;
&lt;br /&gt;
'''Stage 1''' &amp;lt;br/&amp;gt;&lt;br /&gt;
At the beginning of the class period, the instructor divides the class into four groups and hands out the pieces of paper to each group. After the rules of the game are explained, the students are given three minutes to discuss the answers to the questions with their team members.&lt;br /&gt;
&lt;br /&gt;
'''Stage 2''' &amp;lt;br/&amp;gt;&lt;br /&gt;
After the three minutes are up, the students are given the option of talking about their question to team members from other groups. The catch is, a student can either ask a question pertaining to what is written on his assigned problem, or the student can answer another students question by responding with both a true ''and'' a false answer. This stage also takes three minutes.&lt;br /&gt;
&lt;br /&gt;
'''Stage 3''' &amp;lt;br/&amp;gt;&lt;br /&gt;
After the interrogation stage is over, the students are again allowed to discuss their findings with their teammates for three minutes.&lt;br /&gt;
&lt;br /&gt;
'''Stage 4''' &amp;lt;br/&amp;gt;&lt;br /&gt;
Finally, the teams are asked to come one by one to the front of the class to tell their question and give out their answer. The instructor may comment on the answers.&lt;br /&gt;
&lt;br /&gt;
===Questions Used to Teach GUI's===&lt;br /&gt;
'''Listeners'''&amp;lt;br&amp;gt;&lt;br /&gt;
1. The implementation of listeners in GUI's is an example of _______________ Programming.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(a)Modular&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(b)Event Driven&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(c)Audable&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
2. An ActionListener relies on this method for action processing.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(a)actionPerformed&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(b)processExecuted&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(c)actionAnswered&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
3. This listener was created to combine the MouseListener ad the MouseMotionListener into one listener.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(a)MultiMouseListner&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(b)MouseInputListener&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(c)CombinedMouseListener&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
4. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(a)&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(b)&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(c)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''MenuBar'''&amp;lt;br&amp;gt;&lt;br /&gt;
1. This class represents a choice on a dropdown menu.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(a)JMenuOption&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(b)JMenuChoice&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(c)JMenuItem&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
2. ___________ does &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; have to be done before a background image can be displayed on a MenuBar.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(a)Set the background opacity to false.&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(b)Override the objects paint menthod.&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(c)Set Background to specified image.&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
3. ___________ &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; be added to a menu in order to process menu selection events.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(a)MouseListener&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(b)ActionListener&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(c)None, Action management is built into the class.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
4. This is the standard Layout used by MenuBars.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(a)BoxLayout&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(b)GridLayout&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(c)FlowLayout&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Graphics'''&amp;lt;br&amp;gt;&lt;br /&gt;
1. The ___________ method is a low-level graphical implementation method that should only be called by the system. If the programmer wants to make the window paint again, he should call ____________.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(a)paint(), rePaint()&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(b)draw(), paint()&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(c)sketch(), drawWindow()&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
2. Which Graphics method draws a rectangle, and then shades the adges to give the illusion of depth?&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(a)drawShadedRect()&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(b)paintRect3D()&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(c)draw3DRect()&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
3. What method erases a given rectangular region by filling it in with the backgroundcolor of the current drawing space?&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(a)fillRect()&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(b)clearRect()&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(c)erase()&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
4. Which of the following methods copies a specified area and pastes it in a new loction?&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(a)copyArea()&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(b)move()&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(c)drag()&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Layouts/Panels'''&amp;lt;br&amp;gt;&lt;br /&gt;
1. This method is used to assign a Layout type to a panel.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(a)assignLayout()&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(b)setOrganisation()&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(c)setLayout()&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
2. Which of the following sets of constants are used with a BorderLayout?&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(a)NORTH, SOUTH, EAST, WEST&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(b)TOP, BOTTOM, LEFT, RIGHT&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(c)None of the above.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
3. Which of the following is &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; a standard Java Layout?&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(a)FlowLayout&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(b)GridBagLayout&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(c)LeftJustifiedLayout&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
4. Which of the folowing is not a method of JPanel?&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(a)setOpaque()&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(b)setPreferredSize()&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;(c)setBackground()&amp;lt;/b&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cool Username</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/exercise_caution&amp;diff=10701</id>
		<title>CSC 216/s08/exercise caution</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/exercise_caution&amp;diff=10701"/>
		<updated>2008-03-26T17:53:22Z</updated>

		<summary type="html">&lt;p&gt;Cool Username: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Four Questions==&lt;br /&gt;
&lt;br /&gt;
===Testing student's knowledge===&lt;br /&gt;
This exercise is meant to be a kind of test of previously assigned study material. The preparation for this test is meant to be done before class. It takes about 20 minutes to play from beginning to end.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
All the students in the class can participate. The props needed are: 4 flash cards or pieces of paper with questions and a clock or stopwatch.&lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
The instructor assigns some study material for students to study before class. He then writes down four different questions on four different pieces of paper based on the study material. Due to the nature of this game, the questions need to be somewhat difficult and conceptual or subjective in nature.&lt;br /&gt;
&lt;br /&gt;
This game is played in four stages: &lt;br /&gt;
&lt;br /&gt;
'''Stage 1''' &amp;lt;br/&amp;gt;&lt;br /&gt;
At the beginning of the class period, the instructor divides the class into four groups and hands out the pieces of paper to each group. After the rules of the game are explained, the students are given three minutes to discuss the answers to the questions with their team members.&lt;br /&gt;
&lt;br /&gt;
'''Stage 2''' &amp;lt;br/&amp;gt;&lt;br /&gt;
After the three minutes are up, the students are given the option of talking about their question to team members from other groups. The catch is, a student can either ask a question pertaining to what is written on his assigned problem, or the student can answer another students question by responding with both a true ''and'' a false answer. This stage also takes three minutes.&lt;br /&gt;
&lt;br /&gt;
'''Stage 3''' &amp;lt;br/&amp;gt;&lt;br /&gt;
After the interrogation stage is over, the students are again allowed to discuss their findings with their teammates for three minutes.&lt;br /&gt;
&lt;br /&gt;
'''Stage 4''' &amp;lt;br/&amp;gt;&lt;br /&gt;
Finally, the teams are asked to come one by one to the front of the class to tell their question and give out their answer. The instructor may comment on the answers.&lt;/div&gt;</summary>
		<author><name>Cool Username</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/exercise_caution&amp;diff=10700</id>
		<title>CSC 216/s08/exercise caution</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216/s08/exercise_caution&amp;diff=10700"/>
		<updated>2008-03-26T17:49:27Z</updated>

		<summary type="html">&lt;p&gt;Cool Username: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Four Questions==&lt;br /&gt;
&lt;br /&gt;
===Testing student's knowledge===&lt;br /&gt;
This exercise is meant to be a kind of test of previously assigned study material. The preparation for this test is meant to be done before class. It takes about 20 minutes to play from beginning to end.&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
All the students in the class can participate. The props needed are: 4 flash cards or pieces of paper.&lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
The instructor assigns some study material for students to study before class. He then writes down four different questions on four different pieces of paper based on the study material. Due to the nature of this game, the questions need to be somewhat difficult and conceptual or subjective in nature.&lt;br /&gt;
&lt;br /&gt;
This game is played in four stages: &lt;br /&gt;
&lt;br /&gt;
'''Stage 1''' &amp;lt;br/&amp;gt;&lt;br /&gt;
At the beginning of the class period, the instructor divides the class into four groups and hands out the pieces of paper to each group. After the rules of the game are explained, the students are given three minutes to discuss the answers to the questions with their team members.&lt;br /&gt;
&lt;br /&gt;
'''Stage 2''' &amp;lt;br/&amp;gt;&lt;br /&gt;
After the three minutes are up, the students are given the option of talking about their question to team members from other groups. The catch is, a student can either ask a question pertaining to what is written on his assigned problem, or the student can answer another students question by responding with both a true ''and'' a false answer. This stage also takes three minutes.&lt;br /&gt;
&lt;br /&gt;
'''Stage 3''' &amp;lt;br/&amp;gt;&lt;br /&gt;
After the interrogation stage is over, the students are again allowed to discuss their findings with their teammates for three minutes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Stage 4''' &amp;lt;br/&amp;gt;&lt;br /&gt;
Finally, the teams are asked to come one by one to the front of the class to tell their question and give out their answer. The instructor may comment on the answers.&lt;/div&gt;</summary>
		<author><name>Cool Username</name></author>
	</entry>
</feed>