Page 131 - 2617_JSSPS_C-7
P. 131

4.  The data type specifies the size and type of values that can be stored in an identifier.

                    5.  Assigning values to variables at the time of declaration is called Static Initialisation.


                    6.  The switch statement is used as a substitute for the if…else ladder.


                 C.  Fill in the blanks.
                    1.                       triggers an action when tapped, like opening a screen or showing a message.

                    2.                       block allows you to access and use the current value stored in a variable.

                    3.  Use the join block to format the multiplication statement from the                category.
                    4.  The body of a method is defined by the curly                  .

                    5.  The control                     defines the duration until which the loop will execute.

                    6.  Conditional statements are also known as                    statements.

                 D.  Answer the following questions:

                    1.  Describe any three most commonly used UI components in MIT App Inventor.
                    2.  Define a variables block.
                    3.   What is App Inventor?

                    4.  What is the for loop in Java? Write its syntax.
                    5.  List the different types of constructors.














































                                                                                                     Test Sheet 2  129
   126   127   128   129   130   131   132   133   134   135   136