<snapdata remixID="9277612"><project name="Lab 4.3 Pre Code" app="Snap! 5.4, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAroSURBVHhe7Z17UFXHHce/l/fTIgoKgoIK2KDYxmAQjI8ZNTZK26RJaqQ2NtPEtPaVaVNrSJM6SWZq22n/SKad1Bo1yTSTmDbBTNBqIz4jGgRFSSI4vvDJoyDIvcBF6fn9uOcGEDXP7kzP98PsnN1z7t39g8/snt+ePXtd3Rbnzp2DpPr6ephg6NChSEhIQGJiou8McQoq4J49e/SfLxIGBQUhMDAQbrcbSUlJqK6uRlpaGlwul37h5MmTOHv2rH4mOjoaFy9eRE5Ojl77LEidUo/dDnEGrtLS0u74+HgtVFRUIDY2Fl6vF++8844KeObMGUydOhWXLl3Cvn370N7ejnnz5qGkpERlDQsLw5gxY9DZ2Yn169cjKysLycnJqKqqwogRI9DR0YGlS5fC4/FoG9fj/PnzmDJliq9EnEDAlStXYHWCmoS1a9fCkhLBwcFYvny5nhO5GhoaVKaIiAhMmjRJz4uYly9fxrPPPosTJ04gMzNTe8by8nKtT2Rat26dCm23cb1EnIdr9+7d/h5QkB5QpBTZQkNDdYgdNGiQHsPDw7UHlF5PejQp24h48j17CLXFDgkJQVtbm4p6I+rq6pCbm+srESfg2rVrl19A6fXOfLAfFfve1fIXTfaMuYhNTPGVegTMy8vzlYgTcO3cudMvYAC6seMXeZiSORrNEwvQMnicnv+8iT5egoyjf4cnJAbuxa/7zvYIKMM6cQ4qoEyDCFX7SzF2+2NoK3gJiaPG6LnwsFC8/dc/ob5i53Xv02Tonbn4JxiU8VUdugUZpuWe0aa2tlaHZBneL1dvxy01q3D2gS3+euU+kwI6iwA7ANBk/ZVHZGN4ciqse0M9V7T2eaTtWoU7Lx/Bg9++E/fnZeKuK9UouClOj3aS66POlat0cv8nSe797LwkiZa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VB3EmVwlIyP8S3nARo1BAYhQKSIxCAYlRKCAxCgUkRqGAxCgUkBiFAhKjUEBiFApIjEIBiVEoIDEKBSRGoYDEKBSQGIUCEqNQQGIUCkiMQgGJUSggMQoFJEahgAPg9XqxatUqfbGefLHwveBrILu4rlmzRl+slz0LZWvhO+64Q387j3x+UMDr8MQTT+DQoUO+Us/mSbKHTk5ODjIzM5Gbm+u7Qj4tFPA6VFZWYtky2fG/b68nv6UsvyCQnZ2NBQsW6DZ25NNBAa+B3P898sgj+tsl9t6FMgSLePn5+foDPuSzQwEHQH6gccmSJbrDqwy5cg8YFxfnu0o+TyggMQqnYYhRKCAxCgUkRqGAxCgUkBiFAhKjUEBiFApIjEIBiVEoIDEKBSRGoYDEKBSQGIUCEqNQQGIUCkiMQgGJUSggMQoFJEahgMQoFJAYhQISo1BAYhQKSIxCAYlRKCAxCgUkRqGAxCgUkBiFAhKjUEBiFApIjEIBiVEoIDEKBSRGoYDEKBSQGIUCEqNQQGIUCkiMQgGJUSggMQoFJEahgMQoFJAYhQISo1BAYhQKSIxCAYlRKCAxCgUkRqGAxCgUkBiFAhKjUEBiFApIjEIBiVEoIDEI8F/JQkbr2WKdxgAAAABJRU5ErkJggg==</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAK1SURBVHhe7cExAQAAAMKg9U9tDB8gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgIsajf4AAXBXLv8AAAAASUVORK5CYII=</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="-0.6683603674009646" y="5.1944498729727115" 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="511.99999999999806" y="950.0000000000045"><block s="reportListItem"><l>1</l><l/></block></script><comment x="1005.0000000000041" y="108.99999999999966" 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="1023.0000000000041" y="331.00000000000045" 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="746.4794931874982" y="610.0000010000008"><block s="reportListLength"><l/></block></script><script x="31.999999999999943" y="19"><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>1</l></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block></script><script x="218.11914162499875" y="584.0000010000001"><block s="reportLessThan"><l></l><l></l></block></script><script x="487.99999999999806" y="10"><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="13.119141624999883" y="516.0000010000033" 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><script x="446.9999999999983" y="240.9999999999992"><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>1</l></block><block s="doChangeVar"><l>index</l><l>-1</l></block></script></block></script><script x="41.99999999999994" y="641.0000000000011"><block s="receiveKey"><l><option>2</option></l></block><block s="doDeclareVariables"><list><l>index</l><l>name</l></list></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"/><block s="reportListLength"><block var="List of Names"/></block></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>1</l></block></script></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block></script><comment x="472.9999999999985" y="618.0000000000009" 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><script x="488.64160356249965" y="752.0000040000013"><block s="reportStringSize"><block s="reportListItem"><block var="index"/><block var="List of Names"/></block></block></script><script x="387.99999999999875" y="911.0000000000041"><block s="reportUnicodeAsLetter"><l>99</l></block></script><script x="668.9999999999981" y="819.000000000005"><block s="reportTextSplit"><l></l><l><option>letter</option></l></block></script><script x="308.51172174999953" y="641.0000060000011"><block s="reportListLength"><block var="List of Names"/></block></script><script x="663.1191416249993" y="962.333333333338"><block s="doIf"><l/><script></script></block></script><script x="25.999999999999602" y="937.0000000000045"><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><block s="doDeclareVariables"><list><l>index</l><l>name</l></list></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"/><block s="reportListLength"><block var="List of Names"/></block></block><script><block s="doIf"><block s="reportEquals"><block s="reportLetter"><l><option>last</option></l><block s="reportListItem"><block var="index"/><block var="List of Names"/></block></block><l>y</l></block><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="reportListItem"><block var="index"/><block var="List of Names"/></block><l> sith the letter y</l></list></block><l>1</l></block></script></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block></script><script x="565.9999999999983" y="1062.0000000000052"><block s="reportUnicodeAsLetter"><l>121</l></block></script><script x="755.6416035625" y="1387.0000040000052"><block s="reportLetter"><l>1</l><block s="reportListItem"><block var="index"/><block var="List of Names"/></block></block></script><script x="797.2334004375002" y="1258.0000080000052"><block var="index"/></script><script x="393.46000208447265" y="1592.000009000003"><block var="index"/></script><script x="648.6416035625002" y="1175.0000020000052"><block s="reportAnd"><l/><block s="reportAnd"><l/><l/></block></block></script><script x="558.9999999999981" y="1225.000000000006"><block s="reportListLength"><block var="List of Names"/><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="21.999999999999943" y="229.99999999999977"><block s="receiveKey"><l><option>1</option></l></block><block s="doDeclareVariables"><list><l>index</l><l>name</l></list></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>6</l></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></list></block><l>1</l></block></script></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block></script><script x="10.119141624999883" y="1223.3333393333364"><block s="receiveKey"><l><option>4</option></l></block><block s="doSayFor"><l>Michelle</l><l>2</l></block><block s="doSayFor"><l>John</l><l>2</l></block></script><script x="10" y="1223.0000000000034"><block s="receiveKey"><l><option>4</option></l></block><block s="doDeclareVariables"><list><l>index</l><l>name</l></list></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"/><block s="reportListLength"><block var="List of Names"/></block></block><script><block s="doIf"><block s="reportAnd"><block s="reportLessThan"><l>1</l><block s="reportLessThan"><block s="reportListItem"><block var="index"/><block var="List of Names"/></block><l>2</l></block></block><block s="reportGreaterThan"><block s="reportGreaterThan"><l>5</l><block s="reportListItem"><block var="index"/><block var="List of Names"/></block></block><l>6</l></block></block><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="reportListItem"><block var="index"/><block var="List of Names"/></block></list></block><l>1</l></block></script></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block></script></scripts></sprite><watcher var="List of Names" style="normal" x="1.5209999223818613" y="0.004356990325447896" 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="601">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>