<snapdata remixID="8948113"><project name="Nur - Lab 3.4" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAG6klEQVR4nO3dQUjTfRzH8d/Ba5fngZ1GB59DIdXB5xJEEM8tSnQFo6PHGAhRRNQhPGgR1SVWhyhSCnxwJAWGlCghZPiM1rDSXG5ry03b2sqZTnHb5znI/5d/3XQ29avz84IvrO3vf7/szX/772+oQCRISS+AdjYGSKIYIIligCSKAZIoBkiiGCCJYoAkigGSKAZIohggiWKAJIoBkigGSKIYIIligCSKAZIoBkiiGCCJYoAkigGSKAZIohggiWKAJIoBkigGSKIYIIligCSKAZIoBkiiGCCJYoAkigGSKAa4Tiqco9ti/mr9LP2tMmGA66DCOYpgal56GUWpbgujwjkqvQyNAZZoO8Vn+ONuAP99nZVeBgAGWLKtdDQp1tv4HOq7v0ovAwADLFm+AI8cOQIAUEohHo8jFArh1KlTy7ZraGjQt5uampY9/vTpUwCA1Wot+PxXrlzB9evX8z6mVOF/XnvXeMHHNhMDLFG+ACcnJ+H1etHW1gaHwwEAsFgsOHToEJLJJCYmJqCUwunTp/XXKKXgcDiQy+Vw//59AMDDhw/1Y01NTUilUujt7dVh5XI59PX1QSkFl8uF5uZmKKUQi8WQTCYZ4E5Q6CVYKYVsNqsjqKmpQUNDA7q7u5HJZKCUMh0BlVJobGxEIpFATU0NAMDlcgFYiNflciEajSIajeLx48f669xutw4wm83i4sWLcLvdeP36NQPcCX7nPWAikSj42MTEhOnP8/PmE5wfP36suv9IJAIAmJubK7gNAywT2/EkBGCAZWOtAT5//nyDVrJcMpnUtwOBgOkxBlgmjAAdDgeqq6sBAGfOnMH8/DyCwSBu3bqFgwcPwmaz6fd+xnYXLlzAtWvXMDAwgAcPHgAAnE6n3sf4+Lh+H7d4nwBw7tw5XLp0CQDQ2dmJ+vp62O12vc3Zs2fh8/mQzWZRW1uLq1evmtbNAMuE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hEIhPaOjo+jt7c3b2KoBvnnzBoODgxgaGsLIyAiHo8fn88Hv9yMUCulmjOCWzu7du38vQK/Xi5GREQSDQYyNjXE4eiKRCCKRCMbHfzWzOEClVOkBfvjwAYFAANFoFPF4nMMxzbdv35BIJJYFqNRCViUH+PHjR4TDYcRiMSSTSQ4n7+Q7Aq7LS7Df70ckEkE8Hhf/S3K27mxIgKkUP46htenv78eLFy9M09LSUvxZcGdwGieemTcgWi8nno2jMzhtui/vlZAn/p+btijaGZ74f65+JcQgfc2QU56TD38ci0T9DwuP3/vTFybRAAAAAElFTkSuQmCC</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" volume="100" pan="0" lines="round" ternary="false" codify="false" inheritance="true" 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="0" y="0" 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="26" y="149"><block s="receiveGo"></block><custom-block s="Input Numbers"></custom-block><block s="gotoXY"><l>0</l><l>0</l></block><custom-block s="State Min."><comment w="80" collapsed="true">The minimum and maximum are determined using the &quot;min&quot; and &quot;max&quot; blocks through if else statements  and then reported.</comment></custom-block><custom-block s="State Max."></custom-block><custom-block s="Input Third #"></custom-block><custom-block s="Between"><comment w="90" collapsed="true">The &quot;Between&quot; block uses boolean statements in the is...between...and...&#xD;perdicate block to determine if the third input is between the first two inputs.</comment></custom-block><block s="doSayFor"><block s="reportJoinWords"><list><l>The distance between input 1 and input 2 is </l><custom-block s="Distance of %s and %s"><block var="Input 1"/><block var="Input 2"/></custom-block></list><comment w="90" collapsed="true">This block also uses a boolean statement to determine the distance bewteen the first and second inputs.</comment></block><l>2</l></block><custom-block s="Word"></custom-block><custom-block s="Number"></custom-block><custom-block s="Letter"></custom-block><custom-block s="Word Length"><comment w="90" collapsed="true">The length of the word is calculated and compared to the number entered to determine if the word has as many letters as the numeber entered. This is calculated through boolean/if-else statements.</comment></custom-block><custom-block s="Contains"></custom-block></script></scripts></sprite><watcher var="Input 1" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><watcher var="Input 2" style="normal" x="10" y="31.000001999999995" color="243,118,29" hidden="true"/><watcher var="Input 3" style="normal" x="10" y="73.00000599999998" color="243,118,29" hidden="true"/><watcher var="Word" style="normal" x="10" y="52.00000399999999" color="243,118,29" hidden="true"/><watcher var="Letter #" style="normal" x="10" y="73.00000599999998" color="243,118,29" hidden="true"/><watcher var="Letter" style="normal" x="10" y="94.00000799999998" color="243,118,29" hidden="true"/><watcher var="Length" style="normal" x="10" y="115.00000999999997" color="243,118,29" hidden="true"/><watcher var="#" style="normal" x="10" y="136.00001199999997" color="243,118,29" hidden="true"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="Min %&apos;Input 1&apos; %&apos;Input 2&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportLessThan"><block var="Input 1"/><block var="Input 2"/></block><script><block s="doReport"><block var="Input 1"/></block></script><script><block s="doReport"><block var="Input 2"/></block></script></block></script></block-definition><block-definition s="Max %&apos;Input 1&apos; %&apos;Input 2&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportGreaterThan"><block var="Input 1"/><block var="Input 2"/></block><script><block s="doReport"><block var="Input 1"/></block></script><script><block s="doReport"><block var="Input 2"/></block></script></block></script></block-definition><block-definition s="Is %&apos;Input 3&apos; Between %&apos;Input 1&apos; and %&apos;Input 2&apos;" type="predicate" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportOr"><block s="reportLessThan"><block var="Input 3"/><custom-block s="Min %s %s"><block var="Input 1"/><block var="Input 2"/></custom-block></block><block s="reportGreaterThan"><block var="Input 3"/><custom-block s="Max %s %s"><block var="Input 1"/><block var="Input 2"/></custom-block></block></block><script><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script></block-definition><block-definition s="%&apos;Word&apos; At least as long as %&apos;Letter #&apos;" type="predicate" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportOr"><block s="reportEquals"><block var="Letter #"/><block s="reportStringSize"><block var="Word"/></block></block><block s="reportLessThan"><block var="Letter #"/><block s="reportStringSize"><block var="Word"/></block></block></block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script></block-definition><block-definition s="Input Numbers" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>What is the first number you would like to input?</l></block><block s="doSetVar"><l>Input 1</l><block s="getLastAnswer"></block></block><block s="doAsk"><l>What is the second number you would like to input?</l></block><block s="doSetVar"><l>Input 2</l><block s="getLastAnswer"></block></block></script></block-definition><block-definition s="Input Third #" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>Type in a third number and I will see if it is in between the two previous numbers.</l></block><block s="doSetVar"><l>Input 3</l><block s="getLastAnswer"></block></block></script></block-definition><block-definition s="State Min." type="command" category="looks"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSayFor"><block s="reportJoinWords"><list><custom-block s="Min %s %s"><block var="Input 1"/><block var="Input 2"/></custom-block><l> is the smallest number.</l></list></block><l>2</l></block></script></block-definition><block-definition s="State Max." type="command" category="looks"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSayFor"><block s="reportJoinWords"><list><custom-block s="Max %s %s"><block var="Input 1"/><block var="Input 2"/></custom-block><l> is the largest number.</l></list></block><l>2</l></block></script></block-definition><block-definition s="%&apos;Word&apos; Contains %&apos;Letter&apos;" type="predicate" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doSetVar"><l>Length</l><block s="reportStringSize"><block var="Word"/></block></block><block s="doSetVar"><l>#</l><l>1</l></block><block s="doRepeat"><block var="Length"/><script><block s="doIf"><block s="reportEquals"><block s="reportLetter"><block var="#"/><block var="Word"/></block><block var="Letter"/></block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doChangeVar"><l>#</l><l>1</l></block></script></block><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block-definition><block-definition s="Word" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>What word would you like to input?</l></block><block s="doSetVar"><l>Word</l><block s="getLastAnswer"></block></block></script></block-definition><block-definition s="Number" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>Enter a number.</l></block><block s="doSetVar"><l>Letter #</l><block s="getLastAnswer"></block></block></script></block-definition><block-definition s="Letter" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>Enter a letter</l></block><block s="doSetVar"><l>Letter</l><block s="getLastAnswer"></block></block></script></block-definition><block-definition s="Distance of %&apos;Input 1&apos; and %&apos;Input 2&apos;" type="predicate" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportMonadic"><l><option>sqrt</option></l><block s="reportSum"><block s="reportPower"><block s="reportDifference"><block s="xPosition"></block><block var="Input 1"/></block><l>2</l></block><block s="reportPower"><block s="reportDifference"><block s="yPosition"></block><block var="Input 2"/></block><l>2</l></block></block></block></block></script></block-definition><block-definition s="Between" type="command" category="control"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><custom-block s="Is %s Between %s and %s"><block var="Input 3"/><block var="Input 1"/><block var="Input 2"/></custom-block><script><block s="doSayFor"><block s="reportJoinWords"><list><block var="Input 3"/><l> is in between </l><block var="Input 2"/><l> and </l><block var="Input 1"/></list></block><l>2</l></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block var="Input 3"/><l> is not in between </l><block var="Input 2"/><l> and </l><block var="Input 1"/></list></block><l>2</l></block></script></block></script></block-definition><block-definition s="Contains" type="command" category="control"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><custom-block s="%s Contains %s"><block var="Word"/><block var="Letter"/></custom-block><script><block s="doSayFor"><block s="reportJoinWords"><list><block var="Word"/><l> does contain the letter </l><block var="Letter"/></list></block><l>2</l></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block var="Word"/><l> does not contain the letter </l><block var="Letter"/></list></block><l>2</l></block></script></block></script></block-definition><block-definition s="Word Length" type="command" category="control"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><custom-block s="%s At least as long as %s"><block var="Word"/><block var="Letter #"/></custom-block><script><block s="doSayFor"><block s="reportJoinWords"><list><block var="Word"/><l> is at least as long as </l><block var="Letter #"/><l> characters.</l></list></block><l>2</l></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block var="Word"/><l> is not as long as </l><block var="Letter #"/><l> characters.</l></list></block><l>2</l></block></script></block></script></block-definition><block-definition s="%&apos;input 1&apos; %&apos;Input 2&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs></block-definition></blocks><variables><variable name="Input 1"><l>7</l></variable><variable name="Input 2"><l>6</l></variable><variable name="Input 3"><l>6</l></variable><variable name="Word"><l>snap</l></variable><variable name="Letter #"><l>5</l></variable><variable name="Letter"><l>h</l></variable><variable name="Length"><l>4</l></variable><variable name="#"><l>5</l></variable></variables></project><media name="Nur - Lab 3.4" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>