Page 130 - 2617_JSSPS_C-7
P. 130
TEST SHEET 2 (Based on chapters 4 & 5)
A. Choose the correct option.
1. Which MIT App Inventor block is used to create reusable actions or instructions?
a. Control b. Variables
c. Procedures d. Logic
2. What type of interface does MIT App Inventor use?
a. Text-based interface b. Command-line interface
c. Block-based interface d. None of these
3. What type of values do Logic Blocks use to make decisions?
a. Integer values b. String values
c. True/false values d. Decimal values
4. Which of these is not a type of statement in the Java language?
a. if statement b. if … else statement
c. if … else… if statement d. if…elif…if statement
5. What is required for every method in a program?
a. A return type b. A name
c. A constructor d. A global variable
6. Where is the return statement placed in a method?
a. At the beginning b. At the middle
c. Always the last line of the method d. It can be placed anywhere
B. Tick ( ) the correct statements and cross ( ) the wrong ones.
1. Colors blocks allow you to set background colours or text colours in your app.
2. The "Touch Up" event occurs when the user lifts their finger, ending or stopping the action.
3. The Magic_Pad app provides a safe, educational way for young learners to improve their
hand control.
Premium Edition-VII
128

