<?xml version="1.0" encoding="UTF-8"?>
<otrunk id="874b8410-3938-012a-b543-0017f2cc694e">
  <imports>
    <import class="org.concord.data.state.OTDataChannelDescription" />
    <import class="org.concord.data.state.OTDataStore" />
    <import class="org.concord.data.state.OTDataTable" />
    <import class="org.concord.framework.otrunk.view.OTFrame" />
    <import class="org.concord.framework.otrunk.wrapper.OTObjectSet" />
    <import class="org.concord.otrunk.OTSystem" />
    <import class="org.concord.otrunk.ui.OTText" />
    <import class="org.concord.otrunk.ui.OTLayerContainer" />
    <import class="org.concord.otrunk.ui.OTTextPane" />
    <import class="org.concord.otrunk.ui.OTPlacementContainer" />
    <import class="org.concord.otrunk.ui.OTPlacement" />
    <import class="org.concord.otrunk.ui.OTChoice" />
    <import class="org.concord.otrunk.ui.OTChoiceMultiple" />
    <import class="org.concord.otrunk.ui.question.OTQuestion" />
    <import class="org.concord.otrunk.ui.OTImage" />
    <import class="org.concord.otrunk.ui.OTButton" />
    <import class="org.concord.otrunk.ui.OTLayerContainer" />
    <import class="org.concord.otrunk.ui.swing.OTChoiceViewConfig" />
    <import class="org.concord.otrunk.view.document.OTDocumentViewConfig" />
    <import class="org.concord.otrunk.view.OTViewEntry" />
    <import class="org.concord.otrunk.view.OTViewBundle" />
    <import class="org.concord.otrunk.view.document.OTCompoundDoc" />
    <import class="org.concord.otrunk.view.document.OTTextObject" />
    <import class="org.concord.otrunk.script.OTScriptEngineBundle" />
    <import class="org.concord.otrunk.script.OTScriptEngineEntry" />
    <import class="org.concord.otrunk.script.ui.OTScriptObject" />
    <import class="org.concord.otrunk.script.ui.OTScriptVariable" />
    <import class="org.concord.otrunk.script.js.OTJavascript" />
    <import class="org.concord.otrunkmw.OTModelerPage" />
  </imports>
  <objects>
    <OTSystem>
      <bundles>
        <OTViewBundle showLeftPanel="false">
          <views>
            <OTViewEntry objectClass="org.concord.data.state.OTDataTable" viewClass="org.concord.data.state.OTDataTableView" />
            <OTViewEntry objectClass="org.concord.otrunk.view.document.OTDocument" viewClass="org.concord.otrunk.view.document.OTDocumentView" />
            <OTChoiceViewConfig objectClass="org.concord.otrunk.ui.OTChoice" viewClass="org.concord.otrunk.ui.swing.OTChoiceCheckBoxView" useViewsAsChoices="true" />
            <OTViewEntry objectClass="org.concord.otrunk.ui.OTLayerContainer" viewClass="org.concord.otrunk.ui.swing.OTLayerContainerView" />
            <OTViewEntry objectClass="org.concord.otrunk.ui.OTButton" viewClass="org.concord.otrunk.ui.swing.OTButtonView" />
            <OTViewEntry objectClass="org.concord.otrunk.script.ui.OTScriptObject" viewClass="org.concord.otrunk.script.ui.OTScriptObjectView" />
            <OTViewEntry objectClass="org.concord.otrunkmw.OTModelerPage" viewClass="org.concord.otrunkmw.OTModelerPageView" />
          </views>
          <frame>
            <OTFrame width="800" height="600" />
          </frame>
        </OTViewBundle>
        <OTScriptEngineBundle>
          <engines>
            <OTScriptEngineEntry objectClass="org.concord.otrunk.script.js.OTJavascript" engineClass="org.concord.otrunk.script.js.OTJavascriptEngine" />
          </engines>
        </OTScriptEngineBundle>
      </bundles>
      <root>
        <OTLayerContainer>
          <layers>
            <OTModelerPage local_id="mwpage" authoredDataURL="http://ri-itest.concord.org/SAMActivities/IntroToModeling/IntroToModeling_v1/index.cml">
              <questions>
                <OTQuestion id="1f5e3b25-82df-11dd-91c4-49fd2000c9f6" name="http://ri-itest.concord.org/SAMActivities/IntroToModeling/IntroToModeling_v1/page1.cml">
                  <prompt>
                    <OTText id="1f5ed766-82df-11dd-91c4-49fd2000c9f6" text="Which of the following are other factors that might affect the motion of the ball, so they should be considered or calculated by the computer model (check ALL that apply):" />
                  </prompt>
                  <input>
                    <OTChoice id="1f5f2587-82df-11dd-91c4-49fd2000c9f6" selectionUI="1">
                      <choices>
                        <OTText id="1f5f4c98-82df-11dd-91c4-49fd2000c9f6" text="the speed of the ball" />
                        <OTText id="1f5f4c99-82df-11dd-91c4-49fd2000c9f6" text="the friction between the ball and its environment" />
                        <OTText id="1f5f4c9a-82df-11dd-91c4-49fd2000c9f6" text="the elasticity or (bounciness) of the ball" />
                        <OTText id="1f5f9abb-82df-11dd-91c4-49fd2000c9f6" text="the position of the ball at any particular time" />
                        <OTText text="the color of the ball" />
                        <OTText id="1f5f9abd-82df-11dd-91c4-49fd2000c9f6" text="the effect of gravity" />
                        <OTText id="1f5f9abe-82df-11dd-91c4-49fd2000c9f6" text="the angle the ball will bounce off of when colliding with other objects" />
                      </choices>
                    </OTChoice>
                  </input>
                  <correctAnswer>
                    <OTObjectSet>
                      <objects>
                        <object refid="1f5f4c98-82df-11dd-91c4-49fd2000c9f6" />
                        <object refid="1f5f4c99-82df-11dd-91c4-49fd2000c9f6" />
                        <object refid="1f5f4c9a-82df-11dd-91c4-49fd2000c9f6" />
                        <object refid="1f5f9abb-82df-11dd-91c4-49fd2000c9f6" />
                        <object refid="1f5f9abd-82df-11dd-91c4-49fd2000c9f6" />
                        <object refid="1f5f9abe-82df-11dd-91c4-49fd2000c9f6" />
                      </objects>
                    </OTObjectSet>
                  </correctAnswer>
                </OTQuestion>
                <OTQuestion id="25b5eb40-82df-11dd-91c4-49fd2000c9f6" name="http://ri-itest.concord.org/SAMActivities/IntroToModeling/IntroToModeling_v1/page3.cml">
                  <prompt>
                    <OTText id="25b61251-82df-11dd-91c4-49fd2000c9f6" text="What can you tell about the velocity of the ball by watching the arrow attached to it?" />
                  </prompt>
                  <input>
                    <OTText id="25b61252-82df-11dd-91c4-49fd2000c9f6" text="" />
                  </input>
                </OTQuestion>
                <OTQuestion id="25b66074-82df-11dd-91c4-49fd2000c9f6" name="http://ri-itest.concord.org/SAMActivities/IntroToModeling/IntroToModeling_v1/page3.cml">
                  <prompt>
                    <OTText id="25b66075-82df-11dd-91c4-49fd2000c9f6" text="How does the color of the ball correspond with the graph of kinetic energy on the right? hint" />
                  </prompt>
                  <input>
                    <OTText id="25b66076-82df-11dd-91c4-49fd2000c9f6" text="" />
                  </input>
                </OTQuestion>
                <OTQuestion id="2ca854b8-82df-11dd-91c4-49fd2000c9f6" name="http://ri-itest.concord.org/SAMActivities/IntroToModeling/IntroToModeling_v1/page4.cml">
                  <prompt>
                    <OTText id="2ca854b9-82df-11dd-91c4-49fd2000c9f6" text="PEAK of bounce." />
                  </prompt>
                  <input>
                    <OTImage id="2ca854ba-82df-11dd-91c4-49fd2000c9f6" />
                  </input>
                </OTQuestion>
                <OTQuestion id="2ca93f1b-82df-11dd-91c4-49fd2000c9f6" name="http://ri-itest.concord.org/SAMActivities/IntroToModeling/IntroToModeling_v1/page4.cml">
                  <prompt>
                    <OTText id="2ca93f1c-82df-11dd-91c4-49fd2000c9f6" text="MIDDLE of bounce." />
                  </prompt>
                  <input>
                    <OTImage id="2ca93f1d-82df-11dd-91c4-49fd2000c9f6" />
                  </input>
                </OTQuestion>
                <OTQuestion id="2ca93f1e-82df-11dd-91c4-49fd2000c9f6" name="http://ri-itest.concord.org/SAMActivities/IntroToModeling/IntroToModeling_v1/page4.cml">
                  <prompt>
                    <OTText id="2ca93f1f-82df-11dd-91c4-49fd2000c9f6" text="BOTTOM of bounce." />
                  </prompt>
                  <input>
                    <OTImage id="2ca93f20-82df-11dd-91c4-49fd2000c9f6" />
                  </input>
                </OTQuestion>
                <OTQuestion id="2ca96631-82df-11dd-91c4-49fd2000c9f6" name="http://ri-itest.concord.org/SAMActivities/IntroToModeling/IntroToModeling_v1/page4.cml">
                  <prompt>
                    <OTText id="2ca96632-82df-11dd-91c4-49fd2000c9f6" text="When does the ball have the MOST kinetic energy?" />
                  </prompt>
                  <input>
                    <OTChoice id="2ca96633-82df-11dd-91c4-49fd2000c9f6" selectionUI="0">
                      <choices>
                        <OTText text="at the peak of a bounce" />
                        <OTText text="in the middle of a bounce" />
                        <OTText id="2ca96636-82df-11dd-91c4-49fd2000c9f6" text="near the bottom of a bounce" />
                      </choices>
                    </OTChoice>
                  </input>
                  <correctAnswer>
                    <object refid="2ca96636-82df-11dd-91c4-49fd2000c9f6" />
                  </correctAnswer>
                </OTQuestion>
                <OTQuestion id="2ca98d47-82df-11dd-91c4-49fd2000c9f6" name="http://ri-itest.concord.org/SAMActivities/IntroToModeling/IntroToModeling_v1/page4.cml">
                  <prompt>
                    <OTText id="2ca98d48-82df-11dd-91c4-49fd2000c9f6" text="When does the ball have the LEAST kinetic energy?" />
                  </prompt>
                  <input>
                    <OTChoice id="2ca98d49-82df-11dd-91c4-49fd2000c9f6" selectionUI="0">
                      <choices>
                        <OTText id="2ca98d4a-82df-11dd-91c4-49fd2000c9f6" text="at the peak of a bounce" />
                        <OTText text="in the middle of a bounce" />
                        <OTText text="near the bottom of a bounce" />
                      </choices>
                    </OTChoice>
                  </input>
                  <correctAnswer>
                    <object refid="2ca98d4a-82df-11dd-91c4-49fd2000c9f6" />
                  </correctAnswer>
                </OTQuestion>
                <OTQuestion id="305a875d-82df-11dd-91c4-49fd2000c9f6" name="http://ri-itest.concord.org/SAMActivities/IntroToModeling/IntroToModeling_v1/page5.cml">
                  <prompt>
                    <OTText id="305a875e-82df-11dd-91c4-49fd2000c9f6" text="What is similar and what is different about the way the ball bounces on Earth and on the Moon?" />
                  </prompt>
                  <input>
                    <OTText id="305a875f-82df-11dd-91c4-49fd2000c9f6" text="" />
                  </input>
                </OTQuestion>
                <OTQuestion id="338b7c01-82df-11dd-91c4-49fd2000c9f6" name="http://ri-itest.concord.org/SAMActivities/IntroToModeling/IntroToModeling_v1/page6.cml">
                  <prompt>
                    <OTText id="338b7c02-82df-11dd-91c4-49fd2000c9f6" text="The kinetic energy of atoms:" />
                  </prompt>
                  <input>
                    <OTChoice id="338b7c03-82df-11dd-91c4-49fd2000c9f6" selectionUI="0">
                      <choices>
                        <OTText text="slowly decreases" />
                        <OTText id="338ba315-82df-11dd-91c4-49fd2000c9f6" text="stays the same" />
                        <OTText text="changes randomly" />
                        <OTText text="slowly increases" />
                      </choices>
                    </OTChoice>
                  </input>
                  <correctAnswer>
                    <object refid="338ba315-82df-11dd-91c4-49fd2000c9f6" />
                  </correctAnswer>
                </OTQuestion>
                <OTQuestion id="338bca28-82df-11dd-91c4-49fd2000c9f6" name="http://ri-itest.concord.org/SAMActivities/IntroToModeling/IntroToModeling_v1/page6.cml">
                  <prompt>
                    <OTText id="338bca29-82df-11dd-91c4-49fd2000c9f6" text="Gravity affects atoms in the following way:" />
                  </prompt>
                  <input>
                    <OTChoice id="338bca2a-82df-11dd-91c4-49fd2000c9f6" selectionUI="0">
                      <choices>
                        <OTText text="gravity seems to make atoms fall" />
                        <OTText text="gravity seems to make atoms rise" />
                        <OTText id="338bca2d-82df-11dd-91c4-49fd2000c9f6" text="gravity seems to have no effect" />
                      </choices>
                    </OTChoice>
                  </input>
                  <correctAnswer>
                    <object refid="338bca2d-82df-11dd-91c4-49fd2000c9f6" />
                  </correctAnswer>
                </OTQuestion>
              </questions>
            </OTModelerPage>
            <object refid="${user-greeting-script}" />
          </layers>
        </OTLayerContainer>
      </root>
      <library>
        <OTCompoundDoc local_id="greeting-popup">
          <bodyText>
            <div style="font-size: 15px;">
              greeting-text
              <br />
              <table>
                <tr>
                  <td width="300px">
                    <object refid="${user-list}" />
                  </td>
                </tr>
                <tr>
                  <td width="400px">
                    <object refid="${user-table}" />
                  </td>
                </tr>
                <tr>
                  <td width="100px">
                    <object refid="${close-button}" />
                  </td>
                </tr>
              </table>
            </div>
          </bodyText>
          <documentRefs>
            <OTChoice local_id="user-list" />
            <OTDataTable local_id="user-table" name="Data table" showLastRowForAddingNew="true" visibleRows="5">
              <dataStore>
                <OTDataStore numberChannels="1">
                  <channelDescriptions>
                    <OTDataChannelDescription name="Student names" numericData="false" />
                  </channelDescriptions>
                  <values>
                    <string />
                    <string />
                    <string />
                    <string />
                  </values>
                </OTDataStore>
              </dataStore>
            </OTDataTable>
            <OTButton local_id="close-button" text="Ok" />
          </documentRefs>
        </OTCompoundDoc>
        <OTScriptObject local_id="user-greeting-script">
          <variables>
            <OTScriptVariable name="popup">
              <reference>
                <object refid="${greeting-popup}" />
              </reference>
            </OTScriptVariable>
            <OTScriptVariable name="list">
              <reference>
                <object refid="${user-list}" />
              </reference>
            </OTScriptVariable>
            <OTScriptVariable name="table">
              <reference>
                <object refid="${user-table}" />
              </reference>
            </OTScriptVariable>
            <OTScriptVariable name="button">
              <reference>
                <object refid="${close-button}" />
              </reference>
            </OTScriptVariable>
            <OTScriptVariable name="users">
              <reference>
                <OTObjectSet name="list of users in group" />
              </reference>
            </OTScriptVariable>
            <OTScriptVariable name="frame">
              <reference>
                <OTFrame height="300" width="400" />
              </reference>
            </OTScriptVariable>
          </variables>
          <script>
            <OTJavascript src="../../scripts/user-greeting-script.js" />
          </script>
          <scriptState />
        </OTScriptObject>
      </library>
    </OTSystem>
  </objects>
</otrunk>

