Scratch Operators Tutorial including Mod Operator in Scratch

Поделиться
HTML-код
  • Опубликовано: 11 июл 2019
  • Looking for a tutorial to understand those green Scratch operator blocks? Check out this video where I walk you through each block in detail including the mod block. Educators, get exclusive updates and resources straight to your inbox: surfingscratcher.com/recommend...
    Check out the starter project below. Support Surfing Scratcher by purchasing this tee: shrsl.com/1p54c
    ➡️ Starter Project: scratch.mit.edu/projects/3200...
    ** Patreon Page **
    / surfingscratcher
    ** Surfing Scratcher Shop **
    Educators and teachers, you can find unplugged lessons, resources and activities to purchase for this tutorial series on my website here:
    www.surfingscratcher.com/shop/
    ** Catch me on social media **
    ➣ Scratch: scratch.mit.edu/users/surfing...
    ➣ Website: surfingscratcher.com
    ➣ Like my Facebook Page: bit.ly/2HnR1Gg
    ➣ Subscribe to my RUclips Channel: bit.ly/2TDtqI3
    ➣ Follow me on Instagram: bit.ly/2NWlxZe
    ➣ Follow me on Pinterest: bit.ly/2CdKIl5
    ➣ Browse my Teachers Pay Teachers Store: bit.ly/2Tq45lH
    ** Video Description **
    In this Scratch operators tutorial, we explore each block in the operators category. Each block is either a boolean or reporter block. We investigate how to remember the less than and greater than symbols in maths. We also explore some operations that we can do with strings. The mod operator is discussed as well as the rounding blocks.
    ** What is Surfing Scratcher? **
    Surfing Scratcher wants to show learners, students, educators and teachers how to learn mathematics through coding games online with Scratch 3 programming projects. Whether you are a Scratch beginner, or you're an educator wondering how to use Scratch in your classroom or looking for lessons & resources for your classroom, Surfing Scratcher is here to help you on your journey.
    ** Check out the other playlists now **
    bit.ly/2J1q5i3
    #scratch #codingforkids #scratchgames

Комментарии • 104

  • @absolutegarbage5979
    @absolutegarbage5979 3 года назад +16

    i love how dedicated to his work he is

  • @owlleep6047
    @owlleep6047 3 года назад +1

    this is one of the single most helpful videos on operators, ive got a way better understanding now. Than you!

  • @matrousrevamp
    @matrousrevamp Год назад

    your video made me fully understand operators. So i appreciate it.

  • @Cake14797
    @Cake14797 2 года назад

    Thanks ik I’m late but I’m here. I didn’t know what the mod block did so thanks . ALSO YOUR THEMIST DEDICATED SCRATCHER IVE EVER SEEN so keep up the good work : D

  • @yt_bharat
    @yt_bharat 3 года назад

    Amazing tutorial, just wanted to learn these operators

  • @user-dq6tr5bf5v
    @user-dq6tr5bf5v Год назад

    Thanks a lot
    I wasn't able to use the and operator, but thanks to you I could do it.

  • @cosmoart8997
    @cosmoart8997 Год назад

    Thanks this helped a ton!

  • @hafizsabiqulhaq6041
    @hafizsabiqulhaq6041 11 месяцев назад

    Thank you. It helps me.

  • @archanavarma2921
    @archanavarma2921 2 года назад

    Wow great work

  • @manojgupta8012
    @manojgupta8012 3 года назад +2

    Very nice

  • @nailaarifa5303
    @nailaarifa5303 3 года назад

    Thank You
    This really helped.

    • @milanberonja4122
      @milanberonja4122 3 года назад

      Here it is one more interesting video ruclips.net/video/1G7ZpBQVl_I/видео.html This girl is so funny and her video is useful

  • @Taurus_.
    @Taurus_. 2 года назад

    Thank you

  • @wsugac
    @wsugac 3 года назад

    helpful, Thanks.

  • @joukhadanahaiukhaadle
    @joukhadanahaiukhaadle 3 года назад

    Please make a game on the math concept of Probability . Much awaited tutorial

  • @mneum1
    @mneum1 4 года назад +4

    I would LOVE to see a video full of ideas for clues / escape room activities, especially ones appropriate for the classroom. What a great way to get students curious to start a class!

    • @mneum1
      @mneum1 4 года назад

      Also, these videos are gold. Thank you for putting them in the world.

    • @SurfingScratcher
      @SurfingScratcher  4 года назад

      Hi Mike, thanks for your comment. I love your suggestion and it has sparked my curiosity. Are you suggesting a video for general classroom escape themes/activities, or a video that shows learners how to make an escape clue/game on Scratch? I could see a whole unit whereby you spark learners with an escape room, then they could create their own in groups, build aspects of it in Scratch and then the rest of the class could participate, too!

    • @mneum1
      @mneum1 4 года назад

      @@SurfingScratcher I think both are great ideas! Scratch seems like such a perfect platform for gamifying learning objectives by turning them into spaces students can explore and tinker with until they "unlock" something. I know there are so many clue/puzzle/mystery possibilities hiding in those blocks!

    • @SurfingScratcher
      @SurfingScratcher  4 года назад +1

      @@mneum1 So cool. I'm gonna make this a priority for the new year. Maybe a foundational video first on creating a lock in Scratch. Maybe even using some cloud variables as I'm yet to explore those, as I suspect that would be a good way to 'hide' solutions. Then it could branch out into more escape room generalisations. I'm shifting into relief teaching next year, so should be a useful playground to test out some of these ideas! If you have any links to projects you've tried send them across. 🤙

  • @cat8594
    @cat8594 2 года назад

    Came here for mod operator, thanks!

  • @NINJAR-zi1dp
    @NINJAR-zi1dp 2 года назад

    you are soo underrated!!

  • @ArnavBoom
    @ArnavBoom 3 года назад +1

    1:55 THANK YOUUUU

    • @milanberonja4122
      @milanberonja4122 3 года назад

      Here it is one more interesting video ruclips.net/video/1G7ZpBQVl_I/видео.html This girl is so funny and her video is useful

  • @HmsquidFarded
    @HmsquidFarded 4 года назад +14

    could u plez make a 3D vidieo??

    • @SurfingScratcher
      @SurfingScratcher  4 года назад +3

      Hi Hmsquid, thanks for your comment. I don't have plans to make a 3D video in the short-term (I'd need to do a bit of learning myself first).
      If your comment gets to say 100 thumbs up, then I'll reconsider and get onto it. I appreciate your suggestion and keep them coming.
      In the meantime, check out this 3D tutorial by Funut Tutorials if you haven't already: ruclips.net/video/461c0Xqe4FU/видео.html

    • @HmsquidFarded
      @HmsquidFarded 4 года назад +1

      @@SurfingScratcher Thanks so Much!! *hypervilinating i got a reply*

    • @SurfingScratcher
      @SurfingScratcher  4 года назад +2

      @@HmsquidFarded Keep me posted on your 3D learning journey. You've got this!

    • @HmsquidFarded
      @HmsquidFarded 4 года назад +1

      @@SurfingScratcher im not sure if thats a compliment or what but ill just day tysm,!!

  • @user-hl4xq7pe6t
    @user-hl4xq7pe6t 8 месяцев назад

    terima kasih bang karena kamu tugas TIK kami bisa selesai

  • @tabassumkhan3951
    @tabassumkhan3951 Год назад

    Hi
    Can you please tell me how to write 3 conditions in or operator inside the not operator.

  • @adyamgeberhiwot782
    @adyamgeberhiwot782 3 года назад

    THANK YOUUUUUUU

  • @petisparkus555
    @petisparkus555 4 года назад

    I have a bit of a question, how do I use the COS property, or in other words, are there easy examples to understand it?

    • @SurfingScratcher
      @SurfingScratcher  4 года назад

      Hi Petis, I'm actually planning to make a video about this on the weekend. I'll post when it's released!

  • @muhammedsafwanurrahman1205
    @muhammedsafwanurrahman1205 4 года назад

    rock hard abssss

  • @MIRJALOLJALILOV-re5bp
    @MIRJALOLJALILOV-re5bp Год назад

    Menga juda yoqdi

  • @Henry-zm2ku
    @Henry-zm2ku 5 лет назад +1

    100th subscriber!

    • @SurfingScratcher
      @SurfingScratcher  5 лет назад

      Woot! Thanks for joining the party, Henry. Great to see that you're making Scratch content, too :)

    • @Henry-zm2ku
      @Henry-zm2ku 5 лет назад

      @@SurfingScratcher check out my account on Scratch! user name: lelezzh

  • @randomshellplayz7350
    @randomshellplayz7350 2 года назад

    Where did you get that sprite true or false sign?

  • @leomundis1786
    @leomundis1786 2 года назад

    Is it okay to have this?
    andand
    I would think so, but Im making a project that should probably need this, and it's not working.

    • @SurfingScratcher
      @SurfingScratcher  2 года назад

      Yep, it should work. It would mean that all 3 conditions MUST be true. If any of the conditions is false, then it's will return false. Test simply with expected results first. Then test with variables etc.

  • @szchren
    @szchren 4 года назад

    Do you make your sprites available so kids can use them to follow along?

    • @SurfingScratcher
      @SurfingScratcher  4 года назад

      I make most Scratch projects available so others can follow along with the video :)

    • @mmtophat.
      @mmtophat. 3 года назад

      👍👌👌👍👍👍

  • @icygamer299
    @icygamer299 4 года назад +3

    I would really like to see a video where you the abs, ceiling, floor, sqrt, sin, cos, tan, asin, acos, atan, In, log, e ^ and 10 ^ in a project please?

    • @SurfingScratcher
      @SurfingScratcher  4 года назад

      Yep, you're right. It's a video that needs to be created. Over the weekend, I'm gonna do some planning to come up with the next 'season' of Surfing Scratcher. I'll plan for a video to address this.

    • @icygamer299
      @icygamer299 4 года назад +1

      thanks
      This video really helped with the mod, round, and the crazy abs, floor, ceiling, etc

  • @jestemkacper129
    @jestemkacper129 2 года назад

    cool. Where to put round block so it can work?

    • @SurfingScratcher
      @SurfingScratcher  2 года назад

      It's a reporter block. It reports on or 'reads' a value. You use them in any oval shape.

  • @UniQueLyEviL
    @UniQueLyEviL Год назад

    How did you make/find the boolean true/false sign? I see how you can draw a sign in paint, but I don't see how to get the red and green buttons to be interactive.
    Update: I figured it out by watching your simple state machine video! :D

  • @rakshithrathish9977
    @rakshithrathish9977 4 года назад

    How do you add the mod operator inside programs?

    • @SurfingScratcher
      @SurfingScratcher  4 года назад +2

      I use the mod operator when I want to find odd and even numbers. Say when I'm creating a checkered grid and I want each box alternated. I can use a mod for that. If I divide a number by 2, it will have no remainder when the number is even and a remainder of 1 when it's odd. That's just one application. When applying it in other contexts, just ask yourself if a remainder is useful.

  • @memoricagraphics2156
    @memoricagraphics2156 2 года назад

    where is these sprites? please

  • @yogeshbhole2006
    @yogeshbhole2006 4 года назад

    I like your video 😊 but I didn't understand that how to apply it to the game which I make

  • @andrzejpakistan3200
    @andrzejpakistan3200 2 года назад

    One of the abs, floor, sin etc. operators is E

  • @Kirikaze9
    @Kirikaze9 Год назад

    how do i turn a circle operator into a block

    • @SurfingScratcher
      @SurfingScratcher  Год назад

      I'm not sure I understand your question. What's the circle operator?

  • @accelerators_taken
    @accelerators_taken 3 года назад

    could you please please please please... PLEEEEASE make a video about the e^ one

    • @SurfingScratcher
      @SurfingScratcher  3 года назад

      Hi Fang, e has more to do with maths than Scratch, so I recommend checking out the Khan Academy videos that explain the math behind it. Let me know if you think of a way to use it in programming :)
      www.khanacademy.org/math/ap-calculus-bc/bc-series-new/bc-10-14/v/euler-s-formula-and-euler-s-identity

  • @robbyhitchcock7998
    @robbyhitchcock7998 3 года назад

    can you show us like how to use each one pls

    • @SurfingScratcher
      @SurfingScratcher  3 года назад

      HI Robby, do you mean in a worked example? From October, I will have around 3 months worth of videos dropping that are all about Trigonometry, so check out the trailer and stay tuned!

  • @mmtophat.
    @mmtophat. 3 года назад +1

    where is the mod part??????

  • @breadisyummy_
    @breadisyummy_ 2 года назад

    anyone know how the round operator actually works, im trying to round something to the nearest 45 instead of 10

    • @SurfingScratcher
      @SurfingScratcher  2 года назад

      Round works on decimal values. To round to 45 or some other integer, you'll need to use an if block with a condition.
      If less than 45, set to 45

    • @breadisyummy_
      @breadisyummy_ 2 года назад

      @@SurfingScratcher ok

    • @breadisyummy_
      @breadisyummy_ 2 года назад

      Ok, so
      If (direction) less than 45, then
      Repeat until (direction) equals 0
      Turn left 5 degrees
      Else
      If (direction) less than 90, then
      Repeat until (direction) equals 90
      Turn right 5 degrees
      And so on

    • @breadisyummy_
      @breadisyummy_ 2 года назад

      @@SurfingScratcher before I was trying to do some complex exponent division rounded and then multiplied but that just got me the 1.5 bit integer limit or something

    • @SurfingScratcher
      @SurfingScratcher  2 года назад

      @@breadisyummy_ Yeah something like this.
      Just be clear on the ranges that you're trying to account for and create conditions for those ranges.

  • @RustyShape
    @RustyShape 2 года назад

    mod operator is at 7:00

  • @Demilemi55
    @Demilemi55 5 месяцев назад

    did he code the subscribe button

  • @marksmith8079
    @marksmith8079 15 дней назад

    explain all the abs

  • @sinisagavrilovic
    @sinisagavrilovic Месяц назад

    this is not helping a bit i do not have any sound on my computer

  • @caterinalin2563
    @caterinalin2563 Год назад

    Wow I really want to know what the acos and cos and sin and atan and tan do the mathematics

    • @SurfingScratcher
      @SurfingScratcher  Год назад

      I have a whole series dedicated to this. Check the playlists on my page for trigonometry.

  • @derpmonkey4489
    @derpmonkey4489 4 года назад

    I am fuzzy to make a block

  • @lukereality
    @lukereality 2 года назад

    could you make a intro vid???

  • @muhammadyahyaosman9447
    @muhammadyahyaosman9447 3 года назад +1

    No, I'm not

  • @derpmonkey4489
    @derpmonkey4489 4 года назад

    I don't understand operators at all except not, =, -, +,*, and, or, and other easy to understand ones

  • @ukdave472
    @ukdave472 4 года назад

    You mentioned nothing about how to create the Boolean Sign.. Thanks anyway.

    • @SurfingScratcher
      @SurfingScratcher  4 года назад

      Hi Uk Dave, did you check out the Scratch project? If not, here it is: scratch.mit.edu/projects/320011095/
      Check out the sign costume. In terms of making the actual sign, I just drew it. That aspect was outside the scope of the tutorial as the focus was on operators. Would you be interested in a drawing tutorial in a future video?

  • @rhysluffman7943
    @rhysluffman7943 3 года назад

    well, I guess I am being taught math

  • @SurfingScratcher
    @SurfingScratcher  5 лет назад

    SCRATCHY QUESTION: Leave your question about Operator blocks below.

    • @imperialprime7991
      @imperialprime7991 4 года назад +1

      i still needmore help on how to use the MOD block i have a quiz tomorrow!

    • @SurfingScratcher
      @SurfingScratcher  4 года назад +2

      @@imperialprime7991 Hi and thanks or your message. How is your understanding of division? Say you have 18 eggs and you want to pack those eggs into cartons that have 6 spaces. How many cartons would you fill? You would fill 3 cartons because:
      18 ÷ 6 = 3
      Here, we are skip counting in 6s. Each time we reach a multiple of 6, we need a new carton. Say, we had 19 eggs this time. We’d still fill 3 cartons but we have 1 left over:
      19 ÷ 6 = 3 remainder 1
      We could start filling the spaces of the 4th carton of eggs now. MOD tells us how many we have left over. It’s the remainder. We could write the first example like this to show that it fits perfectly.
      18 % 6 = 0
      Then, to show that we have an extra one left over, we’d write it like this:
      19 % 6 = 1
      The Scratch operator would look like this (19 mod 6) and that would evaluate to 1.
      I would encourage you to use the mod operator in Scratch to create some more examples and predict what the result is. Here some to get you started:
      12 ÷ 6 = 2
      so
      12 % 6 = ?
      15 ÷ 5 = 3
      so
      15 % 5 = ?
      17 ÷ 5 = 3 remainder 2
      so
      17 % 5 = ?

    • @imperialprime7991
      @imperialprime7991 4 года назад

      Surfing Scratcher Awesome thanks so much! My computer science class use a program called Snap. It’s pretty much looks the same by what I see in your video. I just need to see what can of things I can use with it like a game or run it with something just to see how it works with other blocks attached

    • @SurfingScratcher
      @SurfingScratcher  4 года назад +2

      ​@@imperialprime7991 I find the mod operator useful when I am creating grids. If I want 5 columns in my grid and I start adding row items, when I get to the 5th column, I know that mod == 0 so that's a flag for me to start a new line.
      Here's some pseudocode with a variable called counter:
      // I want 5 Columns and 4 Rows
      Repeat 20 times
      if ( [length of counter] mod 5) == 0
      then start a new row
      do that by increasing y value or adding 1 to a row count etc.
      add item to counter -> (length of counter + 1)
      You could also use the remainder of mod as a multiplier to move the x value of an item.
      counter MOD 5 = 1
      then 1 * 50 = 50
      then 2 * 50 = 100
      then 3 * 50 = 150
      ...

    • @SurfingScratcher
      @SurfingScratcher  4 года назад +2

      @@imperialprime7991 Here's a Scratch project that demonstrates the Pseudocode in action:
      scratch.mit.edu/projects/332495324/

  • @thatoneguy3727
    @thatoneguy3727 Год назад

    lol it gave me 4 like 6 times

  • @MelissaHarrismelement
    @MelissaHarrismelement 4 года назад

    Scratch username: MaxJupiter

  • @moreydumo5925
    @moreydumo5925 3 года назад +1

    fTfT

  • @fionacarey4579
    @fionacarey4579 Год назад

    this really helped! Thanks!

    • @SurfingScratcher
      @SurfingScratcher  Год назад

      Wonderful, thanks for sharing, Fiona!

    • @sinisagavrilovic
      @sinisagavrilovic Месяц назад

      @@SurfingScratcher this did not help now i am so confused of how to use the green blocks waaaaaaa😭😭😭