Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

APP lab essential skills review

Total questions: 99

Worksheet time: 50mins

Name
Class
Date
1.

var Score = 0;

function updateScoreAlways() {

****WHAT CHOICE BELOW WOULD GO HERE?****

}

You are creating a function so that the upper left button ("Always") of an app is consistently worth 4 points, so that you can call that function on every screen (in the event that Always button is clicked).

Which choice below is the correct line to insert into the function?

a)

var Score = 4;

b)

Score = Score + 4;

c)

var score = 4;

d)

score = score + 4;

2.

This control is frequently used to let the user start an action.

a)
b)
c)
d)
3.

Which of these could be used to display a different page?

a)
b)
c)
d)
4.

Look carefully at the image.

What is the id name of the screen?

a)

startScreen

b)

Above

c)

Below

d)

Run

5.

The image shows the properties of an object.


Which of the following are true?


You can choose more than one thing.

a)

The object is called stopScreen

b)

Background colour is one of the properties

c)

I can choose an image to set as a property

d)

Sound can be set as one of the properties of this object

6.

Look carefully at the image.


What type of event is this the code for?

a)

Long click

b)

Click

c)

Shake

d)

Input

7.

Look carefully at the image.


What object is this the event for?

a)

LeftButton

b)

RightButton

c)

TopButton

d)

BottomButton

8.

Look carefully at the image.


What will happen when this event is carried out?

a)

Nothing will happen

b)

The left screen will display and then a sound will play

c)

A sound will play and then the right screen will display

d)

The screen will flash on and then flash off

9.

Look carefully at the image.


This is an example of a user Interface.

a)

True

b)

False

10.

The User Interface or UI of an app refers to..

a)

One button on the screen

b)

The layout of the screen that a person interacts with

c)

The On/Off button

d)

An event

11.

To place objects onto the screen in order to create a user interface you would need to use...

a)

Code mode

b)

Design mode

c)

Event mode

d)

Property mode

12.

How would you find out the id of an object on the screen?

a)

Hover over it and read the label

b)

Click on the object

c)

Double-click on the object

d)

Delete the object

13.

Buttons, labels, images and the screen are all examples of objects.

a)

True

b)

false

14.

Each object that I add to the User Interface must have a unique object id. That means, all objects must have a different object id.

a)

True

b)

False

15.

What does the set property block do?

a)

Enables you to set properties for objects

b)

Repeats a set of instructions

c)

Ends the program

d)

Starts a new program

16.

The button labelled 'Above' has which of the following properties.

CHOOSE 4!

a)

Height

b)

Font size

c)

Text colour

d)

Background colour

e)

Sound

17.

Which of the following are events? (Select all that apply)

a)

Touching a button on an iPad screen

b)

Pressing and holding a button on a screen

c)

Shaking your phone to cause something to happen?

d)

Typing on the keyboard of a mobile phone

18.

Look carefully at the image.


What is at point A?

a)

The object whose property is to be set

b)

The event to be responded to

c)

The property to be set

d)

None of the above

19.

Look carefully at the image.


What is at point B?

a)

The object whose property is to be set

b)

The event to be responded to

c)

The property to be set

d)

The value to be used for the property being set

20.

Look carefully at the image.


What is at point C?

a)

The object whose property is to be set

b)

The event to be responded to

c)

The property to be set

d)

The value to be used for the property being set

21.

A program designed to run blocks of code or functions in response to specified events is called...

a)

An Event-driven program

b)

A value

c)

A property

d)

An object

22.

In order to test your code, you have to click _____ in the emulator.

a)

run

b)

reset

c)

go

23.

Don't forget to click _____ if you change your code!

a)

run

b)

reset

c)

go

24.

App Lab uses this coding language:

a)

Python

b)

HTML

c)

JavaScript

25.

Apps that respond to the user (events) are...

a)

interactive

b)

non-interactive

c)

static

26.

a file of readily available resources, like sounds or images

a)

folder

b)

library

c)

resource bank

d)

repository

27.

‘App Lab’ uses the following programming language ‘ to create apps/programs

a)

JAVA SCRIPT

b)

VISUAL BASIC

c)

C++

d)

JAVA

28.

This area contains various blocks needed for coding your app

a)

tool box

b)

block area

c)

code area

d)

instructions area

29.

'onEvent' block has two parts which are 'onEvent and------

a)

Screen

b)

Code

c)

Function

30.

Does the screenshot show code view or design view?

a)

design

b)

code

31.

What is the full form of GUI?

a)

Graphic User Interface

b)

Graphical User Interface

c)

Graphical Unit Interface

d)

Graphical User Interaction

32.

Which code block do we use to declare a variable. (Create for the first time)

a)
b)
c)
d)
33.

A well-defined procedure that allows a computer to solve a problem

a)

algorithm

b)

program

c)

code

d)

debugging

34.

A sequence of instructions is called an __________

a)

algorithm

b)

program

c)

code

d)

debugging

35.

backgrounds, buttons, labels etc are called?

a)

Assets

b)

backgrounds, buttons and labels

c)

Elements

d)

sausage

36.

Hovering over a menu, clicking a button or scrolling down are called

(2 correct answers)

a)

action

b)

events

c)

user input

d)

user actions

37.

To change the background colour of your App screen which block would you use?

a)

OnEvent

b)

SetProperty

c)

PlaySound

38.

If our goal is to make the screen green.

Which code combination is correct?

a)
b)
c)
d)
39.

What outcome will the above code provide?

a)

When the button is clicked it will change screen 1 to blue.

b)

On the event of big button being clicked screen 1 will change to blue.

c)

On the event of big button being clicked screen 1 will change from blue to green.

d)

When the button is clicked it will change screen 1 to red.

40.

There is an bug in the above code. Find the error, debug it and write the answer in the box below.

(Type in what it should say for the incorrect word).

(a)  

41.

A visual programming language is usually block code

a)

True

b)

False

42.

A variable is used to store information

a)

True

b)

False

43.

When creating a variable we used the keyword__________

a)

BAR

b)

CAR

c)

VAR

d)

Variable

44.

To create the app when not coding, I use what mode?

a)

Code

b)

Design

c)

Data

45.

What mode do I use to program the app?

a)

Data

b)

Design

c)

Code

46.

The language of the web.

a)

JavaScript

b)

Visual Basic

c)

C++

47.

Select the correct code.

a)

A

b)

B

c)

C

48.

Select the correct code.

a)

A

b)

B

c)

C

49.

Which line of code produces the message?

a)

1

b)

2

c)

3

50.

Which line of code sets the font color?

a)

1

b)

2

c)

3

51.

Which line of code sets the text size?

a)

1

b)

2

c)

3

52.

Does the code match the app screenshot?

a)

Yes

b)

No

53.

Does the code match the app screenshot?

a)

Yes

b)

No

54.

Does the code match the app screenshot?

a)

Yes

b)

No

55.

Does the code match the app screenshot?

a)

Yes

b)

No

56.

Does the code match the app screenshot?

a)

Yes

b)

No

57.

Does the code match the app screenshot?

a)

Yes

b)

No

58.

Does the code match the app screenshot?

a)

Yes

b)

No

59.

Does the code match the app screenshot?

a)

Yes

b)

No

60.

Does the code match the app screenshot?

a)

Yes

b)

No

61.

Does the code match the app screenshot?

a)

Yes

b)

No

62.

Which object is the code being applied to?

a)

A

b)

B

c)

C

63.

Do the properties match the app screenshot?

a)

Yes

b)

No

64.

Do the properties match the app screenshot?

a)

Yes

b)

No

65.

How many screens does the app included.

a)

10

b)

11

c)

12

66.

What happens when the user clicks the left button?

a)

The left screen loads and a sound plays.

b)

The left screen loads.

c)

The right screen loads and a sound plays.

67.

What happens when the user clicks the right button?

a)

The left screen loads and a sound plays.

b)

The right screen loads.

c)

The right screen loads and a sound plays.

68.

Which method can we NOT use to insert an image in App Lab ?

a)

Link to image

b)

Upload image

c)

Copy image

69.

Which block do we use for this or that in-app lab?

a)

Create record ( Data )

b)

On event ( UI controls )

c)

If or Else ( Controls )

d)

== ( Math )

70.

The most important thing we needed to do before coding in App Lab?

a)

Data

b)

Coding

c)

Design

71.

Can we do textbase coding in App Lab?

a)

Yes

b)

No

72.

Which code block can change images, colors, text, and other settings?

a)
b)
c)
d)
73.

Which of these could display a different page?

a)
b)
c)
d)
74.

Which code block can be used to declare a variable? (Typically at the start of your code)

a)
b)
c)
d)
75.

One or more commands to be carried out by a computer

a)

algorithm

b)

program

c)

code

d)

debugging

76.

Finding and fixing errors in programming

a)

JavaScript

b)

programming

c)

code

d)

debugging

77.

App Lab is a 'web-based' (online) tool used to create simple apps

a)

TRUE

b)

FALSE

78.

This area Contains various blocks (such as image, button, ABC label) needed for coding your app.

a)

Workspace

b)

Play Area

c)

Toolbox

d)

Instructions Area

79.

What is the purpose of functions in APPlab?

a)

Repeat the code

b)

Reuse the code

c)

Use in a conditional statement

d)

None

80.

What block would you use for calling of function?

a)

b)

c)
d)

81.

what is declaring the function?

a)

declaring the parameter name for functions

b)

declaring the variable for functions

c)

A function declaration tells the compiler about a function's name, return type, and parameters. A function definition provides the actual body of the function.

d)

None

82.

What is used to write comments?

a)

++

b)

=

c)

//

d)

--

83.
Process of finding and fixing errors in the syntax so the computer program will run properly
a)
Bugs
b)
Sequence
c)
Debugging
d)
Command
84.

What is the following code doing:


totalMarks = 8;

a)

Declaring a variable

b)

Assigning a value to a variable

c)

Performing a calculation

d)

Finding the running total

e)

grading a test

85.
Variables cannot be changed.
a)
False
b)
True
86.

What is at the end of a line of code?

a)

#

b)

;

c)

)

d)

>

e)

.

87.

A variable is used to:

a)

Store a value in memory

b)

Draw a circle

c)

Store a value that does not change

d)

Draw a rectangle

e)

Run code

88.

JavaScript uses the _______ keyword to define variables.

a)

vrb

b)

var

c)

vari

d)

vab

e)

variable

89.

Variables are not case sensitive

a)

True

b)

False

90.

What is the value stored in the variable mouthSize?


var eyeSize = 33;

var mouthSize = 12;

a)

33

b)

12

c)

32

d)

13

e)

0

91.

In the code below, which part is the identifer (the name of the variable)?


var eyeSize = 12

a)

var

b)

eyeSize

c)

=

d)

12

e)

0

92.

In the code below which part is the assignment operator?


var eyeSize = 12

a)

var

b)

eyeSize

c)

=

d)

12

e)

0

93.

In the code below which part is the value?


var eyeSize = 12

a)

var

b)

eyeSize

c)

=

d)

12

e)

0

94.
It does not matter which order you put the identifier and value when assigning a new value.
a)
True
b)
False
95.
The identifer goes on the left hand of the assignment operator and the value goes on the right.
a)
True
b)
False
96.

var x = 10;

var y = 12;

x = x + 12;

What is the value of x after this code is run?

a)

10

b)

12

c)

22

d)

2

e)

0

97.

var score = 0;


How do you increase score by 1?

a)

score = 1;

b)

score = score + 1;

c)

score = score - 1;

d)

var score = 1;

e)

score + 1 = score;

98.

var score= 100;


Which one prints out the score correctly?

a)

console.log("Score: " + score);

b)

console.log("Score");

c)

console.log(Score);

d)

console.log("Score: " + Score);

99.

var x = 2;

var y = 3;

y = x - y;


What is the value of y?

a)

1

b)

-1

c)

5

d)

"2-3"

e)

0