<snapdata remixID="9277790"><project name="Lab 4.3 Pre Code" app="Snap! 5.4, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAADhZJREFUeAHtnX9wVNUVx7+72STkJ0GSQBJIQgiiyK/WkioiNAgVEEagarV0rMx0cLT+qB2FkWGsM9qK/NNpa6u0VKrO6Fg6SouFKgSmyC/tdNBWEUhi+B0SgmB+/9rdnnPe7mZJN+Ct15nl7XnM7nvvvnPvfe97P5x7z33vbTxBWvbu2wsEgigoKAQ8oCVIK9mgLV5o20NbvOOhI5IYRNAxoX0PHQpZchrvh+1D2TlNDrGd5KMv2qw/dVLKmXr9VLbUJcEU8O7duxcFhYUoLCpCVdU2eAmwtza9JaAJKAwcseKBl9YebNu2DUEvsK2qCl0dnQ58fJyOeYUpMSZrcA5Ko61QGUIu24VEpk2pl+ves2dPgkmvl8sKePbv3x/MyckRD1Y+uhy1tTUoLx9D3rAAlZWVOHnyJNatW4cpU6agkEBtamrC7t17MGnSJGwnYH/+zDPYtWsX/H4/mpubkZycLNuBQEAULi0txdZ33gn7R2KR3B67TseN8imI3fnPz2PypMmyrV+Jo4AvKysLYVj4steu/R2oV8Y146/Bli1bMGfOHNoPoLi4WGDMz89HgP5x/3nTrFmSl+1TU1MxZswY5ObmEqC7MXXqVDSeaURNdQ1ZM3SMWpB6egaOOmzK46BHB2jJzsqWtX4llgKe6sPVQe4KmQvpGrnLpPGgOCk6EGBQ6MO0eL0+BMmzCTzU3/KaDT28LR6PjDwEJ6X5kpPg7/XDm0Rr8o5sGvZ6MhqUfUrjNQNJWdkD65JYCvgYMBm7BTzIIG/o7+lAU2PDV65CU0M9iq8cR2Dy2JIApPp1STwFfNy9BqTxg3h+yUQ8cm0q/jp8GTgqzS4YRY6PO052gOQNaYth5QRxXOzwyHURPv2Uo33hib7IIYqHJZvm08ck2Ph+w/MooxyZc+pwuKbW8Y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qBanJkCOg9oppdaW1ZAAbQsqBZnpoACaKaXWltWQAG0LKgWZ6aAAmiml1pbVkABtCyoFmemgAJoppdaW1ZAAbQsqBZnpoACaKaXWltWQAG0LKgWZ6aAAmiml1pbVkABtCyoFmemgAJoppdaW1ZAAbQsqBZnpoACaKaXWltWQAG0LKgWZ6aAAmiml1pbVkABtCyoFmemgAJoppdaW1ZAAbQsqBZnpoACaKaXWltWQAG0LKgWZ6aAAmiml1pbVkABtCyoFmemgAJoppdaW1ZAAbQsqBZnpoACaKaXWltWQAG0LKgWZ6aAAmiml1pbVkABtCyoFmemgAJoppdaW1ZAAbQsqBZnpoACaKaXWltWQAG0LKgWZ6aAAmiml1pbVkABtCyoFmemgAJoppdaW1ZAAbQsqBZnpoACaKaXWltWQAG0LKgWZ6aAAmiml1pbVkABtCyoFmemgAJoppdaW1ZAAbQsqBZnpoACaKaXWltWQAG0LKgWZ6aAAmiml1pbVkABtCyoFmemgAJoppdaW1ZAAbQsqBZnpoACaKaXWltWQAG0LKgWZ6aAAmiml1pbVkABtCyoFmemgAJoppdaW1ZAAbQsqBZnpoACaKaXWltW4L+UTJOwoqzMsgAAAABJRU5ErkJggg==</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" penlog="false" volume="100" pan="0" lines="round" ternary="false" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAC99JREFUeAHt0DEBAAAAwqD1T20MH4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwY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MCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/gABHhb3AgAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><sprite name="Sprite" idx="1" x="-1.2523719165071725" y="4.667931688804515" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="8"><costumes><list struct="atomic" id="9"></list></costumes><sounds><list struct="atomic" id="10"></list></sounds><blocks></blocks><variables></variables><scripts><script x="39" y="10"><block s="receiveGo"></block><block s="doSetVar"><l>List of Names</l><block s="reportNewList"><list><l>Eric</l><l>Sally</l><l>Michelle</l><l>John</l><l>Sam</l><l>Caleb</l></list></block></block><block s="doDeclareVariables"><list><l>index</l></list><comment w="223" collapsed="false">1b - Write a SNAP script to welcome each person to the program by name, one at a time. (For example, &quot;Welcome, Eric.&quot; &quot;Welcome, Sally.&quot; &quot;Welcome, Michelle.&quot;...) Make sure not to modify the list of names when you run the script—you&apos;ll want the list again later. Also make sure your script still works even if the list of names changes.</comment></block><block s="doSetVar"><l>index</l><l>1</l></block><block s="doRepeat"><block s="reportListLength"><block var="List of Names"/></block><script><block s="doSayFor"><block s="reportJoinWords"><list><l>Welcome </l><block s="reportListItem"><block var="index"/><block var="List of Names"/></block></list></block><l>1</l></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block></script><script x="407" y="638"><block s="reportLessThan"><l></l><l></l></block></script><script x="27" y="752"><block s="receiveKey"><l><option>1</option></l><comment w="201" collapsed="false">2c Write a script so that when the following key is pressed, the corresponding subset of names from the list is said one at a time.&#xD;&#xD;&quot;Have more than four letters&quot;</comment></block><block s="doSetVar"><l>List of Names</l><block s="reportNewList"><list><l>Eric</l><l>Sally</l><l>Michelle</l><l>John</l><l>Sam</l><l>Caleb</l></list></block></block><block s="doDeclareVariables"><list><l>index</l></list></block><block s="doSetVar"><l>index</l><l>1</l></block><block s="doUntil"><block s="reportGreaterThan"><block var="index"/><l>5</l></block><script><block s="doSayFor"><block s="reportJoinWords"><list><l>Welcome </l><block s="reportListItem"><block var="index"/><block var="List of Names"/></block></list></block><l>1</l></block><block s="doChangeVar"><l>index</l><l>2</l></block></script></block></script><script x="31" y="1066"><block s="receiveKey"><l><option>4</option></l><comment w="201" collapsed="false">2c Write a script so that when the following key is pressed, the corresponding subset of names from the list is said one at a time. &#xD;&#xD;&quot;Are not the first two or last two names in the list&quot;</comment></block></script><script x="31" y="1184"><block s="receiveKey"><l><option>5</option></l><comment w="201" collapsed="false">2c OPTIONAL&#xD;Write a script so that when the following key is pressed, the corresponding subset of names from the list is said one at a time.&#xD;&#xD;&quot;Contain the letter &apos;e&apos; &quot;</comment></block></script><script x="403" y="1001"><block s="reportUnicodeAsLetter"><l>121</l></block></script><script x="398" y="1079"><block s="reportAnd"><l/><l/></block></script><script x="409" y="1111"><block s="reportLessThan"><l></l><l></l></block></script><script x="419" y="1147"><block s="reportGreaterThan"><l></l><l></l></block></script><script x="499" y="1118"><block s="reportListLength"><l/></block></script><script x="508" y="1157"><block s="reportDifference"><l></l><l></l></block></script><script x="494" y="947"><block s="reportListItem"><l>1</l><l/></block></script><script x="484" y="909"><block s="reportUnicodeAsLetter"><l>99</l></block></script><script x="486" y="873"><block s="reportTextSplit"><l></l><l><option>letter</option></l></block></script><script x="501" y="841"><block s="reportEquals"><l></l><l></l></block></script><comment x="639.000001" y="548" w="223" collapsed="false">1b - Write a SNAP script to welcome each person to the program by name, one at a time. (For example, &quot;Welcome, Eric.&quot; &quot;Welcome, Sally.&quot; &quot;Welcome, Michelle.&quot;...) Make sure not to modify the list of names when you run the script—you&apos;ll want the list again later. Also make sure your script still works even if the list of names changes.</comment><comment x="694" y="349" w="190" collapsed="false">2a - Write a script that says every other name in a list one at a time when the space bar is pressed. Use the same list of names from above. For example, if the list is [Eric, Sally, Michelle, John, Sam, Caleb], the names Eric, Michelle, and Sam would be said.</comment><comment x="77" y="357" w="486" collapsed="false">1.c - BONUS: Modify your code so that instead of using a pre-determined list of names, the user can enter the names to be included in the list one at a time. You&apos;ll need to decide how to determine when the user has entered all the names.</comment><comment x="439" y="437" w="190" collapsed="false">2b - Write a script that says the names in the list one at a time in reverse order when the &apos;0&apos; key is pressed. For example, if the list is [Eric, Sally, Michelle, John, Sam, Caleb], the names Caleb, Sam, John, Michelle, Sally, and Eric would be said..</comment><script x="30" y="430"><block s="receiveKey"><l><option>space</option></l></block><block s="doSetVar"><l>List of Names</l><block s="reportNewList"><list><l>Eric</l><l>Sally</l><l>Michelle</l><l>John</l><l>Sam</l><l>Caleb</l></list></block></block><block s="doDeclareVariables"><list><l>index</l></list></block><block s="doSetVar"><l>index</l><l>1</l></block><block s="doUntil"><block s="reportGreaterThan"><block var="index"/><l>5</l></block><script><block s="doSayFor"><block s="reportJoinWords"><list><l>Welcome </l><block s="reportListItem"><block var="index"/><block var="List of Names"/></block></list></block><l>1</l></block><block s="doChangeVar"><l>index</l><l>2</l></block></script></block></script><script x="27" y="664"><block s="receiveKey"><l><option>0</option></l></block></script><script x="41" y="1005"><block s="receiveKey"><l><option>3</option></l><comment w="201" collapsed="false">2c Write a script so that when the following key is pressed, the corresponding subset of names from the list is said one at a time. &#xD;&#xD;&apos;End with the letter &apos;y&apos;&quot;</comment></block></script><script x="268" y="924"><block s="receiveKey"><l><option>2</option></l><comment w="201" collapsed="false">2c Write a script so that when the following key is pressed, the corresponding subset of names from the list is said one at a time. &#xD;&#xD;&quot;Start with the letter &apos;c&apos; &quot;</comment></block></script></scripts></sprite><watcher var="List of Names" style="normal" x="0.007647470509027698" y="0.02179529094924959" color="243,118,29" extX="80" extY="70"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="solution to 1.3" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>index</l><l>complete names</l></list><comment w="90" collapsed="false">1.3 VER. 1</comment></block><block s="doSetVar"><l>index</l><l>1</l></block><block s="doSetVar"><l>complete names</l><l></l></block><block s="doRepeat"><block s="reportDifference"><block s="reportListLength"><block var="names"/></block><l>1</l></block><script><block s="doChangeVar"><l>complete names</l><block s="reportJoinWords"><list><block var="complete names"/><l>, </l><block s="reportListItem"><block var="index"/><block var="names"/></block><l></l></list></block></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block><block s="doChangeVar"><l>complete names</l><block s="reportJoinWords"><list><block var="complete names"/><l>, and </l><block s="reportListItem"><l><option>last</option></l><block var="names"/></block></list></block></block><block s="doSayFor"><block s="reportJoinWords"><list><l>Welcome</l><block var="complete names"/></list></block><l>2</l></block></script></block-definition><block-definition s="solution to 2.1" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>index</l></list></block><block s="doSetVar"><l>index</l><l>1</l></block><block s="doUntil"><block s="reportGreaterThan"><block var="index"/><block s="reportListLength"><block var="names"/></block></block><script><block s="doSayFor"><block s="reportListItem"><block var="index"/><block var="names"/></block><l>1</l></block><block s="doChangeVar"><l>index</l><l>2</l></block></script></block></script></block-definition><block-definition s="solution to 2.3 part 1" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>index</l></list><comment w="90" collapsed="false">2.3, part 1</comment></block><block s="doSetVar"><l>index</l><l>1</l></block><block s="doRepeat"><block s="reportListLength"><block var="names"/></block><script><block s="doIf"><block s="reportGreaterThan"><block s="reportStringSize"><block s="reportListItem"><block var="index"/><block var="names"/></block></block><l>4</l></block><script><block s="doSayFor"><block s="reportListItem"><block var="index"/><block var="names"/></block><l>1</l></block></script></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block></script></block-definition><block-definition s="solution to 2.3 part 2" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>index</l></list></block><block s="doSetVar"><l>index</l><l>1</l></block><block s="doRepeat"><block s="reportListLength"><block var="names"/></block><script><block s="doIf"><block s="reportEquals"><block s="reportLetter"><l>1</l><block s="reportListItem"><block var="index"/><block var="names"/></block></block><l>c</l></block><script><block s="doSayFor"><block s="reportListItem"><block var="index"/><block var="names"/></block><l>2</l></block></script></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block></script></block-definition></blocks><variables><variable name="List of Names"><list struct="atomic" id="339">Eric,Sally,Michelle,John,Sam,Caleb</list></variable></variables></project><media name="Lab 4.3 Pre Code" app="Snap! 5.4, http://snap.berkeley.edu" version="1"></media></snapdata>