<?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/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/index.cml">
          <questions>
            <OTQuestion id="b9132562-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page3.cml">
              <prompt>
                <OTText id="b9145de3-80d2-11dd-866a-11ad9c2e069c" text="What is the threshold for excitation of the brown atom? " />
              </prompt>
              <input>
                <OTText id="b9152134-80d2-11dd-866a-11ad9c2e069c" text="" />
              </input>
              <correctAnswer>
                <OTText id="b9152135-80d2-11dd-866a-11ad9c2e069c" text="800 m/s" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="b91680c6-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page3.cml">
              <prompt>
                <OTText id="b916a7d7-80d2-11dd-866a-11ad9c2e069c" text="What is the threshold for excitation of the yellow atom?" />
              </prompt>
              <input>
                <OTText id="b916a7d8-80d2-11dd-866a-11ad9c2e069c" text="" />
              </input>
              <correctAnswer>
                <OTText id="b916a7d9-80d2-11dd-866a-11ad9c2e069c" text="1600 m/s" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="bbd1d03a-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page4.cml">
              <prompt>
                <OTText id="bbd1d03b-80d2-11dd-866a-11ad9c2e069c" text="What is the highest energy you can give to the purple atom's excited state and still have it be excited when the green atom collides with it?" />
              </prompt>
              <input>
                <OTText id="bbd1d03c-80d2-11dd-866a-11ad9c2e069c" text="" />
              </input>
              <correctAnswer>
                <OTText id="bbd1d03d-80d2-11dd-866a-11ad9c2e069c" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="bbd21e5e-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page4.cml">
              <prompt>
                <OTText id="bbd21e5f-80d2-11dd-866a-11ad9c2e069c" text="Sometimes the excited atom goes back to the ground state during a collision. Run the model until this happens, then stop the model and slide the little box with the number in it to the left to set the movie back to that point and study the collision in detail. What happens to the two atoms after the collision? Is energy conserved in a collision of this kind? Explain your answer." />
              </prompt>
              <input>
                <OTText id="bbd21e60-80d2-11dd-866a-11ad9c2e069c" text="" />
              </input>
              <correctAnswer>
                <OTText id="bbd21e61-80d2-11dd-866a-11ad9c2e069c" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="c4de1902-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page7.cml">
              <prompt>
                <OTText id="c4de1903-80d2-11dd-866a-11ad9c2e069c" text="Why does the model slow down when there are photons?" />
              </prompt>
              <input>
                <OTText id="c4de1904-80d2-11dd-866a-11ad9c2e069c" text="" />
              </input>
              <correctAnswer>
                <OTText id="c4de4015-80d2-11dd-866a-11ad9c2e069c" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="c8215d26-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page8.cml">
              <prompt>
                <OTText id="c8215d27-80d2-11dd-866a-11ad9c2e069c" text="What did you have to do to get these photons to excite the pink atom?" />
              </prompt>
              <input>
                <OTText id="c8215d28-80d2-11dd-866a-11ad9c2e069c" text="" />
              </input>
              <correctAnswer>
                <OTText id="c8215d29-80d2-11dd-866a-11ad9c2e069c" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="cabc053a-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page9.cml">
              <prompt>
                <OTText id="cabc053b-80d2-11dd-866a-11ad9c2e069c" text="As you change the frequency of the photons, what changes do you observe in the photons themselves?" />
              </prompt>
              <input>
                <OTText id="cabc053c-80d2-11dd-866a-11ad9c2e069c" text="" />
              </input>
              <correctAnswer>
                <OTText id="cabc053d-80d2-11dd-866a-11ad9c2e069c" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="cabc2c4e-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page9.cml">
              <prompt>
                <OTText id="cabc535f-80d2-11dd-866a-11ad9c2e069c" text="How did you change these photons so that they would excite the pink atom?" />
              </prompt>
              <input>
                <OTText id="cabc5360-80d2-11dd-866a-11ad9c2e069c" text="" />
              </input>
              <correctAnswer>
                <OTText id="cabc5361-80d2-11dd-866a-11ad9c2e069c" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="cabc7a72-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page9.cml">
              <prompt>
                <OTText id="cabc7a73-80d2-11dd-866a-11ad9c2e069c" text="There is one big difference between atom-atom collisions and photon-atom collisions. In a collision between atoms one of them may become excited as long as the energy available is greater than some minimum, but a photon has to have exactly the right energy in order to excite an atom: too much energy is just as useless as too little. Why do you think this is?" />
              </prompt>
              <input>
                <OTText id="cabc7a74-80d2-11dd-866a-11ad9c2e069c" text="" />
              </input>
              <correctAnswer>
                <OTText id="cabc7a75-80d2-11dd-866a-11ad9c2e069c" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="cc802376-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page10.cml">
              <prompt>
                <OTText id="cc804a87-80d2-11dd-866a-11ad9c2e069c" text="Why do you think the purple and green atoms emit different kinds of photons?" />
              </prompt>
              <input>
                <OTText id="cc804a88-80d2-11dd-866a-11ad9c2e069c" text="" />
              </input>
              <correctAnswer>
                <OTText id="cc804a89-80d2-11dd-866a-11ad9c2e069c" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="cc80719a-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page10.cml">
              <prompt>
                <OTText id="cc80719b-80d2-11dd-866a-11ad9c2e069c" text="Why is it so hard to excite all the atoms?" />
              </prompt>
              <input>
                <OTText id="cc80719c-80d2-11dd-866a-11ad9c2e069c" text="" />
              </input>
              <correctAnswer>
                <OTText id="cc80719d-80d2-11dd-866a-11ad9c2e069c" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="ce19611e-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page11.cml">
              <prompt>
                <OTText id="ce19611f-80d2-11dd-866a-11ad9c2e069c" text="What happens if you have an atom with many different possible energy levels:" />
              </prompt>
              <input>
                <OTChoice id="ce196120-80d2-11dd-866a-11ad9c2e069c" selectionUI="0">
                  <choices>
                    <OTText text="It takes more energy to make the atom go to a higher energy level." />
                    <OTText text="You get more photons from the atom." />
                    <OTText id="ce1ae7c3-80d2-11dd-866a-11ad9c2e069c" text="You get more types of photons from the atom." />
                    <OTText text="The atom will stay in a higher energy state without giving off photons." />
                  </choices>
                  <correctChoice>
                    <object refid="ce1ae7c3-80d2-11dd-866a-11ad9c2e069c" />
                  </correctChoice>
                </OTChoice>
              </input>
            </OTQuestion>
            <OTQuestion id="ce1b0ed5-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page11.cml">
              <prompt>
                <OTText id="ce1b0ed6-80d2-11dd-866a-11ad9c2e069c" text="How can you tell the difference between two different atom just by looking at the light they give of when heated?" />
              </prompt>
              <input>
                <OTChoice id="ce1b35e7-80d2-11dd-866a-11ad9c2e069c" selectionUI="0">
                  <choices>
                    <OTText text="Different atoms are different colors, so they give off different light." />
                    <OTText text="Different atoms require different amounts of heat to give off light." />
                    <OTText text="Some atoms don't give off any light, and other do." />
                    <OTText id="ce1b35eb-80d2-11dd-866a-11ad9c2e069c" text="Each atom has a uniques set of energy levels and gives of a unique set of photons." />
                  </choices>
                  <correctChoice>
                    <object refid="ce1b35eb-80d2-11dd-866a-11ad9c2e069c" />
                  </correctChoice>
                </OTChoice>
              </input>
            </OTQuestion>
            <OTQuestion id="d29636bc-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page12.cml">
              <prompt>
                <OTText id="d29636bd-80d2-11dd-866a-11ad9c2e069c" text="When two balls collide with each other they bounce away from each other with the same kinetic energy they had when they collided. This can happen for atoms too. However, sometimes the atoms have less kinetic energy after a collision. Explain what must have happened to the lost kinetic energy." />
              </prompt>
              <input>
                <OTText id="d29636be-80d2-11dd-866a-11ad9c2e069c" text="" />
              </input>
              <correctAnswer>
                <OTText id="d29636bf-80d2-11dd-866a-11ad9c2e069c" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="d2965dd0-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page12.cml">
              <prompt>
                <OTText id="d2965dd1-80d2-11dd-866a-11ad9c2e069c" text="Give one reason it would take more energy to excite on kind of atom when compared to another?" />
              </prompt>
              <input>
                <OTText id="d2965dd2-80d2-11dd-866a-11ad9c2e069c" text="" />
              </input>
              <correctAnswer>
                <OTText id="d2965dd3-80d2-11dd-866a-11ad9c2e069c" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="d29684e4-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page12.cml">
              <prompt>
                <OTText id="d29684e5-80d2-11dd-866a-11ad9c2e069c" text="If an atom had an energy diagram that looked like the image on the left, which transition between levels would cause the atoms to give off its lowest energy photon:" />
              </prompt>
              <input>
                <OTChoice id="d29684e6-80d2-11dd-866a-11ad9c2e069c" selectionUI="0">
                  <choices>
                    <OTText id="d296abf7-80d2-11dd-866a-11ad9c2e069c" text="From level 4⇝3." />
                    <OTText text="From level 3⇝4." />
                    <OTText text="From level 4⇝1." />
                    <OTText text="From level 2⇝3." />
                  </choices>
                  <correctChoice>
                    <object refid="d296abf7-80d2-11dd-866a-11ad9c2e069c" />
                  </correctChoice>
                </OTChoice>
              </input>
            </OTQuestion>
            <OTQuestion id="d296fa1b-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page12.cml">
              <prompt>
                <OTText id="d296fa1c-80d2-11dd-866a-11ad9c2e069c" text="If an atom goes from a very high energy state to a very low energy state what kind of photon must be emitted?" />
              </prompt>
              <input>
                <OTChoice id="d296fa1d-80d2-11dd-866a-11ad9c2e069c" selectionUI="0">
                  <choices>
                    <OTText id="d296fa1e-80d2-11dd-866a-11ad9c2e069c" text="A very high energy photon equal to the difference in the energy levels of the atom." />
                    <OTText text="A very low energy state equal to the low energy state of the atom." />
                    <OTText text="A very high energy state equal to the high energy state of the atom." />
                  </choices>
                  <correctChoice>
                    <object refid="d296fa1e-80d2-11dd-866a-11ad9c2e069c" />
                  </correctChoice>
                </OTChoice>
              </input>
            </OTQuestion>
            <OTQuestion id="d2974841-80d2-11dd-866a-11ad9c2e069c" name="http://ri-itest.concord.org/SAMActivities/EnergeticStatesAndPhotons/EnergeticStatesAndPhotons_v1/page12.cml">
              <prompt>
                <OTText id="d2976f52-80d2-11dd-866a-11ad9c2e069c" text="Atoms can be excited by colliding with other atoms, but they can also be excited by absorbing a photon given off by a different atom. However, when an atom absorbs a photon it is very picky about which photons can excite it. Why is this?" />
              </prompt>
              <input>
                <OTChoice id="d2976f53-80d2-11dd-866a-11ad9c2e069c" selectionUI="0">
                  <choices>
                    <OTText id="d2976f54-80d2-11dd-866a-11ad9c2e069c" text="The photon has to be the same color as the atom." />
                    <OTText text="The energy of the photon has to be just right in order to get the atom into one of its predetermined excited states." />
                    <OTText text="The photon has to be the right size for an atom to be able to absorb it." />
                    <OTText text="It depends on the direction the atom is moving. If it moves in the right direction it can absorb any photon." />
                  </choices>
                  <correctChoice>
                    <object refid="d2976f54-80d2-11dd-866a-11ad9c2e069c" />
                  </correctChoice>
                </OTChoice>
              </input>
            </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="${greeting-popup}"/>
      			<OTScriptVariable name="list" reference="${user-list}"/>
      			<OTScriptVariable name="table" reference="${user-table}"/>
      			<OTScriptVariable name="button" reference="${close-button}"/>
      			<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>
      	</OTScriptObject>
      </library>
    </OTSystem>
  </objects>
</otrunk>

