Exemplo n.º 1
0
    void Start()
    {
        Slides slides = new Slides("LessonReporting");

        slides.Add(new Slide(
                       "Reporting Your Data\n\n" +
                       "After a day of investigating fish, your boss wants you to report your findings to her. Let’s convert some of your findings to make it easier to understand."
                       ));

        // ----------------------- Question Slide 1 ---------------- //
        Slide    qSlide = new Slide("");
        Question q      = new Question();

        q.SetText("We have observed that 3 of 10 fish have been affected by pollution from one of our samples. How do we express that as a ratio of affected fish to not affected fish?");
        q.SetAnswers("3:7", "7:3", "1:3", "7:1");
        q.SetRightAnswer("3:7");
        q.SetHint("Make sure to pay attention to the order of the numbers in the wording.");
        q.SetDescriptionOfRightAnswer("Correct. If we have 3 affected fish, then that means we have 7 not affected fish. Thus, the ratio is 3 to 7.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 2 ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("You observed that 20% of fish have been affected by pollution from the total of the two samples. How do you express this as a ratio of affected fish to not affected fish?");
        q.SetAnswers("1:5", "20:1", "2:5", "2:8");
        q.SetRightAnswer("2:8");
        q.SetHint("TMake sure to pay attention to the order of the numbers in the wording. Remember that percentages are different than ratios.");
        q.SetDescriptionOfRightAnswer("Correct. If we have 2 affected fish, then that means we have 8 not affected fish. Thus, the ratio is 2 to 8.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        slides.Add(new Slide(
                       "Your boss appreciates your work! Converting your data to make it easy to understand is not very hard. However, your work is not done. "
                       // TODO support histograms
                       /*  + "Next, you will need to create a chart of your results..." */
                       ));



        this.slides = slides;
    }
Exemplo n.º 2
0
    void Start()
    {
        slides = new Slides("LessonProbabilityPractice");

        slides.Add(new Slide(
                       "Exercise 2: Discovering Probability\n\nIn the following exercise, you will practice calculating probability."
                       ));

        slides.Add(new Slide(
                       "In this scenario, after a day of investigating fish, your boss wants you to report your findings to him!  We need to calcuate the probability of randomly selecting a fish that has been affected by oil!"
                       ));

        // ----------------------- Question Slide ---------------- //
        Slide    qSlide = new Slide("");
        Question q      = new Question();

        q.SetText("If 3 out of 10 fish had been affected by oil, what would the probability be of randomly selected a fish the has been affected by oil?");
        q.SetAnswers("70%", "50%", "0%", "30%");
        q.SetRightAnswer("30%");
        q.SetHint("Calculate 3/10 and then multiply by 100 to get the percentage for the probability.");
        q.SetDescriptionOfRightAnswer("Correct! The probability of selecting a fish that has been affected by oil is 30%, or 3/10.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("If 3 out of 10 fish had been affected by oil, what would the probability be of randomly selected a fish the has NOT been affected by oil?");
        q.SetAnswers("70%", "20%", "0%", "30%");
        q.SetRightAnswer("70%");
        q.SetHint("Remember that the total probability of selecting a fish that has been affected by oil and has not been affected by oil is 100%");
        q.SetDescriptionOfRightAnswer("Great! If the probability of selecting a fish that has been affected by oil is 30%, then 100% - 30% = 70%, which is the probability of selecting a fish that has NOT been affected by oil.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //


        slides.Add(new Slide(
                       "Your boss appreciates the work!"
                       ));
    }
    void Start()
    {
        Slides slides = new Slides ("LessonReporting");

        slides.Add (new Slide (
            "Reporting Your Data\n\n" +
            "After a day of investigating fish, your boss wants you to report your findings to her. Let’s convert some of your findings to make it easier to understand."
        ));

        // ----------------------- Question Slide 1 ---------------- //
        Slide qSlide = new Slide("");
        Question q = new Question();
        q.SetText("We have observed that 3 of 10 fish have been affected by pollution from one of our samples. How do we express that as a ratio of affected fish to not affected fish?");
        q.SetAnswers("3:7", "7:3", "1:3","7:1");
        q.SetRightAnswer("3:7");
        q.SetHint("Make sure to pay attention to the order of the numbers in the wording.");
        q.SetDescriptionOfRightAnswer("Correct. If we have 3 affected fish, then that means we have 7 not affected fish. Thus, the ratio is 3 to 7.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 2 ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("You observed that 20% of fish have been affected by pollution from the total of the two samples. How do you express this as a ratio of affected fish to not affected fish?");
        q.SetAnswers("1:5", "20:1", "2:5", "2:8");
        q.SetRightAnswer("2:8");
        q.SetHint("TMake sure to pay attention to the order of the numbers in the wording. Remember that percentages are different than ratios.");
        q.SetDescriptionOfRightAnswer("Correct. If we have 2 affected fish, then that means we have 8 not affected fish. Thus, the ratio is 2 to 8.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        slides.Add (new Slide (
            "Your boss appreciates your work! Converting your data to make it easy to understand is not very hard. However, your work is not done. "
            // TODO support histograms
            /*  + "Next, you will need to create a chart of your results..." */
        ));

        this.slides = slides;
    }
    void Start()
    {
        slides = new Slides("LessonProbabilityPractice");

        slides.Add(new Slide(
            "Exercise 2: Discovering Probability\n\nIn the following exercise, you will practice calculating probability."
        ));

        slides.Add (new Slide (
            "In this scenario, after a day of investigating fish, your boss wants you to report your findings to him!  We need to calcuate the probability of randomly selecting a fish that has been affected by oil!"
        ));

        // ----------------------- Question Slide ---------------- //
        Slide qSlide = new Slide("");
        Question q = new Question();
        q.SetText("If 3 out of 10 fish had been affected by oil, what would the probability be of randomly selected a fish the has been affected by oil?");
        q.SetAnswers("70%", "50%", "0%", "30%");
        q.SetRightAnswer("30%");
        q.SetHint("Calculate 3/10 and then multiply by 100 to get the percentage for the probability.");
        q.SetDescriptionOfRightAnswer("Correct! The probability of selecting a fish that has been affected by oil is 30%, or 3/10.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("If 3 out of 10 fish had been affected by oil, what would the probability be of randomly selected a fish the has NOT been affected by oil?");
        q.SetAnswers("70%", "20%", "0%", "30%");
        q.SetRightAnswer("70%");
        q.SetHint("Remember that the total probability of selecting a fish that has been affected by oil and has not been affected by oil is 100%");
        q.SetDescriptionOfRightAnswer("Great! If the probability of selecting a fish that has been affected by oil is 30%, then 100% - 30% = 70%, which is the probability of selecting a fish that has NOT been affected by oil.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        slides.Add(new Slide(
            "Your boss appreciates the work!"
        ));
    }
Exemplo n.º 5
0
    void Start()
    {
        Assets assets = Assets.GetInstance();
        Slides slides = new Slides("LessonSamplePractice");

        slides.Add(new Slide(
                       "Let's discover first hand what probability is and how we can use it in real world situations."
                       ));

        slides.Add(new Slide(
                       "Here is a scenario: An oil spill has caused fish in a bay area to become sick. You have been tasked to figure out the effects of that oil spill on the first population of fish."
                       ));

        slides.Add(new Slide(
                       "Begin by taking a tally of how many fish you can find that have been affected by the pollution."
                       ));

        slides.Add(new Slide(
                       "Let's practice:\n" +
                       "1. To begin, locate the first area of water, called the Bay Area.\n" +
                       "2. Point the camera on your mobile device at the Bay Area.\n" +
                       "3. Take a sample of the 10 fish in the water by tapping the fish on the screen."
                       ));

        slides.Add(new Slide(
                       "4. To determine if a fish is infected by oil, look for oil streaks.\n" +
                       "5. Once you’ve looked at all 10 fish, calculate the percentage of fish affected by pollution and answer any related questions. If you need help, tap “hint” for more information.\n" +
                       "6. After answering all the questions for the area of water, tap [finished]."
                       ));

        // --------------------- Experience Slide ---------------- //
        Slide arSlide = new Slide(
            "Point your device at Pier Area."
            );

        FishExperience e = new FishExperience(typeof(FishBehavior), arSlide);

        e.SetTarget(GameObject.Find(assets.PierArea));
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.SetTotalNumberOfFish(10);

        arSlide.AttachExperience(e);

        slides.Add(arSlide);
        // -------------------------------------------------------- //

        slides.Add(new Slide(
                       "Results\n\n" +
                       "It looks like you sampled 3 out of 10 fish that have been affected by the oil spill."
                       ));

        slides.Add(new Slide(
                       "In other words, 30 percent of the fish have been affected by the oil spill.\n\n" +
                       "Based on that, we can assume that of the next 10 fish we randomly select from the lake, 3 will also be affected by the pollution."
                       ));


        // ----------------------- Question Slide ---------------- //
        Slide    qSlide = new Slide("");
        Question q      = new Question();

        q.SetText("You have observed that 3 of 10 fish have been affected by pollution for this sample. How many fish would you expect to be affected by the oil spill if you sampled a total of 100 fish from the same lake?");
        q.SetAnswers("10", "30", "50", "100");
        q.SetRightAnswer("30");
        q.SetHint("Take the number of fish that have been affected by oil and divide it by the total number of fish and multiply by 100.");
        q.SetDescriptionOfRightAnswer("By calculating that 30% of your sample was infected, you can make an estimation that 30% of the 100 fish will also be affected by the oil spill, which is 30 fish.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        slides.Add(new Slide(
                       "That is how you take a sample of a population."
                       ));

        this.slides = slides;
    }
    void Start()
    {
        Assets assets = Assets.GetInstance();
        Slides slides = new Slides("LessonSamplePractice");

        slides.Add (new Slide (
            "Let's discover first hand what probability is and how we can use it in real world situations."
        ));

        slides.Add (new Slide (
            "Here is a scenario: An oil spill has caused fish in a bay area to become sick. You have been tasked to figure out the effects of that oil spill on the first population of fish."
        ));

        slides.Add (new Slide (
            "Begin by taking a tally of how many fish you can find that have been affected by the pollution."
        ));

        slides.Add (new Slide (
            "Let's practice:\n" +
            "1. To begin, locate the first area of water, called the Bay Area.\n" +
            "2. Point the camera on your mobile device at the Bay Area.\n" +
            "3. Take a sample of the 10 fish in the water by tapping the fish on the screen."
        ));

        slides.Add (new Slide (
            "4. To determine if a fish is infected by oil, look for oil streaks.\n" +
            "5. Once you’ve looked at all 10 fish, calculate the percentage of fish affected by pollution and answer any related questions. If you need help, tap “hint” for more information.\n" +
            "6. After answering all the questions for the area of water, tap [finished]."
        ));

        // --------------------- Experience Slide ---------------- //
        Slide arSlide = new Slide(
            "Point your device at Pier Area."
        );

        FishExperience e = new FishExperience(typeof(FishBehavior), arSlide);
        e.SetTarget(GameObject.Find (assets.PierArea));
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.SetTotalNumberOfFish (10);

        arSlide.AttachExperience(e);

        slides.Add(arSlide);
        // -------------------------------------------------------- //

        slides.Add (new Slide (
            "Results\n\n" +
            "It looks like you sampled 3 out of 10 fish that have been affected by the oil spill."
        ));

        slides.Add (new Slide (
            "In other words, 30 percent of the fish have been affected by the oil spill.\n\n" +
            "Based on that, we can assume that of the next 10 fish we randomly select from the lake, 3 will also be affected by the pollution."
        ));

        // ----------------------- Question Slide ---------------- //
        Slide qSlide = new Slide("");
        Question q = new Question();
        q.SetText("You have observed that 3 of 10 fish have been affected by pollution for this sample. How many fish would you expect to be affected by the oil spill if you sampled a total of 100 fish from the same lake?");
        q.SetAnswers("10", "30", "50", "100");
        q.SetRightAnswer("30");
        q.SetHint("Take the number of fish that have been affected by oil and divide it by the total number of fish and multiply by 100.");
        q.SetDescriptionOfRightAnswer("By calculating that 30% of your sample was infected, you can make an estimation that 30% of the 100 fish will also be affected by the oil spill, which is 30 fish.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        slides.Add (new Slide (
            "That is how you take a sample of a population."
        ));

        this.slides = slides;
    }
Exemplo n.º 7
0
    void Start()
    {
        Slides slides = new Slides("Lesson9");

        slides.Add(new Slide(
                       "Probability Quiz\n\nTo check your knowledge, please answer the following 10 questions. Good luck!"
                       ));
        // ----------------------- Question Slide 1 ---------------- //
        Slide    qSlide = new Slide("");
        Question q      = new Question();

        q.SetText("If something is likely to happen, than it should have a probability of...");
        q.SetAnswers("0", "0.5", "0.2", "1");
        q.SetRightAnswer("1");
        q.SetHint("The closer to 1 of probability the more likely it is to happen.");
        q.SetDescriptionOfRightAnswer("The closer to 1 of probability the more likely it is to happen.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 2 ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("If something is likely to happen, than it should have a probability of between...");
        q.SetAnswers("0 and 0.5", "0.5 and 1", "1 and 2", "None of the above");
        q.SetRightAnswer("0.5 and 1");
        q.SetHint("The closer to 1 a probabiltiy, the more likely it is to happen.");
        q.SetDescriptionOfRightAnswer("The closer to 1 a probabiltiy, the more likely it is to happen.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //


        // ----------------------- Question Slide 3 ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("We have a box of jelly beans with 3 orange, 1 lemon, and 2 cherry jelly beans inside it.  \n\nWhat is the probability of randomly selecting an orange jelly bean?");
        q.SetAnswers("3 out of 6", "1 out of 6", "2 out of 6", "4 out of 6");
        q.SetRightAnswer("3 out of 6");
        q.SetHint("Count the number of orange jelly beans and the total number of jelly beans.");
        q.SetDescriptionOfRightAnswer("Good job!  By counting the total of the orange jelly beans and to the total amount of jelly beans, we can determine that 3 out of 6 of the jelly beans are orange.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 4 ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("We have a box of jelly beans with 3 orange, 1 lemon, and 2 cherry jelly beans inside it.  \n\nWhat is the probability of randomly selecting a lemon jelly bean?");
        q.SetAnswers("3 out of 6", "1 out of 6", "2 out of 6", "4 out of 6");
        q.SetRightAnswer("1 out of 6");
        q.SetHint("Count the number of lemon jelly beans and the total number of jelly beans.");
        q.SetDescriptionOfRightAnswer("Good job!  By counting the total of the lemon jelly beans and to the total amount of jelly beans, we can determine that 1 out of 6 of the jelly beans are lemon.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 5 ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("We have a box of jelly beans with 3 orange, 1 lemon, and 2 cherry jelly beans inside it.  \n\nWhat is the probability of randomly selecting a cherry jelly bean?");
        q.SetAnswers("3 out of 6", "1 out of 6", "2 out of 6", "4 out of 6");
        q.SetRightAnswer("2 out of 6");
        q.SetHint("Count the number of cherry jelly beans and the total number of jelly beans.");
        q.SetDescriptionOfRightAnswer("Good job!  By counting the total of the cherry jelly beans and to the total amount of jelly beans, we can determine that 2 out of 6 of the jelly beans are cherry.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 6 ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("We have a box of jelly beans with 3 orange, 1 lemon, and 2 cherry jelly beans inside it.  \n\nWhich flavor would have the largest probability of being randomly selected?");
        q.SetAnswers("Cherry", "Lemon", "Orange", "All equal");
        q.SetRightAnswer("Orange");
        q.SetHint("Count which flavor has the highest amount.");
        q.SetDescriptionOfRightAnswer("Good job!");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 7 ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("We have a box of jelly beans with 3 orange, 1 lemon, and 2 cherry jelly beans inside it.  \n\nWhich flavor would have the lowest probability of being randomly selected?");
        q.SetAnswers("Cherry", "Lemon", "Orange", "All equal");
        q.SetRightAnswer("Lemon");
        q.SetHint("Count which flavor has the lowest amount.");
        q.SetDescriptionOfRightAnswer("Good job!");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //


        // ----------------------- Question Slide 8 ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("A fair coin is tossed 10 times. It lands on heads 8 times and lands on tails 2 times. What is the probability that the coin will land on heads with the next throw?");
        q.SetAnswers("80%", "20%", "10%", "50%");
        q.SetRightAnswer("50%");
        q.SetHint("Don't be fooled into thinking that the past coin flips influence future coin flips.");
        q.SetDescriptionOfRightAnswer("Good job! Past coin flips do not influence future coin flips.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //


        // ----------------------- Question Slide 9 ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("The weatherman reported that there was a 70% chance of rain tomorrow. How else could we show this amount?");
        q.SetAnswers("7:3", "7/10", "0.7", "All of the above");
        q.SetRightAnswer("All of the above");
        q.SetHint("There is more than one way to represent a probability.");
        q.SetDescriptionOfRightAnswer("Great! Probabilities can be represented as fractions, ratios, decimals, as well as percentages.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //


        // ----------------------- Question Slide 10 ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("A recipe calls for 2 cups of milk for every 3 cups of cake mix. How can we show this as a ratio of milk to cake mix?");
        q.SetAnswers("2:3", "3:2", "0:5", "5:0");
        q.SetRightAnswer("2:3");
        q.SetHint("There is more than one way to represent a probability.");
        q.SetDescriptionOfRightAnswer("Great! Probabilities can be represented as fractions, ratios, decimals, as well as percentages.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        slides.Add(new Slide(
                       "Congrats on finishing the probability quiz! Now that you've learned what probability is, check out our other mobile learning applications!"
                       ));

        this.slides = slides;
    }
    void Start()
    {
        Slides slides = new Slides("Lesson9");

        slides.Add(new Slide(
            "Probability Quiz\n\nTo check your knowledge, please answer the following 10 questions. Good luck!"
            ));
        // ----------------------- Question Slide 1 ---------------- //
        Slide qSlide = new Slide("");
        Question q = new Question();
        q.SetText("If something is likely to happen, than it should have a probability of...");
        q.SetAnswers("0", "0.5", "0.2", "1");
        q.SetRightAnswer("1");
        q.SetHint("The closer to 1 of probability the more likely it is to happen.");
        q.SetDescriptionOfRightAnswer("The closer to 1 of probability the more likely it is to happen.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 2 ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("If something is likely to happen, than it should have a probability of between...");
        q.SetAnswers("0 and 0.5", "0.5 and 1", "1 and 2", "None of the above");
        q.SetRightAnswer("0.5 and 1");
        q.SetHint("The closer to 1 a probabiltiy, the more likely it is to happen.");
        q.SetDescriptionOfRightAnswer("The closer to 1 a probabiltiy, the more likely it is to happen.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 3 ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("We have a box of jelly beans with 3 orange, 1 lemon, and 2 cherry jelly beans inside it.  \n\nWhat is the probability of randomly selecting an orange jelly bean?");
        q.SetAnswers("3 out of 6", "1 out of 6", "2 out of 6", "4 out of 6");
        q.SetRightAnswer("3 out of 6");
        q.SetHint("Count the number of orange jelly beans and the total number of jelly beans.");
        q.SetDescriptionOfRightAnswer("Good job!  By counting the total of the orange jelly beans and to the total amount of jelly beans, we can determine that 3 out of 6 of the jelly beans are orange.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 4 ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("We have a box of jelly beans with 3 orange, 1 lemon, and 2 cherry jelly beans inside it.  \n\nWhat is the probability of randomly selecting a lemon jelly bean?");
        q.SetAnswers("3 out of 6", "1 out of 6", "2 out of 6", "4 out of 6");
        q.SetRightAnswer("1 out of 6");
        q.SetHint("Count the number of lemon jelly beans and the total number of jelly beans.");
        q.SetDescriptionOfRightAnswer("Good job!  By counting the total of the lemon jelly beans and to the total amount of jelly beans, we can determine that 1 out of 6 of the jelly beans are lemon.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 5 ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("We have a box of jelly beans with 3 orange, 1 lemon, and 2 cherry jelly beans inside it.  \n\nWhat is the probability of randomly selecting a cherry jelly bean?");
        q.SetAnswers("3 out of 6", "1 out of 6", "2 out of 6", "4 out of 6");
        q.SetRightAnswer("2 out of 6");
        q.SetHint("Count the number of cherry jelly beans and the total number of jelly beans.");
        q.SetDescriptionOfRightAnswer("Good job!  By counting the total of the cherry jelly beans and to the total amount of jelly beans, we can determine that 2 out of 6 of the jelly beans are cherry.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 6 ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("We have a box of jelly beans with 3 orange, 1 lemon, and 2 cherry jelly beans inside it.  \n\nWhich flavor would have the largest probability of being randomly selected?");
        q.SetAnswers("Cherry", "Lemon", "Orange", "All equal");
        q.SetRightAnswer("Orange");
        q.SetHint("Count which flavor has the highest amount.");
        q.SetDescriptionOfRightAnswer("Good job!");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 7 ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("We have a box of jelly beans with 3 orange, 1 lemon, and 2 cherry jelly beans inside it.  \n\nWhich flavor would have the lowest probability of being randomly selected?");
        q.SetAnswers("Cherry", "Lemon", "Orange", "All equal");
        q.SetRightAnswer("Lemon");
        q.SetHint("Count which flavor has the lowest amount.");
        q.SetDescriptionOfRightAnswer("Good job!");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 8 ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("A fair coin is tossed 10 times. It lands on heads 8 times and lands on tails 2 times. What is the probability that the coin will land on heads with the next throw?");
        q.SetAnswers("80%", "20%", "10%", "50%");
        q.SetRightAnswer("50%");
        q.SetHint("Don't be fooled into thinking that the past coin flips influence future coin flips.");
        q.SetDescriptionOfRightAnswer("Good job! Past coin flips do not influence future coin flips.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 9 ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("The weatherman reported that there was a 70% chance of rain tomorrow. How else could we show this amount?");
        q.SetAnswers("7:3", "7/10", "0.7", "All of the above");
        q.SetRightAnswer("All of the above");
        q.SetHint("There is more than one way to represent a probability.");
        q.SetDescriptionOfRightAnswer("Great! Probabilities can be represented as fractions, ratios, decimals, as well as percentages.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide 10 ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("A recipe calls for 2 cups of milk for every 3 cups of cake mix. How can we show this as a ratio of milk to cake mix?");
        q.SetAnswers("2:3", "3:2", "0:5", "5:0");
        q.SetRightAnswer("2:3");
        q.SetHint("There is more than one way to represent a probability.");
        q.SetDescriptionOfRightAnswer("Great! Probabilities can be represented as fractions, ratios, decimals, as well as percentages.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        slides.Add(new Slide(
            "Congrats on finishing the probability quiz! Now that you've learned what probability is, check out our other mobile learning applications!"
            ));

        this.slides = slides;
    }
Exemplo n.º 9
0
    void Start()
    {
        Assets assets = Assets.GetInstance();
        Slides slides = new Slides("LessonExploringVariability");

        slides.Add(new Slide(
                       "Comparing Different Samples\n\n" +
                       "Let's discover first hand what variability is and how we can use it in real world situations."
                       ));

        slides.Add(new Slide(
                       "HWe return to the area of the oil spill that has caused fish to become sick.\n\n" +
                       "Let's compare the results we took from the Pier and compare them with new data from the Shallow Area of the lake."
                       ));

        // --------------------- Experience Slide ---------------- //
        Slide arSlide = new Slide(
            "Point your device at the Shallow Area."
            );

        FishExperience e = new FishExperience(typeof(FishBehavior), arSlide);

        e.SetTarget(GameObject.Find(assets.ShallowArea));
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.SetTotalNumberOfFish(12);

        arSlide.AttachExperience(e);

        slides.Add(arSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide ---------------- //
        Slide    qSlide = new Slide("");
        Question q      = new Question();

        q.SetText("What fraction of fish have been affected by oil based on the 12 fish you have investigated (there were 8 fish that were not affected by oil)?");
        q.SetAnswers("1/12", "3/12", "4/12", "7/12");
        q.SetRightAnswer("4/12");
        q.SetHint("Take the number of fish that have been affected by oil and divide it by the total number of fish.");
        q.SetDescriptionOfRightAnswer("Great!  Dividing the number of affected fish by the total number of fish, we can derive that 4/12ths of the fish have been affected by pollution!");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //


        // ----------------------- Question Slide ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("What is 4/12ths as a percentage?");
        q.SetAnswers("10%", "33.3%", "66.7%", "100%");
        q.SetRightAnswer("33.3%");
        q.SetHint("The probability that the next fish is affected by oil is the same as the observed fraction of fish that have been affected by oil.");
        q.SetDescriptionOfRightAnswer("That's correct!  4/12 = 1/3, which is 33.3%.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("Last time, we noticed that 3/10 fish were affected.  Is that a higher or lower percentage of fish than this time (which was 4/12)?");
        q.SetAnswers("Higher", "Lower", "The Same", "");
        q.SetHint("Calculate what 3/10ths is and calculate what 4/12ths is as a percentage.");
        q.SetRightAnswer("Lower");
        //q.SetHint("The probability that the next fish is affected by oil is the same as the observed fraction of fish that have been affected by oil.");
        q.SetDescriptionOfRightAnswer("That's right!  By counting more fish, we have discovered that the percentage of fish is actually lower than we originally estimated.");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        slides.Add(new Slide(
                       "Let's collect one more data set from a Tributary of the lake before we look into the variability of the data we have collected."
                       ));

        // --------------------- Experience Slide ---------------- //
        arSlide = new Slide(
            "Point your device at the Tributary Area."
            );

        e = new FishExperience(typeof(FishBehavior), arSlide);
        e.SetTarget(GameObject.Find(assets.TributaryArea));
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.SetTotalNumberOfFish(10);

        arSlide.AttachExperience(e);

        slides.Add(arSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("So far, we have collected the following sets of data of the percentage of fish that have been affected: 30%, 33.3%, and 50%.\n\n" +
                  "What is the range of this data?");
        q.SetAnswers("20", "33.3", "30", "50");
        q.SetHint("Remember that the range is the value of the largest data point minus the smallest data point.");
        q.SetRightAnswer("20");
        q.SetDescriptionOfRightAnswer("That's right! By taking the largest data point (50%) and subtracting the smallest data point (30%), we get 20 as the range!");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide ---------------- //
        qSlide = new Slide("");
        q      = new Question();
        q.SetText("If you were to estimate the mean of 30%, 33.3%, and 50%, what would your approximation be?");
        q.SetAnswers("20% - 30%", "35% - 40%", "50% - 60%", "0% - 10%");
        q.SetHint("If you are having trouble calculating the mean, try to visually imagine where the middle of 30, 33 and 50 would be.");
        q.SetRightAnswer("35% - 40%");
        q.SetDescriptionOfRightAnswer("Good job!  The exact mean is 37.7%!");

        qSlide.AttachQuestion(q);
        slides.Add(qSlide);
        // -------------------------------------------------------- //

        this.slides = slides;
    }
    void Start()
    {
        Assets assets = Assets.GetInstance();
        Slides slides = new Slides("LessonExploringVariability");

        slides.Add(new Slide(
            "Comparing Different Samples\n\n" +
            "Let's discover first hand what variability is and how we can use it in real world situations."
        ));

        slides.Add (new Slide (
            "HWe return to the area of the oil spill that has caused fish to become sick.\n\n" +
            "Let's compare the results we took from the Pier and compare them with new data from the Shallow Area of the lake."
        ));

        // --------------------- Experience Slide ---------------- //
        Slide arSlide = new Slide(
            "Point your device at the Shallow Area."
        );

        FishExperience e = new FishExperience(typeof(FishBehavior), arSlide);
        e.SetTarget(GameObject.Find (assets.ShallowArea));
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.SetTotalNumberOfFish (12);

        arSlide.AttachExperience(e);

        slides.Add(arSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide ---------------- //
        Slide qSlide = new Slide("");
        Question q = new Question();
        q.SetText("What fraction of fish have been affected by oil based on the 12 fish you have investigated (there were 8 fish that were not affected by oil)?");
        q.SetAnswers("1/12", "3/12", "4/12", "7/12");
        q.SetRightAnswer("4/12");
        q.SetHint("Take the number of fish that have been affected by oil and divide it by the total number of fish.");
        q.SetDescriptionOfRightAnswer("Great!  Dividing the number of affected fish by the total number of fish, we can derive that 4/12ths of the fish have been affected by pollution!");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("What is 4/12ths as a percentage?");
        q.SetAnswers("10%", "33.3%", "66.7%", "100%");
        q.SetRightAnswer("33.3%");
        q.SetHint("The probability that the next fish is affected by oil is the same as the observed fraction of fish that have been affected by oil.");
        q.SetDescriptionOfRightAnswer("That's correct!  4/12 = 1/3, which is 33.3%.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("Last time, we noticed that 3/10 fish were affected.  Is that a higher or lower percentage of fish than this time (which was 4/12)?");
        q.SetAnswers("Higher", "Lower", "The Same", "");
        q.SetHint ("Calculate what 3/10ths is and calculate what 4/12ths is as a percentage.");
        q.SetRightAnswer("Lower");
        //q.SetHint("The probability that the next fish is affected by oil is the same as the observed fraction of fish that have been affected by oil.");
        q.SetDescriptionOfRightAnswer("That's right!  By counting more fish, we have discovered that the percentage of fish is actually lower than we originally estimated.");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        slides.Add (new Slide (
            "Let's collect one more data set from a Tributary of the lake before we look into the variability of the data we have collected."
        ));

        // --------------------- Experience Slide ---------------- //
        arSlide = new Slide(
            "Point your device at the Tributary Area."
        );

        e = new FishExperience(typeof(FishBehavior), arSlide);
        e.SetTarget(GameObject.Find (assets.TributaryArea));
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomHealthyFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.AddGameObject(assets.RandomSickFish());
        e.SetTotalNumberOfFish (10);

        arSlide.AttachExperience(e);

        slides.Add(arSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("So far, we have collected the following sets of data of the percentage of fish that have been affected: 30%, 33.3%, and 50%.\n\n"  +
                  "What is the range of this data?");
        q.SetAnswers("20", "33.3", "30", "50");
        q.SetHint ("Remember that the range is the value of the largest data point minus the smallest data point.");
        q.SetRightAnswer("20");
        q.SetDescriptionOfRightAnswer("That's right! By taking the largest data point (50%) and subtracting the smallest data point (30%), we get 20 as the range!");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        // ----------------------- Question Slide ---------------- //
        qSlide = new Slide("");
        q = new Question();
        q.SetText("If you were to estimate the mean of 30%, 33.3%, and 50%, what would your approximation be?");
        q.SetAnswers("20% - 30%", "35% - 40%", "50% - 60%", "0% - 10%");
        q.SetHint ("If you are having trouble calculating the mean, try to visually imagine where the middle of 30, 33 and 50 would be.");
        q.SetRightAnswer("35% - 40%");
        q.SetDescriptionOfRightAnswer("Good job!  The exact mean is 37.7%!");

        qSlide.AttachQuestion(q);
        slides.Add (qSlide);
        // -------------------------------------------------------- //

        this.slides = slides;
    }