ITS3105 Programming SUS Guessing Game Project Assignment
Order ID:89JHGSJE83839 Style:APA/MLA/Harvard/Chicago Pages:5-10 Instructions:
ITS3105 Programming SUS Guessing Game Project Assignment
Add to the questioning below to include a human being and an insect, add extra code as needed. Clearly comment every line for what is happening.
// add to the questioning below to include a human being and an insect
// add extra code as needed
// clearly comment every line for what is happening
import javax.swing.JOptionPane;
public class ThinkingOf
{
public static void main(String args[])
{
String[] questions = new String[100];
String[] answers = new String[100];
String yourAnimal = new String();
String yourQuestion = new String();
boolean isDone = false;
boolean wantToPlay = true;
int answer;
int total = 100;
int pos = 0, oldPos = 0;
int yesPos = 1, noPos = 2;
// change the questioning to include a human being and an insect
questions[pos] = “Does the animal you are thinking of have legs?”;
questions[1] = “Is it a dog?”;
questions[2] = “Is it a fish?”;
answers[1] = “dog”;
answers[2] = “fish”;
while(wantToPlay)
{
pos = 0;
isDone = false;
while(isDone == false)
{
answer = JOptionPane.showConfirmDialog (null, questions[pos]);
oldPos = pos;
yesPos = pos * 2 + 1;
noPos = pos * 2 + 2;
if(answer == JOptionPane.YES_OPTION)
pos = yesPos;
else
pos = noPos;
if(questions[pos] == null)
{
if(answer == JOptionPane.YES_OPTION)
{
JOptionPane.showMessageDialog(null,”Yay! I win!”);
isDone = true;
pos = 0;
}
else
{
yourAnimal = JOptionPane.showInputDialog(null,”I give up.\nWhat was
your animal?”);
yourQuestion = JOptionPane.showInputDialog(null,”Type a question for which the
answer is Yes for ” + answers[oldPos] + “\nbut No for ” + yourAnimal + “.”);
questions[yesPos] = questions[oldPos];
questions[oldPos] = yourQuestion;
questions[noPos] = “Is it a ” + yourAnimal + “?”;
answers[yesPos] = answers[oldPos];
answers[noPos] = yourAnimal;
isDone = true;
pos = 0;
}
}
}
answer = JOptionPane.showConfirmDialog(null,”Do you want to play again?”);
wantToPlay = (answer == JOptionPane.YES_OPTION);
}
}
}
Submission Details:
Create the code and sample run files as described.
Zip all the java files
RUBRIC
Excellent Quality
95-100%
Introduction 45-41 points
The background and significance of the problem and a clear statement of the research purpose is provided. The search history is mentioned.
Literature Support
91-84 points
The background and significance of the problem and a clear statement of the research purpose is provided. The search history is mentioned.
Methodology
58-53 points
Content is well-organized with headings for each slide and bulleted lists to group related material as needed. Use of font, color, graphics, effects, etc. to enhance readability and presentation content is excellent. Length requirements of 10 slides/pages or less is met.
Average Score
50-85%
40-38 points
More depth/detail for the background and significance is needed, or the research detail is not clear. No search history information is provided.
83-76 points
Review of relevant theoretical literature is evident, but there is little integration of studies into concepts related to problem. Review is partially focused and organized. Supporting and opposing research are included. Summary of information presented is included. Conclusion may not contain a biblical integration.
52-49 points
Content is somewhat organized, but no structure is apparent. The use of font, color, graphics, effects, etc. is occasionally detracting to the presentation content. Length requirements may not be met.
Poor Quality
0-45%
37-1 points
The background and/or significance are missing. No search history information is provided.
75-1 points
Review of relevant theoretical literature is evident, but there is no integration of studies into concepts related to problem. Review is partially focused and organized. Supporting and opposing research are not included in the summary of information presented. Conclusion does not contain a biblical integration.
48-1 points
There is no clear or logical organizational structure. No logical sequence is apparent. The use of font, color, graphics, effects etc. is often detracting to the presentation content. Length requirements may not be met
You Can Also Place the Order at www.collegepaper.us/orders/ordernow or www.crucialessay.com/orders/ordernow ITS3105 Programming SUS Guessing Game Project Assignment
ITS3105 Programming SUS Guessing Game Project Assignment