Computer Science, asked by nitusrivastva225, 6 months ago

5. Long question :-
(a)
What can i use variables for ?
[5]
(b)
How do i create a new sprite ?
[5]
(C)
What is a loop ? What are the 2 iypes of loops
provided by scratch ?
[8]
What is meant by an event in scratch ? Explain with an
example.
[7]
(d)
What is a random number ? Describe briefly, how will you
generate a random number between 1 to 50 in scratch ? [10]​

Answers

Answered by user9807
2

Answer:

1. You can use variables instead of the unknown numbers.

2. Either the buttons beside NEW SPRITE. Choose from the library, paint your own sprite, upload your own image or sprite, or take a picture. You can drag the objects to wherever you want.

3. In Scratch, there are 3 different kinds of loops: repeat loops, repeat-until loops and forever loops.

4. Event-based programming is programming in which the code is based on events, which are similar to message broadcasts. For example, a "when mouse moved" event can trigger all scripts when the mouse is moved. Events have their own attributes, called event attributes

SORRY BUT I DONT KNOW THE ANSWER OF 5TH QUESTION

Similar questions