App Dev Worksheet: Final Test
Developer's tip (Plan, design, build, check): Find the topic: what apps are, designing apps, or logic and building. Read every screen, list or code line carefully, top to bottom. For code, write each value down step by step and check it again.
NameDateTime takenScore ___ / 40
- 1.🗂️ What kind of app is a times-table quiz? (a) a game (b) a learning app (c) a health app (d) a tool app
- 2.🔍 Which is the odd one out? (a) write the store text (b) let friends try it (c) write down the bugs (d) try every button
-
3.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(2) + points(4)); -
4.👆 The user taps the button 5 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; - 5.👥 A clinic app has 175 patients, 260 doctors and 110 nurses as users. How many more patients than nurses are there?
-
6.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 30; // typed by the user
line 2: let qty = 3; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 3 (b) line 4 (c) line 1 (d) line 2 - 7.Which of these is about UI (the look)? (a) how users feel after (b) how easy sign-up is (c) the screen layout (d) whether users get lost
-
8.🖼️ In this wireframe (top to bottom), what is right below the menu icon?
[ Save button ]
[ list of items ]
[ menu icon ]
[ top bar ]
[ big picture ] (a) top bar (b) big picture (c) Save button (d) list of items - 9.Which of these is data? (a) a box to type a name (b) the game-over page (c) tap to Start (d) your saved notes
- 10.🐞 A comment in code (after //) is for ___. (a) people reading the code (b) the phone screen (c) the app store (d) the battery
- 11.True or false: the home page of an app is a screen. (a) True (b) False
- 12.🔍 Which is the odd one out? (a) working out a tip (b) typing your age (c) tapping a button (d) speaking a command
-
13.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 40; // typed by the user
line 2: let friends = 2; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 2 (b) line 4 (c) line 3 (d) line 1 - 14.💾 Where should the app save notes to read offline: on the phone or in the cloud? (a) in the cloud (b) on the phone
-
15.🧪 What is the ACTUAL result of Test 1?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age < 13) {
return 50;
}
return 100;
}
Test 1: price(13) → expected 100
Test 2: price(17) → expected 100
Test 3: price(11) → expected 50 - 16.🛠️ At which stage do you put it on an app store? (a) the test stage (b) the plan stage (c) the idea stage (d) the release stage
- 17.True or false: a big-text reader is the best fit for a reader who finds small print hard. (a) True (b) False
-
18.👆 The user taps the button 4 times. What number does the label show now?
let score = 6;
button.onTap = function () {
score = score + 3;
label.text = score;
}; - 19.🔀 What does if / else let an app do? (a) save a photo (b) pick one of two actions (c) draw a screen (d) repeat forever
- 20.True or false: your last game level fits saving on the phone. (a) False (b) True
-
21.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Next button: 64 px tall
Start button: 72 px tall
Back button: 64 px tall
Cancel button: 28 px tall (a) Back (b) Next (c) Cancel (d) Start - 22.🎯 Who are the users of an app? (a) the app icons (b) only the testers (c) only the coders (d) the people who use it
- 23.🔍 Which is the odd one out? (a) colour as the only clue (b) labels on every icon (c) captions on videos (d) text that can grow
-
24.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 41; // start at 38
line 2: score = score - 4; // take away 4
line 3: score = score + 2; // add 2
line 4: score = score * 2; // double it
line 5: show(score); // show it - 25.True or false: tap to Start is a button. (a) True (b) False
- 26.True or false: how fast a task is done is about UX (the experience). (a) True (b) False
- 27.🧪 What is the actual result of a test? (a) the test’s number (b) the app’s name (c) what we hope for (d) what the app really does
- 28.True or false: a torch is a game. (a) True (b) False
- 29.True or false: how many taps it takes is about UX (the experience). (a) True (b) False
- 30.🚀 Which version is newer: 2.4.1 or 2.17.0? (a) 2.4.1 (b) 2.17.0
- 31.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) background music (b) an avatar shop (c) show the score (d) confetti effects
- 32.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) add money received (c) savings stickers (d) show the balance
- 33.True or false: the user types a letter is a load event. (a) True (b) False
- 34.Which of these is processing? (a) tapping a button (b) checking a password (c) a result on screen (d) a pop-up message
-
35.👆 The user types Arjun in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Welcome, " + nameBox.text + "!";
}; (a) Welcome, nameBox.text! (b) Welcome! (c) Welcome, Arjun! (d) Arjun - 36.Which of these happens at the test stage? (a) list what users need (b) spot a problem to solve (c) try every button (d) share the download link
- 37.True or false: the search box changes is a load event. (a) True (b) False
-
38.👆 The user taps the button 5 times. What number does the label show now?
let coins = 7;
button.onTap = function () {
coins = coins + 2;
label.text = coins;
}; - 39.🗂️ What kind of app is an alarm clock? (a) a learning app (b) a tool app (c) a health app (d) a game
- 40.🎯 Is this a user need or a feature: a search bar? (a) a feature (b) a user need
Answer key
- a learning app
- write the store text
- 70
- 4
- 65
- line 3
- the screen layout
- top bar
- your saved notes
- people reading the code
- True
- working out a tip
- line 3
- on the phone
- 100
- the release stage
- True
- 18
- pick one of two actions
- True
- Cancel
- the people who use it
- colour as the only clue
- 72
- True
- True
- what the app really does
- False
- True
- 2.17.0
- show the score
- savings stickers
- False
- checking a password
- Welcome, Arjun!
- try every button
- False
- 17
- a tool app
- a feature
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students