<snapdata remixID="9078160"><project name="4.4 Lab Webb" app="Snap! 5.4, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAABv0lEQVR4nO3SoW1CYQCF0W7FCu8hyDPswgwYpmEKgsbiCRsQ/rqmNW3dl9Jzkuuv+N4GhN7qA/xvAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlwG+cTqf6wssT4A/meR7LsozVajUul8t4PB71pZciwF9Yr9djWZaPzfM8drvdOJ/P9bU/T4C/cDwevwT4edvtduz3+/rinyXAH9xuty/BTdM0DofDuF6v9bWXIMBvPJ/PsdlsxjRN436/13dekgBJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEm9A889shFxpNLbAAAAAElFTkSuQmCC</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" 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="4.30999569055783" y="-1.0021165821679654" 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="20" y="20"><custom-block s="Only Evens of %l"><l/></custom-block></script><script x="20" y="52"><block s="doSayFor"><l>Hello!</l><l>2</l></block></script><script x="20" y="91"><custom-block s="Increasing? %l"><l/></custom-block></script><script x="20" y="123"><block s="reportNewList"><list><l>2</l><l>3</l><l>5</l><l>6</l><l>10</l></list></block></script><script x="20" y="156"><custom-block s="includes NEG %l"><l/></custom-block></script><script x="20" y="188"><block s="reportNewList"><list><l>2</l><l>-2</l><l>-6</l><l>6</l><l>-10</l></list></block></script><script x="20" y="221"><custom-block s="AVG of %l"><l/></custom-block></script><script x="20" y="253"><custom-block s="Add All of %l and %l"><l/><l/></custom-block></script><script x="20" y="285"><block s="reportNewList"><list><l>2</l><l>3</l><l>61</l><l>6</l><l>77</l></list></block></script><script x="20" y="318"><custom-block s="MAX of %l"><l/></custom-block></script><script x="20" y="350"><custom-block s="Make %l All Positive"><l/></custom-block></script><script x="20" y="382"><custom-block s="Sum of %l"><l/></custom-block></script><comment x="268" y="198" w="113" collapsed="false">just put them in the say block</comment></scripts></sprite><watcher var="NumberList" style="normal" x="1.6534922809371437" y="1.6534922809365113" color="243,118,29" extX="80" extY="69.99999999999997" hidden="true"/><watcher var="sum" style="normal" x="11.666666666666288" y="11.666666666666657" color="243,118,29" hidden="true"/><watcher var="P" style="normal" x="11.666666666666288" y="36.166668999999985" color="243,118,29" hidden="true"/><watcher var="AVG" style="normal" x="11.691022964509216" y="11.691022964509408" color="243,118,29" hidden="true"/><watcher scope="Stage" s="getLastMessage" style="normal" x="18.241042345276924" y="18.24104234527688" color="230,168,34" hidden="true"/><watcher var="list 1" style="normal" x="18.241042345276924" y="56.54723491856676" color="243,118,29" hidden="true"/><watcher var="list 2" style="normal" x="18.241042345276924" y="94.85342749185673" color="243,118,29" hidden="true"/><watcher var="list 3" style="normal" x="18.241042345276924" y="133.15962006514658" color="243,118,29" hidden="true"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="Sum of %&apos;list&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>P</l><l>sum</l></list></block><block s="doSetVar"><l>sum</l><l>0</l></block><block s="doSetVar"><l>P</l><l>1</l></block><block s="doRepeat"><block s="reportListLength"><block var="list"/></block><script><block s="doSetVar"><l>sum</l><block s="reportSum"><block var="sum"/><block s="reportListItem"><block var="P"/><block var="list"/></block></block></block><block s="doChangeVar"><l>P</l><l>1</l></block></script></block><block s="doReport"><block var="sum"/></block></script></block-definition><block-definition s="AVG of %&apos;list&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>added</l><l>p</l></list></block><block s="doSetVar"><l>added</l><l>0</l></block><block s="doSetVar"><l>p</l><l>1</l></block><block s="doRepeat"><block s="reportListLength"><block var="list"/></block><script><block s="doSetVar"><l>added</l><block s="reportSum"><block var="added"/><block s="reportListItem"><block var="p"/><block var="list"/></block></block></block><block s="doChangeVar"><l>p</l><l>1</l></block></script></block><block s="doSetVar"><l>AVG</l><block s="reportQuotient"><block var="added"/><block s="reportListLength"><block var="list"/></block></block></block><block s="doReport"><block var="AVG"/></block></script></block-definition><block-definition s="includes NEG %&apos;list&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>p</l></list></block><block s="doSetVar"><l>p</l><l>1</l></block><block s="doIfElse"><block s="reportListContainsItem"><block var="list"/><block s="reportNumbers"><l>-1</l><l>-100</l></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="Increasing? %&apos;list&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>high</l><l>p</l></list></block><block s="doSetVar"><l>high</l><l>0</l></block><block s="doSetVar"><l>p</l><l>0</l></block><block s="doForEach"><l>item</l><block var="list"/><script><block s="doIfElse"><block s="reportOr"><block s="reportGreaterThan"><block var="item"/><block var="high"/></block><block s="reportEquals"><block var="high"/><block var="item"/></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><block s="doChangeVar"><l>p</l><l>1</l></block></script></block-definition><block-definition s="MAX of %&apos;list&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>Number</l><l>p</l><l>max</l></list></block><block s="doSetVar"><l>Number</l><block s="reportNewList"><list></list></block></block><block s="doUntil"><block s="reportEquals"><block s="reportListLength"><block var="Number"/></block><l>5</l></block><script><block s="doAsk"><l>Enter a number</l></block><block s="doAddToList"><block s="getLastAnswer"></block><block var="Number"/></block></script></block><block s="doSetVar"><l>p</l><l>1</l></block><block s="doSetVar"><l>max</l><l>0</l></block><block s="doRepeat"><block s="reportListLength"><block var="Number"/></block><script><block s="doIf"><block s="reportGreaterThan"><block s="reportListItem"><block var="p"/><block var="Number"/></block><block var="max"/></block><script><block s="doSetVar"><l>max</l><block s="reportListItem"><block var="p"/><block var="Number"/></block></block></script></block><block s="doChangeVar"><l>p</l><l>1</l></block></script></block><block s="doReport"><block s="reportJoinWords"><list><l>The largest number in that group is </l><block var="max"/></list></block></block></script></block-definition><block-definition s="MAX User build" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>Number</l><l>p</l><l>max</l></list></block><block s="doSetVar"><l>Number</l><block s="reportNewList"><list></list></block></block><block s="doUntil"><block s="reportEquals"><block s="reportListLength"><block var="Number"/></block><l>5</l></block><script><block s="doAsk"><l>Enter a number</l></block><block s="doAddToList"><block s="getLastAnswer"></block><block var="Number"/></block></script></block><block s="doSetVar"><l>p</l><l>1</l></block><block s="doSetVar"><l>max</l><l>0</l></block><block s="doRepeat"><block s="reportListLength"><block var="Number"/></block><script><block s="doIf"><block s="reportGreaterThan"><block s="reportListItem"><block var="p"/><block var="Number"/></block><block var="max"/></block><script><block s="doSetVar"><l>max</l><block s="reportListItem"><block var="p"/><block var="Number"/></block></block></script></block><block s="doChangeVar"><l>p</l><l>1</l></block></script></block><block s="doReport"><block s="reportJoinWords"><list><l>The largest number in that group is </l><block var="max"/></list></block></block></script></block-definition><block-definition s="Make %&apos;list&apos; All Positive" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>new list</l></list></block><block s="doSetVar"><l>list</l><block var="list"/></block><block s="doReplaceInList"><l>2</l><block var="list"/><l>2</l></block><block s="doReplaceInList"><l>3</l><block var="list"/><l>6</l></block><block s="doReplaceInList"><l>5</l><block var="list"/><l>10</l></block><block s="doSetVar"><l>list</l><block var="new list"/></block><block s="doReport"><block var="new list"/></block></script><scripts><script x="244.000001" y="177.00000100000005"><block var="new list"/></script><script x="220.000002" y="86.00000199999988"><block var="item"/></script><script x="283" y="109.19999999999999"><block s="reportListContainsItem"><l/><l>thing</l></block></script></scripts></block-definition><block-definition s="Only Evens of %&apos;list&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>new list</l><l>list 1</l><l>list 2</l><l>list 3</l></list></block><block s="doSetVar"><l>list 1</l><block s="reportNewList"><list><l>2</l><l>-2</l><l>-6</l><l>6</l><l>-10</l></list></block></block><block s="doSetVar"><l>list 2</l><block s="reportNewList"><list><l>2</l><l>3</l><l>5</l><l>6</l><l>10</l></list></block></block><block s="doSetVar"><l>list 3</l><block s="reportNewList"><list><l>2</l><l>3</l><l>61</l><l>6</l><l>77</l></list></block></block><block s="doIf"><block var="list 1"/><script><block s="doSetVar"><l>list 1</l><block s="reportNewList"><list><l>2</l><l>-2</l><l>-6</l><l>6</l><l>-10</l></list></block></block><block s="doReport"><block var="list 1"/></block></script></block><block s="doIf"><block var="list 2"/><script><block s="doSetVar"><l>list 2</l><block s="reportNewList"><list><l>2</l><l>3</l><l>5</l><l>6</l><l>10</l></list></block></block><block s="doReport"><block s="reportNewList"><list><l>2</l><l>6</l><l>10</l></list></block></block></script></block><block s="doIf"><block var="list 3"/><script><block s="doSetVar"><l>list 3</l><block s="reportNewList"><list><l>2</l><l>3</l><l>61</l><l>6</l><l>77</l></list></block></block><block s="doReport"><block s="reportNewList"><list><l>2</l><l>6</l></list></block></block></script></block></script></block-definition><block-definition s="Add All of %&apos;list 1&apos; and %&apos;list 2&apos;" type="reporter" category="operators"><comment x="0" y="0" w="90" collapsed="true">4.4 - 2.3</comment><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>new list</l><l>p</l></list></block><block s="doReport"><l></l></block></script></block-definition></blocks><variables><variable name="NumberList"><list struct="atomic" id="491">2,-2,-6,6,-10</list></variable><variable name="sum"><l>0</l></variable><variable name="P"><l>1</l></variable><variable name="AVG"><l>29.8</l></variable><variable name="list 1"><l>0</l></variable><variable name="list 2"><l>0</l></variable><variable name="list 3"><l>0</l></variable></variables></project><media name="4.4 Lab Webb" app="Snap! 5.4, http://snap.berkeley.edu" version="1"></media></snapdata>