wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Mid-term App Inventor Quiz

Total questions: 40

Worksheet time: 3600secs

Name
Class
Date
1.

You notice that there's a lot 'initialize global' to be defined at the start of a coding project. This is what we call a 'Global variable'. What could global variable means?

a)

Greatly used for logging, driver objects, caching and thread pool, database connections

b)

A type of variable that it is visible (hence accessible) throughout the program, unless shadowed

c)

A type of variable that can be used where the scope and extent of the variable is within the method or statement block in which it is declared

d)

A type of variable that can be used where the scope and extent of the variable is within the method or statement block in which it is declared

2.

Picture below shows the example of a Local Variable ('initialise local'). What could Local Variable possibly means?

a)

Greatly used for logging, driver objects, caching and thread pool, database connections

b)

A type of variable that it is visible (hence accessible) throughout the program, unless shadowed

c)

A type of variable that can be used where the scope and extent of the variable is within the method or statement block in which it is declared

d)

A type of variable where a class of which a single copy exists, regardless of how many instances of the class exist

3.

You notice that most of the project you have done in this term, has use a lot of 'Procedure' blocks. Why do you think we have to use 'Procedure' block a lot?

a)

To make the coding proper

b)

To make it easier for me to code as I can just call the procedure block whenever I want my sequence of blocks to run

c)

To make it easier for me to code as I can see how many procedure need to be done

4.

What are the component below that able to make a sprite moves in continuous movement?

a)

Ball

b)

ImageSprite

c)

Clock

d)

Button

5.

What does Clock do?

a)

It is a non-visible component

b)

Show us the date and time

c)

Set intervals and perform time calculations, manipulations, and conversions

6.

In animating Tatiana, you experienced on how there were a lot of Tatiana costumes used. What kind of block does enable the switch of Tatiana costumes?

a)

Procedure block (purple)

b)

Global Variable block (initialise global)

c)

Set block (orange)

d)

Control block (E.g: when ___.Click) (yellow)

7.

In Animating Tatiana, you realised that your Tatiana keep moving around even though you didn't press any button yet. What possibly caused this event?

a)

b)

c)

8.

In Space Invasion, why do we set the alienStepSize to 5?

a)

To holds the number of alien step when it moves

b)

To make 5 aliens

c)

To have 5 random positions of the alien in the screen canvas

9.

You already know how normal procedure blocks are generated as you can just drag it from the 'Procedure' block. What is the 'scoreValue' in the picture below stands for in the Procedure block? (hints given)

a)

Variable

b)

Input

c)

Function

d)

Output

10.

In Soccer Ball, what will happen if setting Ball.speed to 0?

a)

Nothing happens. All is well.

b)

Nothing happens. All is well.

c)

The ball will not moving at all.

d)

The ball disappears from the display screen.

11.

In Pong, block below explains that the paddle will move left and right due to the X position being changed. But, what will happen to the paddle in Y position?

a)

It will follow X position

b)

It will move up and down

c)

It will move diagonally

d)

It will not move up and down

12.

Please choose the first event that will happen in this block:

a)

If the edge that the reached is the bottom edge (game is over), play the game over sound, display the game over backdrop and stop the ball.

b)

Ball1.EdgeReached is called every time the ball reaches an edge.

c)

Otherwise (any other edge, continue the game), bounce the ball off the edge

13.

Please choose the second event that will happen in this block:

a)

If the edge that the reached is the bottom edge (game is over), play the game over sound, display the game over backdrop and stop the ball.

b)

Ball1.EdgeReached is called every time the ball reaches an edge.

c)

Otherwise (any other edge, continue the game), bounce the ball off the edge

14.

Please choose the third event that will happen in this block:

a)

If the edge that the reached is the bottom edge (game is over), play the game over sound,

display the game over backdrop and stop the ball.

b)

Ball1.EdgeReached is called every time the ball reaches an edge.

c)

Otherwise (any other edge, continue the game), bounce the ball off the edge

15.

Labels, sensors and button are all examples of what?

a)

Properties

b)

Built-in controls

c)

Components

d)

Blocks

16.

What are the thing that we use to identify aspects of each screen or component?

a)

Extensions

b)

Blocks

c)

Behaviors

d)

Properties

17.

Components can be either visible or non-visible. Is this true?

a)

True

b)

False

18.

This part shows a list of pictures/sound we use in the project. What is it?

a)

Media

b)

Viewer

c)

Properties

d)

Palette

19.

A Label component is an example of visible component. Is this statement True or Not?

a)

True

b)

False

20.

Clock is an example of a visible component. Is this statement true?

a)

True

b)

False

21.

Sound is a non-visible component. Is this statement true?

a)

True

b)

False

22.

ImageSprite component can be put without a Canvas. Is this statement true?

a)

True

b)

False

23.

What kind of data is this?

a)

Word data

b)

Number data

c)

String data

d)

Boolean data

24.

Which menu of app inventor allows you to test your app?

a)

Connect

b)

Build

c)

Help

d)

Project

25.

A variable that can be used anywhere in a program

a)

String data

b)

Local variable

c)

Global variable

d)

Component

26.

The section shows below is divided into sections and contain components. What it is?

a)

Media

b)

Palette

c)

Properties

d)

Blocks

27.

What are the three key parts of the App Inventor programming environment?

a)

Android device

b)

Component Designer

c)

Blocks Editor

d)

Viewer

28.

What is the the formatting element in which to place components that should be displayed component from left to right?

a)

Horizontal arrangement

b)

Vertical arangement

c)

Sideways arrangement

d)

Table arrangement

29.

What is this process?

a)

Procedure

b)

Local variable

c)

String

d)

Conditionals

30.

What is the data type of this block?

a)

Number data

b)

Boolean data

c)

String data

d)

Words data

31.

What is the data type of this block?

a)

Number data

b)

Boolean data

c)

String data

d)

Words data

32.

What is a variable?

a)

Code which loops

b)

A string data type

c)

Conditional code

d)

Storage location associated with a value

33.

What is a component that display text?

a)

Conditional

b)

Button

c)

Textbox

d)

Label

34.

What is the component that can detect clicks?

a)

Slider

b)

Button

c)

Label

d)

Sound

35.

Which is the correct statement below?

a)

The ball points to the right and does not move

b)

The ball moves in North-West direction

c)

The ball don't do anything

d)

The ball moves towards the right

36.

What does the code below do?

a)

Nothing happens when the sprites is dragged

b)

When the sprite is dragged, it follows the finger movement

c)

When the sprite is touched down, change its costume to the first costume

d)

It moves up and down

37.

What do we do to make an ImageSprite move from the top of the screen to the bottom of the screen?

a)

Change its position by decreasing its X value

b)

Change its position by decreasing its Y value

c)

Change its position by increasing its Y value

38.

What does the code below do?

a)

When ImageSprite1 touches ImageSprite2, "Oops" -is displayed and ImageSprite2 is hidden

b)

When ImageSprite1 touches ImageSprite2, "Oops" -is displayed

c)

When ImageSprite1 touches any other ImageSprite, "Oops" -is displayed and ImageSprite2 is hidden

d)

When ImageSprite1 touches ImageSprite2, "Oops" disappeared

39.

When this application is loaded, it displays the text "Hello". When will it change to "Bye"?

a)

It will not change to "Bye"

b)

It will change to "Bye" after 500 milliseconds have passed

c)

It will change to "Bye" after 1000 milliseconds have passed

d)

It will display "Bye for 500 milliseconds

40.

What type of programming language use in App Inventor?

a)

Python

b)

Java

c)

C++

d)

Block