<?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="700" />
          </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/Spectroscopy/Spectroscopy_v1/index.cml">
          <questions>
            <OTQuestion id="a82cf283-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page2.cml">
              <prompt>
                <OTText id="a82e5214-80fa-11dd-bb81-a9e5a1acc8db" text="Take a snapshot of the model just before the atom emits a blue photon and insert it below. " />
              </prompt>
              <input>
                <OTImage id="a82f1565-80fa-11dd-bb81-a9e5a1acc8db" />
              </input>
            </OTQuestion>
            <OTQuestion id="a8311136-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page2.cml">
              <prompt>
                <OTText id="a8313847-80fa-11dd-bb81-a9e5a1acc8db" text="Take a snapshot of the model just after the atom emits a blue photon and insert it below. " />
              </prompt>
              <input>
                <OTImage id="a8313848-80fa-11dd-bb81-a9e5a1acc8db" />
              </input>
            </OTQuestion>
            <OTQuestion id="a8318669-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page2.cml">
              <prompt>
                <OTText id="a831ad7a-80fa-11dd-bb81-a9e5a1acc8db" text="Take a snapshot of the energy level diagram just before the atom emits a blue photon and insert it below. " />
              </prompt>
              <input>
                <OTImage id="a831ad7b-80fa-11dd-bb81-a9e5a1acc8db" />
              </input>
            </OTQuestion>
            <OTQuestion id="a83270cc-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page2.cml">
              <prompt>
                <OTText id="a83297dd-80fa-11dd-bb81-a9e5a1acc8db" text="Take a snapshot of the energy level diagram just after the atom emits a blue photon and insert it below. " />
              </prompt>
              <input>
                <OTImage id="a83297de-80fa-11dd-bb81-a9e5a1acc8db" />
              </input>
            </OTQuestion>
            <OTQuestion id="a832beef-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page2.cml">
              <prompt>
                <OTText id="a832bef0-80fa-11dd-bb81-a9e5a1acc8db" text="Which energy levels (refer them as the top, middle and bottom one) were involved in making the blue photon? In other words, what state was the atom in before it emitted the photon and where did it end up? " />
              </prompt>
              <input>
                <OTText id="a832bef1-80fa-11dd-bb81-a9e5a1acc8db" text="" />
              </input>
              <correctAnswer>
                <OTText id="a832bef2-80fa-11dd-bb81-a9e5a1acc8db" text="First excited state to ground state" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="a8f5e7e3-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page3.cml">
              <prompt>
                <OTText id="a8f5e7e4-80fa-11dd-bb81-a9e5a1acc8db" text="Did you notice that if you leave the model alone for a minute or so the atoms start to cool down, even though you're not doing anything? What's up with that? In the box below explain why you think the atoms start to move more slowly as the model runs. " />
              </prompt>
              <input>
                <OTText id="a8f5e7e5-80fa-11dd-bb81-a9e5a1acc8db" text="" />
              </input>
              <correctAnswer>
                <OTText id="a8f5e7e6-80fa-11dd-bb81-a9e5a1acc8db" text="Because the photons take away energy." />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="a8f63607-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page3.cml">
              <prompt>
                <OTText id="a8f63608-80fa-11dd-bb81-a9e5a1acc8db" text="Why don't the atoms keep on slowing down until they stop moving altogether? " />
              </prompt>
              <input>
                <OTText id="a8f63609-80fa-11dd-bb81-a9e5a1acc8db" text="" />
              </input>
              <correctAnswer>
                <OTText id="a8f6360a-80fa-11dd-bb81-a9e5a1acc8db" text="They cool down until they no longer have enough energy to reach the lowest excited state. After that they no longer emit photons so thay don't lose energy." />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="a9e996bb-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page4.cml">
              <prompt>
                <OTText id="a9e996bc-80fa-11dd-bb81-a9e5a1acc8db" text="Fill in a snapshot image below to show the model before photon absorption: " />
              </prompt>
              <input>
                <OTImage id="a9e996bd-80fa-11dd-bb81-a9e5a1acc8db" />
              </input>
            </OTQuestion>
            <OTQuestion id="a9e9bdce-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page4.cml">
              <prompt>
                <OTText id="a9e9bdcf-80fa-11dd-bb81-a9e5a1acc8db" text="Fill in a snapshot image below to show the model after photon absorption: " />
              </prompt>
              <input>
                <OTImage id="a9e9bdd0-80fa-11dd-bb81-a9e5a1acc8db" />
              </input>
            </OTQuestion>
            <OTQuestion id="a9ea0bf1-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page4.cml">
              <prompt>
                <OTText id="a9ea0bf2-80fa-11dd-bb81-a9e5a1acc8db" text=" The picture on the left shows an infrared photon. (You can tell it's infrared because it's black, meaning it's invisible, and it has very few wiggles, meaning it's low frequency.) Run the model until you see a photon like this, then stop the model and run it back and forth frame by frame to figure out which type of atom emits this type of photon. Write your answer below. " />
              </prompt>
              <input>
                <OTText id="a9ea0bf3-80fa-11dd-bb81-a9e5a1acc8db" text="" />
              </input>
              <correctAnswer>
                <OTText id="a9ea0bf4-80fa-11dd-bb81-a9e5a1acc8db" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="aac1f565-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page5.cml">
              <prompt>
                <OTText id="aac1f566-80fa-11dd-bb81-a9e5a1acc8db" text="In the space below, explain in your own words what you had to do to make the blue atom emit photons that the purple atoms could absorb. " />
              </prompt>
              <input>
                <OTText id="aac1f567-80fa-11dd-bb81-a9e5a1acc8db" text="" />
              </input>
              <correctAnswer>
                <OTText id="aac1f568-80fa-11dd-bb81-a9e5a1acc8db" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="ab6401c9-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page6.cml">
              <prompt>
                <OTText id="ab6428da-80fa-11dd-bb81-a9e5a1acc8db" text="The picture above shows a spectrum with six lines in it, three of them visible, one infrared, and two ultraviolet. How many energy levels do you think the atom had that made this spectrum? Experiment with the model and see if you can make a spectrum with six lines. Check off below how many energy levels it took. " />
              </prompt>
              <input>
                <OTChoice id="ab6428db-80fa-11dd-bb81-a9e5a1acc8db" selectionUI="0">
                  <choices>
                    <OTText text="3" />
                    <OTText id="ab6624ad-80fa-11dd-bb81-a9e5a1acc8db" text="4" />
                    <OTText text="5" />
                    <OTText text="6" />
                  </choices>
                  <correctChoice>
                    <object refid="ab6624ad-80fa-11dd-bb81-a9e5a1acc8db" />
                  </correctChoice>
                </OTChoice>
              </input>
            </OTQuestion>
            <OTQuestion id="ac0d6130-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page7.cml">
              <prompt>
                <OTText id="ac0d8841-80fa-11dd-bb81-a9e5a1acc8db" text="Paste a snapshot of Type-1 atoms' spectrum here. " />
              </prompt>
              <input>
                <OTImage id="ac0d8842-80fa-11dd-bb81-a9e5a1acc8db" />
              </input>
            </OTQuestion>
            <OTQuestion id="ac0daf53-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page7.cml">
              <prompt>
                <OTText id="ac0daf54-80fa-11dd-bb81-a9e5a1acc8db" text="Paste a snapshot of Type-2 atoms' spectrum here. " />
              </prompt>
              <input>
                <OTImage id="ac0daf55-80fa-11dd-bb81-a9e5a1acc8db" />
              </input>
            </OTQuestion>
            <OTQuestion id="ac0e72a6-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page7.cml">
              <prompt>
                <OTText id="ac0e72a7-80fa-11dd-bb81-a9e5a1acc8db" text="Paste a snapshot of Type-3 atoms' spectrum here. " />
              </prompt>
              <input>
                <OTImage id="ac0e72a8-80fa-11dd-bb81-a9e5a1acc8db" />
              </input>
            </OTQuestion>
            <OTQuestion id="ac0e99b9-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page7.cml">
              <prompt>
                <OTText id="ac0e99ba-80fa-11dd-bb81-a9e5a1acc8db" text="Paste a snapshot of Type-4 atoms' spectrum here. " />
              </prompt>
              <input>
                <OTImage id="ac0e99bb-80fa-11dd-bb81-a9e5a1acc8db" />
              </input>
            </OTQuestion>
            <OTQuestion id="ac0ee7dc-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page7.cml">
              <prompt>
                <OTText id="ac0ee7dd-80fa-11dd-bb81-a9e5a1acc8db" text="Paste a snapshot of the unknown atoms' spectrum here. " />
              </prompt>
              <input>
                <OTImage id="ac0ee7de-80fa-11dd-bb81-a9e5a1acc8db" />
              </input>
            </OTQuestion>
            <OTQuestion id="ac0f35ff-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page7.cml">
              <prompt>
                <OTText id="ac0f3600-80fa-11dd-bb81-a9e5a1acc8db" text="Is the unknown atom one of the known varieties? If so, which one? " />
              </prompt>
              <input>
                <OTText id="ac0f3601-80fa-11dd-bb81-a9e5a1acc8db" text="" />
              </input>
              <correctAnswer>
                <OTText id="ac0f3602-80fa-11dd-bb81-a9e5a1acc8db" />
              </correctAnswer>
            </OTQuestion>
            <OTQuestion id="aca189f3-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page8.cml">
              <prompt>
                <OTText id="aca189f4-80fa-11dd-bb81-a9e5a1acc8db" text="A certain atom has only two excited states. How many spectral lines can it produce at maximum?" />
              </prompt>
              <input>
                <OTChoice id="aca189f5-80fa-11dd-bb81-a9e5a1acc8db" selectionUI="0">
                  <choices>
                    <OTText id="aca189f6-80fa-11dd-bb81-a9e5a1acc8db" text="1" />
                    <OTText text="2" />
                    <OTText text="3" />
                    <OTText text="4" />
                  </choices>
                  <correctChoice>
                    <object refid="aca189f6-80fa-11dd-bb81-a9e5a1acc8db" />
                  </correctChoice>
                </OTChoice>
              </input>
            </OTQuestion>
            <OTQuestion id="aca1ff2a-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page8.cml">
              <prompt>
                <OTText id="aca1ff2b-80fa-11dd-bb81-a9e5a1acc8db" text="Is it possible for two different types of atom to have exactly the same spectra but not have exactly the same energy levels?" />
              </prompt>
              <input>
                <OTChoice id="aca1ff2c-80fa-11dd-bb81-a9e5a1acc8db" selectionUI="0">
                  <choices>
                    <OTText id="aca1ff2d-80fa-11dd-bb81-a9e5a1acc8db" text="They can't have the same spectrum because every atom is different." />
                    <OTText text="They could in principal, but it would mean that they had exactly the same energy levels." />
                    <OTText text="They could but it would mean that they had exactly the same differences between their energy levels." />
                  </choices>
                  <correctChoice>
                    <object refid="aca1ff2d-80fa-11dd-bb81-a9e5a1acc8db" />
                  </correctChoice>
                </OTChoice>
              </input>
            </OTQuestion>
            <OTQuestion id="aca27460-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page8.cml">
              <prompt>
                <OTText id="aca27461-80fa-11dd-bb81-a9e5a1acc8db" text="A scientist measured the spectrum of a gas supposedly composed purely of Type-C atoms, but he found the spectrum revealed that the gas was contaminated. Can you identify which type of atoms could have possibly contaminated the gas?(The box in the above image shows the spectra of four types of atoms: A, B, C and D. The spectrum below the box shows the result he obtained.)" />
              </prompt>
              <input>
                <OTChoice id="aca27462-80fa-11dd-bb81-a9e5a1acc8db" selectionUI="1">
                  <choices>
                    <OTText id="aca27463-80fa-11dd-bb81-a9e5a1acc8db" text="Type A" />
                    <OTText text="Type B" />
                    <OTText id="aca27465-80fa-11dd-bb81-a9e5a1acc8db" text="Type D" />
                  </choices>
                  <correctChoices>
                    <object refid="aca27463-80fa-11dd-bb81-a9e5a1acc8db" />
                    <object refid="aca27465-80fa-11dd-bb81-a9e5a1acc8db" />
                  </correctChoices>
                </OTChoice>
              </input>
            </OTQuestion>
            <OTQuestion id="aca2c286-80fa-11dd-bb81-a9e5a1acc8db" name="http://ri-itest.concord.org/SAMActivities/Spectroscopy/Spectroscopy_v1/page8.cml">
              <prompt>
                <OTText id="aca2e997-80fa-11dd-bb81-a9e5a1acc8db" text="Of the following transitions between the energy levels shown in the right graph, which results in photons with the lowest possible frequency?" />
              </prompt>
              <input>
                <OTChoice id="aca35ec8-80fa-11dd-bb81-a9e5a1acc8db" selectionUI="0">
                  <choices>
                    <OTText text="2 to 1" />
                    <OTText text="3 to 2" />
                    <OTText text="4 to 3" />
                    <OTText text="5 to 4" />
                    <OTText id="aca385dd-80fa-11dd-bb81-a9e5a1acc8db" text="6 to 5" />
                  </choices>
                  <correctChoice>
                    <object refid="aca385dd-80fa-11dd-bb81-a9e5a1acc8db" />
                  </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>

