public List<Question> chapter1() { var chapter1 = new List<Question>(); var question1 = new Question(); question1.QuestionText = "How did Forrest’s father die?"; question1.Answer[0] = "An accident in a ship"; question1.Answer[1] = "A car accident"; question1.Answer[2] = "A box of bananas killed him"; question1.Answer[3] = "His dad just left"; question1.CorrectAnswer = 2; chapter1.Add(question1); var question2 = new Question(); question2.QuestionText = "What was Forrest good at?"; question2.Answer[0] = "Dancing"; question2.Answer[1] = "Cooking"; question2.Answer[2] = "Running"; question2.Answer[3] = "Fighting"; question2.CorrectAnswer = 2; chapter1.Add(question2); var question3 = new Question(); question3.QuestionText = "What was Jenny's full name?"; question3.Answer[0] = "Jenny Gordon"; question3.Answer[1] = "Jenny Curran"; question3.Answer[2] = "Jenny Harris"; question3.Answer[3] = "Jenny Johnson"; question3.CorrectAnswer = 1; chapter1.Add(question3); var question4 = new Question(); question4.QuestionText = "What did the boy thow on Forrest?"; question4.Answer[0] = "Some coffe"; question4.Answer[1] = "Some tea"; question4.Answer[2] = "Some milk"; question4.Answer[3] = "Some soda"; question4.CorrectAnswer = 2; chapter1.Add(question4); var question5 = new Question(); question5.QuestionText = "Where did Forrest invite Jenny?"; question5.Answer[0] = "The cinema"; question5.Answer[1] = "The near café"; question5.Answer[2] = "The park"; question5.Answer[3] = "The field"; question5.CorrectAnswer = 0; chapter1.Add(question5); var question6 = new Question(); question6.QuestionText = "Why was Forrest arrested?"; question6.Answer[0] = "He tried to cover up Jenny"; question6.Answer[1] = "He fought with some guys"; question6.Answer[2] = "He didn't pay for tickets"; question6.Answer[3] = "Policeman didn't like him"; question6.CorrectAnswer = 0; chapter1.Add(question6); return chapter1; }
public void SeleccionadorDeCapitulos(int capitulorandomPlay, int preguntarandomPlay) { // Se construyen las listas de los 12 capitulos List<Question> chapter1 = chapter.chapter1(); List<Question> chapter2 = chapter.chapter2(); List<Question> chapter3 = chapter.chapter3(); List<Question> chapter4 = chapter.chapter4(); List<Question> chapter5 = chapter.chapter5(); List<Question> chapter6 = chapter.chapter6(); List<Question> chapter7 = chapter.chapter7(); List<Question> chapter8 = chapter.chapter8(); List<Question> chapter9 = chapter.chapter9(); List<Question> chapter10 = chapter.chapter10(); List<Question> chapter11 = chapter.chapter11(); List<Question> chapter12 = chapter.chapter12(); switch (capitulorandomPlay) { case 0: question = chapter1[preguntarandomPlay]; if (preguntasQueHanSalido.Contains(question)) { aletoriedad(); } else { preguntasQueHanSalido.Add(question); LoadQuestion(question); } break; case 1: question = chapter2[preguntarandomPlay]; if (preguntasQueHanSalido.Contains(question)) { aletoriedad(); } else { preguntasQueHanSalido.Add(question); LoadQuestion(question); } break; case 2: question = chapter3[preguntarandomPlay]; if (preguntasQueHanSalido.Contains(question)) { aletoriedad(); } else { preguntasQueHanSalido.Add(question); LoadQuestion(question); } break; case 3: question = chapter4[preguntarandomPlay]; if (preguntasQueHanSalido.Contains(question)) { aletoriedad(); } else { preguntasQueHanSalido.Add(question); LoadQuestion(question); } break; case 4: question = chapter5[preguntarandomPlay]; if (preguntasQueHanSalido.Contains(question)) { aletoriedad(); } else { preguntasQueHanSalido.Add(question); LoadQuestion(question); } break; case 5: question = chapter6[preguntarandomPlay]; if (preguntasQueHanSalido.Contains(question)) { aletoriedad(); } else { preguntasQueHanSalido.Add(question); LoadQuestion(question); } break; case 6: question = chapter7[preguntarandomPlay]; if (preguntasQueHanSalido.Contains(question)) { aletoriedad(); } else { preguntasQueHanSalido.Add(question); LoadQuestion(question); } break; case 7: question = chapter8[preguntarandomPlay]; if (preguntasQueHanSalido.Contains(question)) { aletoriedad(); } else { preguntasQueHanSalido.Add(question); LoadQuestion(question); } break; case 8: question = chapter9[preguntarandomPlay]; if (preguntasQueHanSalido.Contains(question)) { aletoriedad(); } else { preguntasQueHanSalido.Add(question); LoadQuestion(question); } break; case 9: question = chapter10[preguntarandomPlay]; if (preguntasQueHanSalido.Contains(question)) { aletoriedad(); } else { preguntasQueHanSalido.Add(question); LoadQuestion(question); } break; case 10: question = chapter11[preguntarandomPlay]; if (preguntasQueHanSalido.Contains(question)) { aletoriedad(); } else { preguntasQueHanSalido.Add(question); LoadQuestion(question); } break; case 11: question = chapter12[preguntarandomPlay]; if (preguntasQueHanSalido.Contains(question)) { aletoriedad(); } else { preguntasQueHanSalido.Add(question); LoadQuestion(question); } break; default: break; } }
public void LoadQuestion(Question question) { ShowTheQuestion.Text = question.QuestionText; AnswerA.Text = question.Answer[0]; AnswerB.Text = question.Answer[1]; AnswerC.Text = question.Answer[2]; AnswerD.Text = question.Answer[3]; RespuestaCorrecta = question.CorrectAnswer; }
public List<Question> chapter9() { var chapter9 = new List<Question>(); var question1 = new Question(); question1.QuestionText = "What did Jenny say to Forrest under the tree on the grass?"; question1.Answer[0] = "Forrest, it has to be you"; question1.Answer[1] = "That looks like a nice apple"; question1.Answer[2] = "Why are you here"; question1.Answer[3] = "What are you doing here"; question1.CorrectAnswer = 0; chapter9.Add(question1); var question2 = new Question(); question2.QuestionText = "Where did Forrest work as an 'arm-wrestled' man?"; question2.Answer[0] = "In a fight club"; question2.Answer[1] = "In a bar"; question2.Answer[2] = "In a shrimp company"; question2.Answer[3] = "At NASA"; question2.CorrectAnswer = 1; chapter9.Add(question2); var question3 = new Question(); question3.QuestionText = "What did Jenny's letter say to Forrest?"; question3.Answer[0] = "She was the happiest girl ever"; question3.Answer[1] = "She would like to move with him"; question3.Answer[2] = "She said she didn't love him anymore"; question3.Answer[3] = "She asked him not to try to find her"; question3.CorrectAnswer = 3; chapter9.Add(question3); var question4 = new Question(); question4.QuestionText = "What was the most stupid thing Forrest did wrestling?"; question4.Answer[0] = "Winning a lot of money"; question4.Answer[1] = "Betting money on himslef to win and losing"; question4.Answer[2] = "Fighting with Mike"; question4.Answer[3] = "Wrestling with an arm"; question4.CorrectAnswer = 1; chapter9.Add(question4); var question5 = new Question(); question5.QuestionText = "How did Jenny know Forrest went up into space?"; question5.Answer[0] = "On the radio"; question5.Answer[1] = "In the newspaper"; question5.Answer[2] = "On television"; question5.Answer[3] = "Forrest told her"; question5.CorrectAnswer = 2; chapter9.Add(question5); var question6 = new Question(); question6.QuestionText = "How did Jenny know Forrest went up into space?"; question6.Answer[0] = "On the radio"; question6.Answer[1] = "In the newspaper"; question6.Answer[2] = "On television"; question6.Answer[3] = "Forrest told her"; question6.CorrectAnswer = 2; chapter9.Add(question6); return chapter9; }
public List<Question> chapter8() { var chapter8 = new List<Question>(); var question1 = new Question(); question1.QuestionText = "Why was Jenny angry with Forrest at the Hodaddy Club?"; question1.Answer[0] = "She saw him kissing and laughing with another woman"; question1.Answer[1] = "He said that he didn't like the music"; question1.Answer[2] = "Because Forrest all tme was late"; question1.Answer[3] = "He didn't want to belong to the Broken Eggs"; question1.CorrectAnswer = 0; chapter8.Add(question1); var question2 = new Question(); question2.QuestionText = "Why did Forrest go to live with Moses?"; question2.Answer[0] = "Because Jenny told him to find another place"; question2.Answer[1] = "Because Forrest didn't have money to rent"; question2.Answer[2] = "Because Moses is his best friend"; question2.Answer[3] = "Because the rent is cheap"; question2.CorrectAnswer = 0; chapter8.Add(question2); var question3 = new Question(); question3.QuestionText = "Where did the NASA send Forrest?"; question3.Answer[0] = "A journey into space with a woman and an ape"; question3.Answer[1] = "Houston"; question3.Answer[2] = "To a Ph.D"; question3.Answer[3] = "To travel to the moon alone"; question3.CorrectAnswer = 0; chapter8.Add(question3); var question4 = new Question(); question4.QuestionText = "What's Forrest's ape's name?"; question4.Answer[0] = "Moses"; question4.Answer[1] = "Sue"; question4.Answer[2] = "Sueric"; question4.Answer[3] = "Marvel"; question4.CorrectAnswer = 1; chapter8.Add(question4); var question5 = new Question(); question5.QuestionText = "Who taught Forrest how to play chess?"; question5.Answer[0] = "The big Sam he was the chairman in the jungle"; question5.Answer[1] = "The general Monder Luman in the army"; question5.Answer[2] = "The waiter in the Hodaddy club"; question5.Answer[3] = "His best friend when he was a child"; question5.CorrectAnswer = 0; chapter8.Add(question5); var question6 = new Question(); question6.QuestionText = "Who taught Forrest how to play chess?"; question6.Answer[0] = "The big Sam he was the chairman in the jungle"; question6.Answer[1] = "The general Monder Luman in the army"; question6.Answer[2] = "The waiter in the Hodaddy club"; question6.Answer[3] = "His best friend when he was a child"; question6.CorrectAnswer = 0; chapter8.Add(question6); return chapter8; }
public List<Question> chapter7() { var chapter7 = new List<Question>(); var question1 = new Question(); question1.QuestionText = "What was the band where Jenny played?"; question1.Answer[0] = "The Broken Eggs"; question1.Answer[1] = "The Orange Bowl"; question1.Answer[2] = "Alabama Trees"; question1.Answer[3] = "The Beatles"; question1.CorrectAnswer = 0; chapter7.Add(question1); var question2 = new Question(); question2.QuestionText = "How long did Forrest wait at the Hodaddy Club?"; question2.Answer[0] = "Two hours"; question2.Answer[1] = "About four and five hours"; question2.Answer[2] = "About five or six hours"; question2.Answer[3] = "Seven hours"; question1.CorrectAnswer = 2; chapter7.Add(question2); var question3 = new Question(); question3.QuestionText = "Why did they expel Jenny from school?"; question3.Answer[0] = "She was with a boy in her room"; question3.Answer[1] = "She didn't have money"; question3.Answer[2] = "She was noisy"; question3.Answer[3] = "She smoked in her room"; question3.CorrectAnswer = 0; chapter7.Add(question3); var question4 = new Question(); question4.QuestionText = "Who did Jenny live with?"; question4.Answer[0] = "Her best friend"; question4.Answer[1] = "Her boyfriend"; question4.Answer[2] = "Alone"; question4.Answer[3] = "Her friends"; question4.CorrectAnswer = 1; chapter7.Add(question4); var question5 = new Question(); question5.QuestionText = "What was the Hoddady club?"; question5.Answer[0] = "Vietnam soldiers' club"; question5.Answer[1] = "A ping pong club"; question5.Answer[2] = "Jenny's club to play"; question5.Answer[3] = "Harvard's club"; question5.CorrectAnswer = 2; chapter7.Add(question5); var question6 = new Question(); question3.QuestionText = "Why did Jenny cry?"; question3.Answer[0] = "Because she lost her flat"; question3.Answer[1] = "Because her boyfriend left"; question3.Answer[2] = "Because his father died"; question3.Answer[3] = "Because Forrest came"; question3.CorrectAnswer = 1; chapter7.Add(question3); return chapter7; }
public List<Question> chapter6() { var chapter6 = new List<Question>(); var question1 = new Question(); question1.QuestionText = "How long was Forrest at the airport's bathroom?"; question1.Answer[0] = "For 3 hours"; question1.Answer[1] = "For 4 hours"; question1.Answer[2] = "For 1 hour"; question1.Answer[3] = "For 5 hours"; question1.CorrectAnswer = 2; chapter6.Add(question1); var question2 = new Question(); question2.QuestionText = "What did Mr. Chi sell Gump?"; question2.Answer[0] = "Fish"; question2.Answer[1] = "Shrimps"; question2.Answer[2] = "Lobsters"; question2.Answer[3] = "Shark"; question2.CorrectAnswer = 1; chapter6.Add(question2); var question3 = new Question(); question3.QuestionText = "How long was Forrest in hospital?"; question3.Answer[0] = "For 20 weeks"; question3.Answer[1] = "For 1 week"; question3.Answer[2] = "For 4 weeks"; question3.Answer[3] = "For 2 weeks"; question3.CorrectAnswer = 3; chapter6.Add(question3); var question4 = new Question(); question4.QuestionText = "What did Forrest think at the White House?"; question4.Answer[0] = "I am tired"; question4.Answer[1] = "I am nervous"; question4.Answer[2] = "I am happy"; question4.Answer[3] = "I am hungry"; question4.CorrectAnswer = 3; chapter6.Add(question4); var question5 = new Question(); question5.QuestionText = "Where did Forrest show his buttocks?"; question5.Answer[0] = "Magazine cover"; question5.Answer[1] = "The internet"; question5.Answer[2] = "Newspaper cover"; question5.Answer[3] = "Book cover"; question5.CorrectAnswer = 2; chapter6.Add(question5); var question6 = new Question(); question6.QuestionText = "What did Forrest do inside the White House?"; question6.Answer[0] = "Listening to the radio"; question6.Answer[1] = "Watching TV"; question6.Answer[2] = "Sleeping"; question6.Answer[3] = "Having breakfast"; question6.CorrectAnswer = 1; chapter6.Add(question6); return chapter6; }
public List<Question> chapter5() { var chapter5 = new List<Question>(); var question1 = new Question(); question1.QuestionText = "How many soldiers did Bones kill?"; question1.Answer[0] = "About 100 or 200"; question1.Answer[1] = "About 50 or 100"; question1.Answer[2] = "About 10 or 15"; question1.Answer[3] = "About 30 or 50"; question1.CorrectAnswer = 2; chapter5.Add(question1); var question2 = new Question(); question2.QuestionText = "Who did Forrest picked up on his shoulders?"; question2.Answer[0] = "The Colonel Gooch"; question2.Answer[1] = "Bubba"; question2.Answer[2] = "Jenny"; question2.Answer[3] = "Doyle"; question2.CorrectAnswer = 3; chapter5.Add(question2); var question3 = new Question(); question3.QuestionText = "What was Bubba and Forrest's plan after war?"; question3.Answer[0] = "Buying a shrimp boat"; question3.Answer[1] = "Buying a big house"; question3.Answer[2] = "Buying a fishing ship"; question3.Answer[3] = "Buying a shrimp restaurant"; question3.CorrectAnswer = 2; chapter5.Add(question3); var question4 = new Question(); question4.QuestionText = "How long did the rain last in war?"; question4.Answer[0] = "One week"; question4.Answer[1] = "One month"; question4.Answer[2] = "Two months"; question4.Answer[3] = "One year"; question4.CorrectAnswer = 2; chapter5.Add(question4); var question5 = new Question(); question5.QuestionText = "Where forrest was injured?"; question5.Answer[0] = "In his stomach"; question5.Answer[1] = "In the back of his leg"; question5.Answer[2] = "In his arm"; question5.Answer[3] = "In his hand"; question5.CorrectAnswer = 2; chapter5.Add(question5); var question6 = new Question(); question6.QuestionText = "What did Forrest play while Bubba died?"; question6.Answer[0] = "The guitar"; question6.Answer[1] = "The piano"; question6.Answer[2] = "The harmonica"; question6.Answer[3] = "The drums"; question6.CorrectAnswer = 2; chapter5.Add(question6); return chapter5; }
public List<Question> chapter4() { var chapter4 = new List<Question>(); var question1 = new Question(); question1.QuestionText = "In the Army, why Forrest had to cook?"; question1.Answer[0] = "The cook was ill"; question1.Answer[1] = "The cook was on vacation"; question1.Answer[2] = "The cook didn't want"; question1.Answer[3] = "Forrest was a better cook"; question1.CorrectAnswer = 0; chapter4.Add(question1); var question2 = new Question(); question2.QuestionText = "What happened to Forrest's food?"; question2.Answer[0] = "It was raw"; question2.Answer[1] = "It blew up all over the place"; question2.Answer[2] = "It was ugly"; question2.Answer[3] = "There wasn't any food"; question2.CorrectAnswer = 0; chapter4.Add(question2); var question3 = new Question(); question3.QuestionText = "Where did Forrest find Bubba in war?"; question3.Answer[0] = "In a helicopter"; question3.Answer[1] = "In a river"; question3.Answer[2] = "On a bus"; question3.Answer[3] = "In the jungle"; question3.CorrectAnswer = 3; chapter4.Add(question3); var question4 = new Question(); question4.QuestionText = "Why did Bubba leave university?"; question4.Answer[0] = "He failed all the examns"; question4.Answer[1] = "His foot got bad to play football"; question4.Answer[2] = "He didn't like the university"; question4.Answer[3] = "He wanted to be a soldier"; question4.CorrectAnswer = 1; chapter4.Add(question4); var question5 = new Question(); question5.QuestionText = "How long passed by until Vietnam war?"; question5.Answer[0] = "Six months"; question5.Answer[1] = "A year"; question5.Answer[2] = "Two years"; question5.Answer[3] = "One week"; question5.CorrectAnswer = 1; chapter4.Add(question5); var question6 = new Question(); question6.QuestionText = "Who did Jenny leave after university?"; question6.Answer[0] = "With a group against the war"; question6.Answer[1] = "With a group of hippies"; question6.Answer[2] = "With her parents"; question6.Answer[3] = "With her boyfriend"; question6.CorrectAnswer = 3; chapter4.Add(question6); return chapter4; }
public List<Question> chapter3() { var chapter3 = new List<Question>(); var question1 = new Question(); question1.QuestionText = "Where did Forrest learn to play the harmonica?"; question1.Answer[0] = "He learned at University with Bubba"; question1.Answer[1] = "He suddenly found playing it with Jenny"; question1.Answer[2] = "He learned with his mother"; question1.Answer[3] = "He didn't learn to play any instrument"; question1.CorrectAnswer = 1; chapter3.Add(question1); var question2 = new Question(); question2.QuestionText = "What was the most important thing for Forrest at university?"; question2.Answer[0] = "The Big Game at the Orange Bowl in Miami"; question2.Answer[1] = "To meet Bubba"; question2.Answer[2] = "To meet Jenny"; question2.Answer[3] = "The Big Game at the Red Bowl in Florida"; question2.CorrectAnswer = 0; chapter3.Add(question2); var question3 = new Question(); question3.QuestionText = "What was Forrest's team coach's name?"; question3.Answer[0] = "Gwinn"; question3.Answer[1] = "Weasel"; question3.Answer[2] = "Bryant"; question3.Answer[3] = "Jim"; question3.CorrectAnswer = 2; chapter3.Add(question3); var question4 = new Question(); question4.QuestionText = "What secret did Forrest and his Coach keep for a whole year?"; question4.Answer[0] = "Run Forrest, run!"; question4.Answer[1] = "Catch the ball and run with it, run like a wild animal!"; question4.Answer[2] = "Run Forrest, like a hare!"; question4.Answer[3] = "Catch the ball and run, then got a field goal!"; question4.CorrectAnswer = 1; chapter3.Add(question4); var question5 = new Question(); question5.QuestionText = "How could Forrest stay at University for a whole year?"; question5.Answer[0] = "Forrest's mom had a relationship with his teacher"; question5.Answer[1] = "Forrest had a relationship with Jenny"; question5.Answer[2] = "Coach Bryant asked Forrest for his team"; question5.Answer[3] = "Forrest's mom talked to the manager"; question5.CorrectAnswer = 2; chapter3.Add(question5); var question6 = new Question(); question6.QuestionText = "Forrest received a letter. What did it say?"; question6.Answer[0] = "Bubba died"; question6.Answer[1] = "You've got to go in the army"; question6.Answer[2] = "You've got to go in the university"; question6.Answer[3] = "Jenny died"; question6.CorrectAnswer = 1; chapter3.Add(question6); return chapter3; }
public List<Question> chapter2() { var chapter2 = new List<Question>(); var question1 = new Question(); question1.QuestionText = "Who did Forrest phone after the match?"; question1.Answer[0] = "His mom"; question1.Answer[1] = "Bubba"; question1.Answer[2] = "Coach Bryan"; question1.Answer[3] = "Nobody"; question1.CorrectAnswer = 0; chapter2.Add(question1); var question2 = new Question(); question2.QuestionText = "What was the first match’s final score?"; question2.Answer[0] = "5 to 10"; question2.Answer[1] = "15 to 30"; question2.Answer[2] = "35 to 3"; question2.Answer[3] = "40 to 15"; question2.CorrectAnswer = 2; chapter2.Add(question2); var question3 = new Question(); question3.QuestionText = "Why didn't Forrest go to celebrate the match?"; question3.Answer[0] = "He met Bubba"; question3.Answer[1] = "He was tired"; question3.Answer[2] = "He wanted to be alone"; question3.Answer[3] = "Nobody asked him"; question3.CorrectAnswer = 3; chapter2.Add(question3); var question4 = new Question(); question4.QuestionText = "Which instrument did Bubba give Forrest?"; question4.Answer[0] = "A flute"; question4.Answer[1] = "A harmonica"; question4.Answer[2] = "A guitar"; question4.Answer[3] = "A banjo"; question4.CorrectAnswer = 1; chapter2.Add(question4); var question5 = new Question(); question5.QuestionText = "Why didn't Forrest go to celebrate the match?"; question5.Answer[0] = "He met Bubba"; question5.Answer[1] = "He was tired"; question5.Answer[2] = "He wanted to be alone"; question5.Answer[3] = "Nobody asked him"; question5.CorrectAnswer = 3; chapter2.Add(question5); var question6 = new Question(); question6.QuestionText = "What kind of lessons did Jenny take?"; question6.Answer[0] = "Acting lessons"; question6.Answer[1] = "Music lessons"; question6.Answer[2] = "Singing lessons"; question6.Answer[3] = "Painting lessons"; question6.CorrectAnswer = 1; chapter2.Add(question6); return chapter2; }
public List<Question> chapter12() { var chapter12 = new List<Question>(); var question1 = new Question(); question1.QuestionText = "In Savannah, where did Forrest play his armonica?"; question1.Answer[0] = "In the park"; question1.Answer[1] = "In the centre"; question1.Answer[2] = "In the shop"; question1.Answer[3] = "In the house"; question1.CorrectAnswer = 0; chapter12.Add(question1); var question2 = new Question(); question2.QuestionText = "Who watched him carefully in the park?"; question2.Answer[0] = "Mr.Tribble"; question2.Answer[1] = "A little boy"; question2.Answer[2] = "A woman"; question2.Answer[3] = "A dog"; question2.CorrectAnswer = 1; chapter12.Add(question2); var question3 = new Question(); question3.QuestionText = "Who was the woman standing near the boy in the park?"; question3.Answer[0] = "His sister"; question3.Answer[1] = "His friend"; question3.Answer[2] = "Jenny"; question3.Answer[3] = "His girlfriend"; question3.CorrectAnswer = 2; chapter12.Add(question3); var question4 = new Question(); question4.QuestionText = "What did Forrest say when he saw Jenny?"; question4.Answer[0] = "Where do you live?"; question4.Answer[1] = "What happened with you?"; question4.Answer[2] = "What are you doing here?"; question4.Answer[3] = "How old are you?"; question4.CorrectAnswer = 2; chapter12.Add(question4); var question5 = new Question(); question5.QuestionText = "What's Jenny's son's name?"; question5.Answer[0] = "Gump"; question5.Answer[1] = "Bubba"; question5.Answer[2] = "Rudolph"; question5.Answer[3] = "Forrest"; question5.CorrectAnswer = 3; chapter12.Add(question5); var question6 = new Question(); question6.QuestionText = "Who's Little Forrest's dad?"; question6.Answer[0] = "Rudolph"; question6.Answer[1] = "Forrest Gump"; question6.Answer[2] = "Curtis"; question6.Answer[3] = "Jenny's ex boyfriend"; question6.CorrectAnswer = 1; chapter12.Add(question6); return chapter12; }
public List<Question> chapter11() { var chapter11 = new List<Question>(); var question1 = new Question(); question1.QuestionText = "What time did came the train to mobile station?"; question1.Answer[0] = "About 3:00 in the morning"; question1.Answer[1] = "About 4:00 in the afternoon"; question1.Answer[2] = "At 5:00 in the morning"; question1.Answer[3] = "At 6:00 in the evening"; question1.CorrectAnswer = 0; chapter11.Add(question1); var question2 = new Question(); question2.QuestionText = "Who was pleased to see Forrest?"; question2.Answer[0] = "Sue"; question2.Answer[1] = "His friend"; question2.Answer[2] = "Jenny"; question2.Answer[3] = "His mother"; question2.CorrectAnswer = 3; chapter11.Add(question2); var question3 = new Question(); question3.QuestionText = "What did Mrs. Gump say when she saw him?"; question3.Answer[0] = "I missed you!"; question3.Answer[1] = "Oh Forrest, you're home at last"; question3.Answer[2] = "How long will you stay?"; question3.Answer[3] = "Get out of my house!"; question3.CorrectAnswer = 1; chapter11.Add(question3); var question4 = new Question(); question4.QuestionText = "Where did Bubba's parents live?"; question4.Answer[0] = "In Washington"; question4.Answer[1] = "In Savannah"; question4.Answer[2] = "In Bayou La Batre"; question4.Answer[3] = "In a big city"; question4.CorrectAnswer = 2; chapter11.Add(question4); var question5 = new Question(); question5.QuestionText = "What was the purpose of him to travel to Bayour La Batre?"; question5.Answer[0] = "Forrest wanted to tell Bubba's father about the shrimp business"; question5.Answer[1] = "He wanted to tell Bubba's father about his experience in the army with Bubba"; question5.Answer[2] = "He wanted to know Bubba's family"; question5.Answer[3] = "He wanted to see Jenny"; question5.CorrectAnswer = 0; chapter11.Add(question5); var question6 = new Question(); question6.QuestionText = "When did start Forrest the shrimp business?"; question6.Answer[0] = "Before he came out of the army"; question6.Answer[1] = "After he came out of the army"; question6.Answer[2] = "During his time in the army"; question6.Answer[3] = "When Bubba died"; question6.CorrectAnswer = 1; chapter11.Add(question6); return chapter11; }
public List<Question> chapter10() { var chapter10 = new List<Question>(); var question1 = new Question(); question1.QuestionText = "Why did Forrest stop in Nashville?"; question1.Answer[0] = "To play chess"; question1.Answer[1] = "To stay in a hotel"; question1.Answer[2] = "To eat and drink something"; question1.Answer[3] = "To take another bus"; question1.CorrectAnswer = 1; chapter10.Add(question1); var question2 = new Question(); question2.QuestionText = "What was the little old man's name?"; question2.Answer[0] = "Mr. Tribble"; question2.Answer[1] = "Mr. Turk"; question2.Answer[2] = "Mr. Nibble"; question2.Answer[3] = "Mr. Nelson"; question2.CorrectAnswer = 0; chapter10.Add(question2); var question3 = new Question(); question3.QuestionText = "Where was the big chess tournament?"; question3.Answer[0] = "In the capital city"; question3.Answer[1] = "In Los Angeles"; question3.Answer[2] = "In Mobile"; question3.Answer[3] = "In New York"; question3.CorrectAnswer = 1; chapter10.Add(question3); var question4 = new Question(); question4.QuestionText = "What did Mr. Felder offer Forrest?"; question4.Answer[0] = "To play chess"; question4.Answer[1] = "To meet a famous actress"; question4.Answer[2] = "To play football"; question4.Answer[3] = "To film a movie"; question4.CorrectAnswer = 3; chapter10.Add(question4); var question5 = new Question(); question5.QuestionText = "Which film star was mentioned?"; question5.Answer[0] = "Angelina Jolie"; question5.Answer[1] = "Anna Barretto"; question5.Answer[2] = "Raquel Welch"; question5.Answer[3] = "Sally Field"; question5.CorrectAnswer = 2; chapter10.Add(question5); var question6 = new Question(); question6.QuestionText = "Who was Forrest's rival in the tournament"; question6.Answer[0] = "Russian, Ivan"; question6.Answer[1] = "Russian, Igor"; question6.Answer[2] = "Russian, Nikolai"; question6.Answer[3] = "Russian, Boris"; question6.CorrectAnswer = 1; chapter10.Add(question6); return chapter10; }