<snapdata remixID="9953560"><project name="Unit 2 Programing Assessment" app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAJM0lEQVR4nO3da0jUewLG8Ukmc53W5dDFbaVssywjQbYXQZgVUdFWaER7hOpQay1FIAkJUYivDJRuxHDIaLftshn14miYp82WJMq2OpY6ppX/0WbG8dKMc1FndC7//7MvWifMmbJG+tmc5wMPiM7oT/kyOuOIKhAJpBJ9APp1Y4AkFAMkoRggCcUASSgGSEIxQBKKAZJQDJCEYoAkFAMkoRggCcUASSgGSEIxQBKKAZJQDJCEYoAkFAMkoRggCcUASSgGSEIxQBKKAZJQDJCEYoAkFAMkoRggCcUASSgGSEIxQBKKAZJQDJCEYoAkFAMcR7/0DOJ6a/+Ens46JPrLNAIDHCdxpW1Qa6VvYn/85xvRX64ABjgOYn6UcLi2V/QxxkRRFPz5phmp/zKKPgoABhg284APv/97u+hjfBZFUaDWSnht94o+CgMMV73Fgz+Vvb81uXfvHnw+Hx4/foy+vj6YTCYMDAyE/XEURUFdXd2YLz80NASz2QwAcLvdcDqdI96u1kq4a3SHfa5wMcAw1Vs8WHrtfYDp6emQJAkzZ87E4cOHYTKZUFBQgBMnTsDj8SA9PR1dXV2YNm0a3G43HA4H7t+/j6NHj0Kn08HlcmHu3LmorKzEnTt3cObMGVgsFuzbtw8ZGRkAgIKCAjQ2NsLlcuHYsWOoqqrC/Pnz4fV6UVpaiurqathsNly7dg1Xr15FaWkpmpqaRpxbrZVQbXR91a9VMAwwTB8G+PTpU+zduxfHjh3DvHnzYDKZ0NTUBLVaDYfDga1btyIjIwMpKSkA3t2ypaWlQaVSITs7Gz/99BMGBweRlpaGkpISuFwuxMbGwuPxBAI8cOAAdu/ejRMnTqC8vBxLly5FZ2cnLl26hIyMDJSUlKC3txdXr17F8uXL0dLSwgAj1YcBejwezJgxAzqdDuvXrx8RYGFhIYqKirBy5UrMmz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4bty28LIhWGqhn47l8Svo88gcF/Y8fiXkLeP/AFdz5ZAs5zb4AAAAAElFTkSuQmCC</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="true" hyperops="true" codify="false" inheritance="false" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAACtUlEQVR4nO3BMQEAAADCoPVPbQwfoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA+Bo3+AAF/RMkcAAAAAElFTkSuQmCC</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.8006644518247867" y="-5.401993355481892" 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="19" y="10"><custom-block s="all but last letter of %txt"><l>butterfly</l></custom-block></script><script x="30" y="133.66666666666708"><block s="receiveGo"></block><block s="doDeclareVariables"><list><l>word</l></list></block><block s="doSetVar"><l>word</l><l>0</l></block><block s="doSayFor"><l>Hi lets work on plurals! Give me a word and I will tell you how tomake it plural </l><l>2</l></block><block s="doUntil"><block s="reportEquals"><l></l><block var="word"/></block><script><block s="doAsk"><l>What word would you like to make plural?</l></block><block s="doSetVar"><l>word</l><block s="getLastAnswer"></block></block><block s="doIfElse"><block s="reportEquals"><l></l><block var="word"/></block><script></script><script><block s="doSayFor"><custom-block s="plurals %s"><block s="getLastAnswer"></block></custom-block><l>2</l></block></script></block><block s="doSayFor"><l>Thanks for playing!</l><l>2</l></block></script></block></script><script x="40" y="69.66666666666714"><custom-block s="plural h %s"><l></l></custom-block></script></scripts></sprite></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="all but last letter of %&apos;string&apos;" type="reporter" category="operators"><comment x="0" y="0" w="217.99999999999997" collapsed="false">Takes a text string as input, and reports a new text string containing all but the last letter of the input.</comment><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doDeclareVariables"><list><l>result</l><l>i</l></list></block><block s="doWarp"><script><block s="doIf"><block s="reportEquals"><block s="reportStringSize"><block var="string"/></block><l>0</l></block><script><block s="doReport"><block s="reportListItem"><l>1</l><block s="reportSum"><l>0</l><l>0</l></block></block></block></script></block><block s="doSetVar"><l>result</l><l></l></block><block s="doSetVar"><l>i</l><l>1</l></block><block s="doUntil"><block s="reportEquals"><block var="i"/><block s="reportStringSize"><block var="string"/></block></block><script><block s="doSetVar"><l>result</l><block s="reportJoinWords"><list><block var="result"/><block s="reportLetter"><block var="i"/><block var="string"/></block></list></block></block><block s="doChangeVar"><l>i</l><l>1</l></block></script></block><block s="doReport"><block var="result"/></block></script></block></script></block-definition><block-definition s="last letter of %&apos;word&apos;" type="reporter" category="operators"><comment x="0" y="0" w="260" collapsed="false">Takes a text string as input, and reports the last character in the string.</comment><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doReport"><block s="reportLetter"><block s="reportStringSize"><block var="word"/></block><block var="word"/></block></block></script></block-definition><block-definition s="map %&apos;function&apos; over %&apos;lists&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%mult%l"></input></inputs><script><block s="doWarp"><script><block s="doDeclareVariables"><list><l>mapone</l><l>mapmany</l></list></block><block s="doSetVar"><l>mapone</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="evaluate"><block var="mapone"/><list><block s="reportCDR"><block var="data"/></block></list></block></block></block></script><list><l>data</l></list></block></block><block s="doSetVar"><l>mapmany</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportListItem"><l>1</l><block var="data lists"/></block></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportListItem"><l>1</l><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></block><block s="evaluate"><block var="mapmany"/><list><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportCDR"><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></list></block></block></block></script><list><l>data lists</l></list></block></block><block s="doIfElse"><custom-block s="empty? %l"><block s="reportCDR"><block var="lists"/></block></custom-block><script><block s="doReport"><block s="evaluate"><block var="mapone"/><list><block s="reportListItem"><l>1</l><block var="lists"/></block></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="mapmany"/><list><block var="lists"/></list></block></block></script></block></script></block></script></block-definition><block-definition s="empty? %&apos;data&apos;" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportEquals"><block var="data"/><block s="reportNewList"><list></list></block></block></block></script></block-definition><block-definition s="keep items such that %&apos;pred&apos; from %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%predRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doIfElse"><block s="evaluate"><block var="pred"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><script><block s="doReport"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></block></script><script><block s="doReport"><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></script></block></script></block></script></block-definition><block-definition s="plural h %&apos;word&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doIf"><block s="reportEquals"><block s="reportLetter"><block s="reportDifference"><block s="reportStringSize"><block var="word"/></block><l>1</l></block><block var="word"/></block><l>1</l></block><script><block s="doReport"><block s="reportJoinWords"><list><block var="word"/><l>s</l></list></block></block></script></block><block s="doReport"><block s="reportJoinWords"><list><block var="word"/><l>es</l></list></block></block></script></block-definition><block-definition s="script variable %&apos;word&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs></block-definition><block-definition s="plurals %&apos;word&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doIf"><block s="reportEquals"><l>r</l><custom-block s="last letter of %txt"><block var="word"/></custom-block></block><script><block s="doReport"><custom-block s="plural r %s"><block var="word"/></custom-block></block></script></block><block s="doIf"><block s="reportEquals"><l>s</l><custom-block s="last letter of %txt"><block var="word"/></custom-block></block><script><block s="doReport"><block s="reportJoinWords"><list><block var="word"/><l>es</l></list></block></block></script></block><block s="doIf"><block s="reportEquals"><l>h</l><custom-block s="last letter of %txt"><block var="word"/></custom-block></block><script><block s="doReport"><custom-block s="plural h %s"><block var="word"/></custom-block></block></script></block><block s="doIf"><block s="reportEquals"><l>a</l><custom-block s="last letter of %txt"><block var="word"/></custom-block></block><script><block s="doReport"><custom-block s="plural a %s"><block var="word"/></custom-block></block></script></block><block s="doReport"><block s="reportJoinWords"><list><block var="word"/><l>s</l></list></block></block></script></block-definition><block-definition s="plural r %&apos;word&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><l></l></block></script></block-definition><block-definition s="plural t" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><l></l></block></script></block-definition><block-definition s="plural a %&apos;word&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><l></l></block></script></block-definition></blocks><variables></variables></project><media name="Unit 2 Programing Assessment" app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>