<snapdata remixID="9333123"><project name="Lab 4.3  guess who" app="Snap! 5.4, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAoKADAAQAAAABAAAAeAAAAAAeaS0RAAANxElEQVR4Ae2daWxU1xXH/2OPbWxje8B2zOIFbDZjs9kQTIJJURbSpKwhILVIbaTQNP0QKeVL+6X5UqlFUVKUgJAa0dIQKc2HpCUpImkbmoXQkLA5xaEhwTZgsFls4nU8tmem55w3M+QBhtzodqTmnYtm5i333cv8+Onc5d03+KKUTpz4FGfOnAHgo9f1KUqHfKD3KJ2/URbJ4OS6/mq67BbXl5aWorKy8kaX6rFvOQFfY2NjNDsrW8Tas2cPHnjwAVzpvIKxY8aIb4c+PowFC+bHMETxxutvYOWqVdi06Weor1+Ch9etQyg4kBAzSrr5WFT6jH3A54tbm1Ax4XHc3b7+PsycOfNbjlu/3rUE/C0tLajkf/hoFKdPn0Y0EsU777yDV197DbU1NYhEIpg/vxZPPfUUxo0bhytXrmD5ihUoLi7Bs88+i+7ubuzYsQNr1qzGsWMNyMzMxLlz5+Q6FqqkpASPP/54LApy9awcEOE3qpPslCP891ABGYq3kj8SjZB0ooMIcPToUSxcuBCBQADcNPb394tMS5cuRVlZGUKhEMKRMO677z7cfvvtyM7OxrZt2yRPXd0ipKSkIBwOIz09HR0dHSgvL5dzjNWJfyScj7acHTKRN/jD+TvIjr55hoCfQxF1A+ULL168OPHFi4qKEtt8vr5+MTnjk6YzQtJMmTo10YwmMo6w4ZQvjTNdQ59OddRUX72AI68m7xFwIiBHQVIjOyMNb+x8HkMUEaPUgYv33BhLvD8niMgcp593FRifTwQ22rjV9ZkZWbh/w08wIP1Hzq8CXqXpnS0SMEpNJP/jR7HvpS24p2M3Wqt+iI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oHHIGRjcPaBN+AIo+Cq6urb3BGD9kmoALaJqrlGRHQeUAjXJrZNgEV0DZRLc+IgApohEsz2yagAtomquUZEVABjXBpZtsEVEDbRLU8IwIqoBEuzWybgApom6iWZ0RABTTCpZltE1ABbRPV8owIqIBGuDSzbQIqoG2iWp4RARXQCJdmtk1ABbRNVMszIqACGuHSzLYJqIC2iWp5RgRUQCNcmtk2ARXQNlEtz4iACmiESzPbJqAC2iaq5RkRUAGNcGlm2wRUQNtEtTwjAiqgES7NbJuACmibqJZnREAFNMKlmW0TUAFtE9XyjAiogEa4NLNtAiqgbaJanhEBFdAIl2a2TUAFtE1UyzMioAIa4dLMtgmogLaJanlGBFRAI1ya2TYBFdA2US3PiIAKaIRLM9smoALaJqrlGRFQAY1waWbbBFRA20S1PCMCKqARLs1sm4AKaJuolmdEQAU0wqWZbRNQAW0T1fKMCKiARrg0s20CKqBtolqeEQEV0AiXZrZNQAW0TVTLMyKgAhrh0sy2CaiAtolqeUYEVEAjXJrZNgEV0DZRLc+IgApohEsz2yagAtomquUZEVABjXBpZtsEVEDbRLU8IwIqoBEuzWybgApom6iWZ0RABTTCpZltE/gv2+nzw8czvk0AAAAASUVORK5CYII=</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAB4KADAAQAAAABAAABaAAAAAAHwbojAAAL30lEQVR4Ae3QMQEAAADCoPVPbQwfiEBhwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM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gwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGPgMDI3+AAEeFvcCAAAAAElFTkSuQmCC</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.4734437464294388" y="4.4203312392914995" 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="18" 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></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>2</l></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block></script><script x="10" y="1066.0000000000016"><block s="receiveKey"><l><option>4</option></l></block></script><script x="10" y="1184.0000000000034"><block s="receiveKey"><l><option>5</option></l></block></script><comment x="975.0000000000011" y="29" w="223" collapsed="true">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="976.0000000000011" y="44.00000000000023" w="220" collapsed="true">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="978.0000000000011" y="126" w="201" collapsed="true">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><comment x="978.0000000000011" y="143" w="201" collapsed="true">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><comment x="977.0000000000011" y="162" w="201" collapsed="true">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><comment x="977.0000000000011" y="61.000000000000114" w="190" collapsed="true">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><script x="461.99999999999966" y="16"><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>2</l></block><block s="doChangeVar"><l>index</l><l>2</l></block></script></block></script><comment x="977.0000000000011" y="114.00000000000011" w="201" collapsed="true">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><script x="72.11914162499966" y="285.00000100000045"><block s="reportListLength"><l/></block></script><script x="461.99999999999966" y="222.00000000000023"><block s="receiveKey"><l><option>0</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>6</l></block><block s="doUntil"><block s="reportEquals"><l>0</l><block var="index"/></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>2</l></block><block s="doChangeVar"><l>index</l><l>-1</l></block></script></block></script><comment x="979.0000000000011" y="75.00000000000011" w="190" collapsed="true">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><comment x="943.0000000000011" y="223.00000000000023" 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><script x="51.47949318749983" y="702.9999999999986"><block s="reifyReporter"><autolambda><block s="reifyScript"><script></script><list></list></block></autolambda><list></list></block></script><script x="324.59863481249965" y="300.0000010000005"><block s="reportLessThan"><l>6</l><block var="index"/></block></script><script x="152.99999999999966" y="756.9999999999986"><block s="reportTextSplit"><l></l><l><option>letter</option></l></block></script><script x="110.99999999999966" y="817.9999999999986"><block s="reportUnicodeAsLetter"><l>99</l></block></script><script x="216.99999999999966" y="840.9999999999984"><block s="reportListItem"><l>1</l><l/></block></script><script x="178.47949318749966" y="696.9999999999986"><block s="reportGreaterThan"><l></l><l>4</l></block></script><script x="244.47949318749966" y="695.0000019999986"><block var="index"/></script><script x="43.4794931875" y="903.9999999999991"><block s="doDeclareVariables"><list><l>index</l></list></block></script><script x="126.11914162499966" y="676.0000009999987"><block s="reportGreaterThan"><l></l><l>6</l></block></script><script x="93.64160356249965" y="586.0000019999986"><block s="reportStringSize"><block s="reportListItem"><block var="index"/><block var="List of Names"/></block></block></script><script x="452.99999999999966" y="681.9999999999986"><block s="receiveKey"><l><option>2</option></l></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="reportLessThan"><block s="reportListLength"><block var="List of Names"/></block><block var="index"/></block><script><block s="doIf"><block s="reportEquals"><block s="reportLetter"><l>1</l><block s="reportListItem"><block var="index"/><block var="List of Names"/></block></block><l>c</l></block><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="reportListItem"><block var="index"/><block var="List of Names"/></block><l> starts with the letter c</l></list></block><l>2</l></block></script></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block></script><script x="453.99999999999966" y="421.9999999999999"><block s="receiveKey"><l><option>1</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="reportLessThan"><l>6</l><block var="index"/></block><script><block s="doIf"><block s="reportGreaterThan"><block s="reportStringSize"><block s="reportListItem"><block var="index"/><block var="List of Names"/></block></block><l>4</l></block><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="reportListItem"><block var="index"/><block var="List of Names"/></block><l> has more than 4 letters</l></list></block><l>2</l></block></script></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block></script><script x="227.99999999999966" y="981.0000000000009"><block s="reportUnicodeAsLetter"><l>121</l></block></script><script x="452" y="914.0000000000002"><block s="receiveKey"><l><option>3</option></l></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="reportLessThan"><block s="reportListLength"><block var="List of Names"/></block><block var="index"/></block><script><block s="doIf"><block s="reportEquals"><block s="reportLetter"><l>1</l><block s="reportListItem"><block var="index"/><block var="List of Names"/></block></block><l>c</l></block><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="reportListItem"><block var="index"/><block var="List of Names"/></block><l> starts with the letter c</l></list></block><l>2</l></block></script></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block></script><script x="45.99999999999966" y="1021.0000000000023"><block s="reportAnd"><l/><block s="reportGreaterThan"><l></l><block s="reportLessThan"><block s="reportListLength"><l/></block><block s="reportDifference"><l></l><l></l></block></block></block></block></script></scripts></sprite><watcher var="List of Names" style="normal" x="0.0007473334560472722" y="0.002129900348940339" 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="500">Eric,Sally,Michelle,John,Sam,Caleb</list></variable></variables></project><media name="Lab 4.3  guess who" app="Snap! 5.4, http://snap.berkeley.edu" version="1"></media></snapdata>