Math & Logic

Did you do it?

The college board requires that our program code contain algorithims with math and logic. But what blocks in SNAP signify that our code segments contain math and logic?

Open SNAP and drag over some blocks that you think can be used as proof that your code contains math and logic. For example if a code segment contains the following expression:

I can then refer to this line of code as proof that I built a data abstraction, titled example.

After you have identify at least 10 blocks that signify the use of math or logic in code, insert a snip it into a word document or open the assignment in canvas, insert the image, and type your response directly into the assignment.

HINT: 10 blocks in total from any of the categories of blocks. All 10 can be math or you can do 1/2 math and 1/2 logic or all logic - whatever combo you can do!

If your mouse or keyboard aren't working - handwrite a list of operators and then write your response and upload picture! I will take work any way I can get it!

Below that image, write a response to the following prompt:

The following block does use a green Math Operator Block but, the college board guidelines specifically exclude the use of RANDOM(0,10) as proof of the use of math or logic. Write a 3-5 sentence paragraph that explains why this block of code in a segment does not - by itself- guarantee the algorithim/code segment contains math or logic. TIP: We refer to this as a psuedo-random number generator

Submit your work the canvas or send it to me via remind before you move on

Last updated