Page 43 - CloudGPT_C6_Flipbook
P. 43
D. Match the following:
1. Modulus a. ++
2. Increment b. –=
3. Add AND assignment operator c. *=
4. Subtract AND assignment operator d. +=
5. Multiply AND assignment operator e. %
E. Answer the following questions:
1. What is the use of Subtract AND assignment operator?
..............................................................................................................................................................
..............................................................................................................................................................
2. Write the rules to name a variable.
..............................................................................................................................................................
..............................................................................................................................................................
3. Write the names of the data types that are available in Python.
..............................................................................................................................................................
..............................................................................................................................................................
Applied Project Experiential Learning
To perform modulus operation on two variables in MakeCode Arcade
To perform the task, follow these steps:
Step 1: Visit the link: https://arcade.makecode.com, click on 'New Project', and write the name
of project 'Modulus Operation'. Click on ''Create'.
Step 2: Click on 'Variables', select 'Make a Variable', write the name of the variable as 'a', then
click on 'OK'. Variable 'a' will appear in 'Make a Variable…'.
Variables Using Block Coding 41

