Lesson details

Key learning points

  1. In this lesson, we will complete our Tappy Tap App by making the score screen. After this, we will then be given a choice of projects to work on to start building our own apps.

Licence

This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.

Loading...

3 Questions

Q1.
Looking at the code below, what happens after the confirm_button has been clicked (Image source: Code.org)
A data entry box will appear
Nothing, as the variable name hasn’t been declared beforehand
Correct answer: The text entered by the user into the input box is collected and linked to the name variable
The user is prompted to enter text into the input box
Q2.
There is an app that has two screens, home_screen and game_screen. On the home screen are two buttons. What sequence should the two events below be placed in? (Image source: Code.org)
1 then 2
2 then 1
Correct answer: The sequence of each onEvent is unimportant, as the flow of the program is controlled by when the events are triggered
Q3.
Fixing an error in your code is known as:
Correct answer: Debugging
Detection
Error correction
Error detection

Lesson appears in

UnitComputing / Mobile app development

Computing