<snapdata remixID="14857262"><project name="U2L4.1 - Math&#xD;" app="Snap! 11.0.8, https://snap.berkeley.edu" version="2"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAoKADAAQAAAABAAAAeAAAAAAeaS0RAAACJUlEQVR4Ae3SwQ0AIBDDMGD/nQ/EEvm4C1SKvOdtmQJRgRP9ulXgFwAQhLQAgGl+5wAykBYAMM3vHEAG0gIApvmdA8hAWgDANL9zABlICwCY5ncOIANpAQDT/M4BZCAtAGCa3zmADKQFAEzzOweQgbQAgGl+5wAykBYAMM3vHEAG0gIApvmdA8hAWgDANL9zABlICwCY5ncOIANpAQDT/M4BZCAtAGCa3zmADKQFAEzzOweQgbQAgGl+5wAykBYAMM3vHEAG0gIApvmdA8hAWgDANL9zABlICwCY5ncOIANpAQDT/M4BZCAtAGCa3zmADKQFAEzzOweQgbQAgGl+5wAykBYAMM3vHEAG0gIApvmdA8hAWgDANL9zABlICwCY5ncOIANpAQDT/M4BZCAtAGCa3zmADKQFAEzzOweQgbQAgGl+5wAykBYAMM3vHEAG0gIApvmdA8hAWgDANL9zABlICwCY5ncOIANpAQDT/M4BZCAtAGCa3zmADKQFAEzzOweQgbQAgGl+5wAykBYAMM3vHEAG0gIApvmdA8hAWgDANL9zABlICwCY5ncOIANpAQDT/M4BZCAtAGCa3zmADKQFAEzzOweQgbQAgGl+5wAykBYAMM3vHEAG0gIApvmdA8hAWgDANL9zABlICwCY5ncOIANpAQDT/M4BZCAtAGCa3zmADKQFAEzzOweQgbQAgGl+5wAykBYAMM3vHEAG0gIApvmdX3dXBOxAFCWaAAAAAElFTkSuQmCC</thumbnail><scenes select="1"><scene name="U2L4.1 - Math&#xD;"><notes></notes><hidden></hidden><headers></headers><code></code><blocks><block-definition s="Is %&apos;num1&apos; divisible by %&apos;num2&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input><input type="%s" initial="1"></input></inputs><script><block s="doIfElse"><block s="reportVariadicEquals"><list><block s="reportModulus"><block var="num1"/><block var="num2"/></block><l>0</l></list></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="even? %&apos;num&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input></inputs><script><block s="doIfElse"><custom-block s="Is %s divisible by %s"><block var="num"/><l>2</l></custom-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="odd? %&apos;num&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input></inputs><script><block s="doIfElse"><block s="reportNot"><custom-block s="Is %s divisible by %s"><block var="num"/><l>2</l></custom-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="integer? %&apos;num&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input></inputs><script><block s="doIfElse"><block s="reportVariadicEquals"><list><block var="num"/><block s="reportRound"><block var="num"/></block></list></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="number of divisors %&apos;num&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input></inputs><script><block s="doSetVar"><l>count</l><l>0</l></block><block s="doFor"><l>i</l><l>1</l><block var="num"/><script><block s="doIf"><custom-block s="Is %s divisible by %s"><block var="num"/><block var="i"/></custom-block><script><block s="doChangeVar"><l>count</l><l>1</l></block></script><list></list></block></script></block><block s="doReport"><block var="count"/></block></script></block-definition></blocks><primitives></primitives><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" hyperops="true" codify="false" inheritance="true" sublistIDs="false" id="118"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAB4KADAAQAAAABAAABaAAAAAAHwbojAAAL30lEQVR4Ae3QMQEAAADCoPVPbQwfiEBhwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwI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AElFTkSuQmCC</pentrails><costumes><list struct="atomic" id="119"></list></costumes><sounds><list struct="atomic" id="120"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="1"><sprite name="mod 3" idx="3" x="1001.0153846153853" y="0.9076923076922867" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="125"><costumes><list struct="atomic" id="126"></list></costumes><sounds><list struct="atomic" id="127"></list></sounds><blocks></blocks><variables></variables><scripts><script x="10" y="10"><block s="reportModulus"><l>1</l><l>3</l></block></script><script x="10" y="34"><block s="reportModulus"><l>2</l><l>3</l></block></script><script x="10" y="58"><block s="reportModulus"><l>3</l><l>3</l></block></script><script x="10" y="82"><block s="reportModulus"><l>4</l><l>3</l></block></script><script x="10" y="106"><block s="reportModulus"><l>5</l><l>3</l></block></script><script x="10" y="130"><block s="reportModulus"><l>6</l><l>3</l></block></script><script x="10" y="154"><block s="reportModulus"><l>7</l><l>3</l></block></script><script x="10" y="178"><block s="reportModulus"><l>8</l><l>3</l></block></script><script x="10" y="202"><block s="reportModulus"><l>9</l><l>3</l></block></script><script x="10" y="226"><block s="reportModulus"><l>10</l><l>3</l></block></script></scripts></sprite><sprite name="mod 4" idx="4" x="1001.0153846153853" y="0.9076923076922867" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="161"><costumes><list struct="atomic" id="162"></list></costumes><sounds><list struct="atomic" id="163"></list></sounds><blocks></blocks><variables></variables><scripts><script x="10" y="10"><block s="reportModulus"><l>1</l><l>4</l></block></script><script x="10" y="34"><block s="reportModulus"><l>2</l><l>4</l></block></script><script x="10" y="58"><block s="reportModulus"><l>3</l><l>4</l></block></script><script x="10" y="82"><block s="reportModulus"><l>4</l><l>4</l></block></script><script x="10" y="106"><block s="reportModulus"><l>5</l><l>4</l></block></script><script x="10" y="130"><block s="reportModulus"><l>6</l><l>4</l></block></script><script x="10" y="154"><block s="reportModulus"><l>7</l><l>4</l></block></script><script x="10" y="178"><block s="reportModulus"><l>8</l><l>4</l></block></script><script x="10" y="202"><block s="reportModulus"><l>9</l><l>4</l></block></script><script x="10" y="226"><block s="reportModulus"><l>10</l><l>4</l></block></script></scripts></sprite><sprite name="mod 5" idx="5" x="1001.0153846153853" y="0.9076923076922867" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="197"><costumes><list struct="atomic" id="198"></list></costumes><sounds><list struct="atomic" id="199"></list></sounds><blocks></blocks><variables></variables><scripts><script x="10" y="10"><block s="reportModulus"><l>1</l><l>5</l></block></script><script x="10" y="34"><block s="reportModulus"><l>2</l><l>5</l></block></script><script x="10" y="58"><block s="reportModulus"><l>3</l><l>5</l></block></script><script x="10" y="82"><block s="reportModulus"><l>4</l><l>5</l></block></script><script x="10" y="106"><block s="reportModulus"><l>5</l><l>5</l></block></script><script x="10" y="130"><block s="reportModulus"><l>6</l><l>5</l></block></script><script x="10" y="154"><block s="reportModulus"><l>7</l><l>5</l></block></script><script x="10" y="178"><block s="reportModulus"><l>8</l><l>5</l></block></script><script x="10" y="202"><block s="reportModulus"><l>9</l><l>5</l></block></script><script x="10" y="226"><block s="reportModulus"><l>10</l><l>5</l></block></script></scripts></sprite><sprite name="mod 2" idx="2" x="1001.0153846153853" y="0.9076923076922867" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="233"><costumes><list struct="atomic" id="234"></list></costumes><sounds><list struct="atomic" id="235"></list></sounds><blocks></blocks><variables></variables><scripts><script x="10" y="10"><block s="reportModulus"><l>1</l><l>2</l></block></script><script x="10" y="34"><block s="reportModulus"><l>2</l><l>2</l></block></script><script x="10" y="58"><block s="reportModulus"><l>3</l><l>2</l></block></script><script x="10" y="82"><block s="reportModulus"><l>4</l><l>2</l></block></script><script x="10" y="106"><block s="reportModulus"><l>5</l><l>2</l></block></script><script x="10" y="130"><block s="reportModulus"><l>6</l><l>2</l></block></script><script x="10" y="154"><block s="reportModulus"><l>7</l><l>2</l></block></script><script x="10" y="178"><block s="reportModulus"><l>8</l><l>2</l></block></script><script x="10" y="202"><block s="reportModulus"><l>9</l><l>2</l></block></script><script x="10" y="226"><block s="reportModulus"><l>10</l><l>2</l></block></script></scripts></sprite><sprite name="mod 1" idx="1" x="1001.0153846153853" y="0.9076923076922867" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="269"><costumes><list struct="atomic" id="270"></list></costumes><sounds><list struct="atomic" id="271"></list></sounds><blocks></blocks><variables></variables><scripts><script x="10" y="16.799999999999997"><block s="reportModulus"><l>1</l><l>1</l></block></script><script x="10" y="40.80000000000001"><block s="reportModulus"><l>2</l><l>1</l></block></script><script x="10" y="64.80000000000001"><block s="reportModulus"><l>3</l><l>1</l></block></script><script x="10" y="88.80000000000001"><block s="reportModulus"><l>4</l><l>1</l></block></script><script x="10" y="112.80000000000001"><block s="reportModulus"><l>5</l><l>1</l></block></script><script x="10" y="136.8"><block s="reportModulus"><l>6</l><l>1</l></block></script><script x="10" y="160.79999999999995"><block s="reportModulus"><l>7</l><l>1</l></block></script><script x="10" y="184.79999999999995"><block s="reportModulus"><l>8</l><l>1</l></block></script><script x="10" y="208.80000000000007"><block s="reportModulus"><l>9</l><l>1</l></block></script><script x="10" y="232.79999999999995"><block s="reportModulus"><l>10</l><l>1</l></block></script><comment x="110.19999999999999" y="10" w="132" collapsed="false">There are mod blocks in each Sprite.&#xD;&#xD;Explore the blocks.  Click on them to see what they report.  &#xD;&#xD;Form a hypothesis about what the mod block reports.</comment><script x="402" y="103.80000000000001"><custom-block s="odd? %s"><l>3</l><comment w="161" collapsed="true">Since all even numbers are divisible by 2 if I use the not block it will change the Is num divisible by 2 to instead of identifying even numbers it will identify odd number and will report if it is true or false.</comment></custom-block></script><script x="397" y="129.8"><custom-block s="even? %s"><l>5</l><comment w="90" collapsed="true">Since all even numbers are divisible by 2, it will identify if the number is able to be divided by 2 and if it is it will report true or false.</comment></custom-block></script><script x="392.0126953125" y="162.5"><custom-block s="Is %s divisible by %s"><l>1.5</l><l>.5</l><comment w="90" collapsed="true">if a number is divisible by another number it will have no remainder, so if num1 mod num2 and = 0 it means that num2 is divisible by num1 and it will then report if it is true and if its not true it will report false.</comment></custom-block></script><script x="373.24609375" y="214.33333333333337"><custom-block s="integer? %s"><l>0.5</l><comment w="275" collapsed="true">An integer is any whole number. In my code I did if the num = the rounded number. For example, when you round 12 it will still = 12 but if you round 13.4 it will be 13, however 13 does not = to 13.4 which is why if the num rounds to itself it is an integer because the round feature will round the decimal of the number to the nearest whole number. if the number does not equal the round number it will report false but if the number it equal to the rounded number it will report true.</comment></custom-block></script><script x="368.5498046875" y="254.16666666666674"><custom-block s="number of divisors %s"><l>0</l><comment w="182" collapsed="true">First I created a variable and named it count. Then I used the set count to 0 so that whenever I input a new number it will reset the counter. Then I used the for i = 1 to num so that for each number 1 to whatever number I inputted it will divide by the number that is used. the reason I did 1-num is because every single number is divided by 1 and itself. Next I did if the num is divisible by I change count by 1 so that whenever the number is able to be divided evenly it will change the score. Lastly it will report whatever value that was counted by the variable count.</comment></custom-block></script></scripts></sprite><watcher var="count" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><watcher var="C" style="normal" x="10" y="31.000001999999995" color="243,118,29" hidden="true"/></sprites></stage><variables><variable name="count"><l>1</l></variable><variable name="C"><l>0</l></variable></variables></scene></scenes></project><media name="U2L4.1 - Math
" app="Snap! 11.0.8, https://snap.berkeley.edu" version="2"></media></snapdata>