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.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 49; // start at 48
line 2: lives = lives + 6; // add 6
line 3: lives = lives * 2; // double it
line 4: show(lives); // show it (a) line 3 (b) line 1 (c) line 2 - 2.🌗 Is black on pale grey easy or hard to read on a button? (a) hard to read (b) easy to read
-
3.💾 What number does this code show?
let coins = 7;
coins = coins - 2;
coins = coins + 5;
show(coins); - 4.True or false: a wireframe looks like the real app. (a) True (b) False
-
5.💾 What number does this code show?
let coins = 4;
coins = coins - 3;
coins = coins + 4;
show(coins); - 6.🔀 What does if / else let an app do? (a) save a photo (b) pick one of two actions (c) repeat forever (d) draw a screen
-
7.🧩 How many buttons does this app screen have?
[title] Add Homework
[button] Help
[button] Next
[switch] Dark mode
[button] Save
[text box] Age
[text box] Subject
[text box] Due date - 8.🗂️ What kind of app is a word battle? (a) a learning app (b) a game (c) a tool app (d) a health app
-
9.📊 Survey: which problem bugs you most? How many students voted in all?
forgetting birthdays: 8 votes
no quiet study place: 5 votes
forgetting homework: 18 votes -
10.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 43; // start at 43
line 2: coins = coins * 2; // double it
line 3: coins = coins + 4; // add 3
line 4: show(coins); // show it -
11.👆 The user taps the button 2 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 3) {
likes = likes + 1;
}
label.text = likes;
}; - 12.Which of these happens at the idea stage? (a) list what users need (b) add the buttons (c) write down the bugs (d) pick the features
-
13.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 50;
}
show(fee(11) + fee(2)); -
14.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(30, 4)); -
15.🔀 What does this sign-up rule show?
let age = 9;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 16.Which of these is a screen? (a) tap to go Next (b) the log-in page (c) tap to Send (d) tap to Save
- 17.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 32 px tall. How many px taller must it be?
-
18.🔁 What number does this code show?
let marks = [17, 13, 9, 3, 8];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 19.🧭 Tapping a tab usually takes you to ___. (a) the phone settings (b) that tab’s main screen (c) a random page (d) the last app used
- 20.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a bus tracker (b) a big-text reader (c) a pocket-money tracker (d) a water reminder
- 21.🧩 In an app, what is today’s step count? (a) a button (b) data (c) an input (d) a screen
- 22.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
- 23.✏️ What is a wireframe? (a) a type of password (b) a simple screen sketch (c) a charging cable (d) the finished app
- 24.Which of these is an input? (a) tap to Save (b) tap to Send (c) a date picker (d) today’s step count
- 25.🔍 Which is the odd one out? (a) how users feel after (b) whether users get lost (c) the icon shapes (d) how fast a task is done
- 26.👥 A cricket club app has 255 players, 100 coaches and 55 fans as users. Which user group is the biggest? (a) players (b) fans (c) coaches
- 27.📅 An app team plans for 4 days, builds for 10 days, tests for 2 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
-
28.🔀 What number does this shop app show?
let total = 230;
if (total > 500) {
total = total - 50;
}
show(total); -
29.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 36; // start at 36
line 2: coins = coins - 3; // add 3
line 3: coins = coins * 2; // double it
line 4: coins = coins * 2; // double it
line 5: show(coins); // show it - 30.Which of these is true of a menu button? (a) undoes one move (b) opens a list of pages (c) goes to the last screen (d) switches main sections
- 31.🔢 In a photo-post flow, which comes LAST? (a) write a caption (b) add a filter (c) post the photo (d) open the camera screen
-
32.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 39; // start at 36
line 2: stars = stars - 3; // take away 3
line 3: stars = stars + 5; // add 5
line 4: show(stars); // show it - 33.💡 How can you check that people really have the problem? (a) copy another app (b) ask possible users (c) just guess (d) pick a colour
- 34.Which of these is true of a wireframe? (a) is a quick sketch (b) looks like the real app (c) shows the real fonts (d) has the real colours
-
35.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 30;
}
show(fee(6) + fee(9)); - 36.🚀 Your app is at version 2.2.1. The next release adds a new feature. What is its version number? (a) 3.0.0 (b) 2.3.0 (c) 2.3.1 (d) 2.2.2
-
37.🧩 How many buttons does this app screen have?
[title] Order Snacks
[button] Save
[button] Done
[switch] Show hints
[text box] Subject
[text box] Due date -
38.🖼️ In this wireframe (top to bottom), what is right below the search box?
[ top bar ]
[ search box ]
[ menu icon ]
[ tab bar ]
[ big picture ] (a) top bar (b) tab bar (c) big picture (d) menu icon -
39.🔀 Which badge does this quiz app show?
let marks = 33;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Gold (c) Silver - 40.🧪 What is the actual result of a test? (a) the test’s number (b) what the app really does (c) the app’s name (d) what we hope for
Answer key
- line 1
- easy to read
- 10
- False
- 5
- pick one of two actions
- 3
- a game
- 31
- 89
- 2
- list what users need
- 50
- 120
- Ask a parent
- the log-in page
- 16
- 50
- that tab’s main screen
- a bus tracker
- data
- a website
- a simple screen sketch
- a date picker
- the icon shapes
- players
- 14
- 230
- 132
- opens a list of pages
- post the photo
- 38
- ask possible users
- is a quick sketch
- 60
- 2.3.0
- 2
- menu icon
- Bronze
- what the app really does
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students