KnowledgeBoat Logo

Computer Applications

How are following two scripts different from one another ?

How are following two scripts different from one another? Scratch Programming I, Computer Applications Code 165 Sumita Arora Solutions CBSE Class 9.
How are following two scripts different from one another? Scratch Programming I, Computer Applications Code 165 Sumita Arora Solutions CBSE Class 9.

Scratch

1 Like

Answer

The key distinction between the given scripts is that in the first script, the "Woof!" message will be displayed once when the sprite is touching "Sprite1". In the second script, because of the forever loop, the "Woof!" message will be repeatedly displayed every time the sprite is touching "Sprite1", as long as the program is running.

Answered By

1 Like


Related Questions