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.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) show the balance (b) pie-chart colours (c) export to a file (d) savings stickers
- 2.🔁 list.length tells you ___. (a) the biggest item (b) how many items it has (c) the last item (d) the first item
-
3.🗒️ Version 1 of a quiz app must be ready in 12 days. How many days are left for extras after the must-haves?
show a question: 2 days
check the answer: 3 days
show the score: 4 days -
4.👆 The user taps the button 5 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 2) {
likes = likes + 1;
}
label.text = likes;
}; -
5.📊 Survey: which problem bugs you most? Which problem should your app solve first?
wasting pocket money: 21 votes
missing the bus: 5 votes
no quiet study place: 6 votes (a) no quiet study place (b) missing the bus (c) wasting pocket money -
6.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 50; // start at 47
line 2: lives = lives * 2; // double it
line 3: lives = lives + 3; // add 3
line 4: show(lives); // show it - 7.🚀 Your app is at version 4.4.8. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.4.9 (b) 5.0.0 (c) 4.5.8 (d) 4.5.0
-
8.👆 The user taps the button 2 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 5) {
likes = likes + 1;
}
label.text = likes;
}; -
9.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Friend list”
2. tap Back
3. open “Video”
Which screen are you on now? (a) Quiz (b) Lessons (c) Friend list (d) Video - 10.True or false: you connect the data at the build stage. (a) False (b) True
-
11.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(35, 3)); - 12.True or false: a wireframe uses plain grey boxes. (a) True (b) False
- 13.True or false: buttons almost touching is good button design. (a) True (b) False
- 14.🎨 UI stands for user ___. (a) input (b) internet (c) interface (d) idea
-
15.💾 pop() takes off the last item. What does this code show?
let songs = ["Sunrise", "Rain", "Stars"];
songs.pop();
show(songs[songs.length - 1]); (a) Sunrise (b) Stars (c) Rain - 16.🔍 Which is the odd one out? (a) fast-flashing lights (b) icons with no labels (c) strong colour contrast (d) sudden loud sounds
- 17.🔍 Which is the odd one out? (a) spot a problem to solve (b) talk to possible users (c) list what users need (d) try every button
-
18.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Body text: 16 px
Hint: 24 px
Footer: 12 px
Title: 18 px (a) Title (b) Body text (c) Hint (d) Footer - 19.True or false: your last game level fits saving on the phone. (a) False (b) True
- 20.🧰 Why write a function? (a) to make code longer (b) to hide errors (c) to reuse code (d) to slow the app
- 21.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) see tasks by day (c) share tasks to friends (d) add a homework task
- 22.True or false: a lost-and-found board solves a real problem. (a) True (b) False
-
23.🗒️ Version 1 of a quiz app must be ready in 12 days. How many days are left for extras after the must-haves?
show a question: 2 days
check the answer: 2 days
show the score: 5 days - 24.True or false: you let friends try it at the test stage. (a) False (b) True
- 25.True or false: a final design has no real colours. (a) True (b) False
-
26.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Meera", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Meera (c) Hi, Aman - 27.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) makes it harder (b) helps everyone
- 28.Which of these is true of a website? (a) is installed on a phone (b) comes from an app store (c) has a web address (d) has a home-screen icon
-
29.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Edit photo”
2. tap the Home tab
3. tap the Profile tab
How many times must you tap Back to reach the main screen of this tab? -
30.👆 The user taps the button 2 times. What number does the label show now?
let coins = 5;
button.onTap = function () {
coins = coins + 1;
label.text = coins;
}; -
31.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(5)); -
32.📊 Survey: which problem bugs you most? Which problem should your app solve first?
losing water bottles: 15 votes
no quiet study place: 25 votes
forgetting birthdays: 14 votes (a) losing water bottles (b) forgetting birthdays (c) no quiet study place -
33.⚙️ What number does this app show?
let km = 15; // typed by the user
let metres = km * 1000;
show(metres); -
34.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “forgetting homework”?
forgetting homework: 8 votes
no quiet study place: 24 votes
losing water bottles: 3 votes - 35.🎯 Is this a user need or a feature: a search bar? (a) a user need (b) a feature
-
36.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 36; // start at 35
line 2: lives = lives + 4; // add 4
line 3: lives = lives + 5; // add 5
line 4: lives = lives + 5; // add 5
line 5: show(lives); // show it (a) line 2 (b) line 3 (c) line 4 (d) line 1 - 37.📅 An app team plans for 4 days, builds for 6 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
-
38.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 51; // start at 50
line 2: coins = coins * 2; // double it
line 3: coins = coins * 2; // double it
line 4: show(coins); // show it -
39.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(60, 2)); - 40.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) custom alert sounds (c) see today’s total (d) log a glass of water
Answer key
- show the balance
- how many items it has
- 3
- 2
- wasting pocket money
- 97
- 5.0.0
- 2
- Video
- True
- 105
- True
- False
- interface
- Rain
- strong colour contrast
- try every button
- Footer
- True
- to reuse code
- share tasks to friends
- True
- 3
- True
- False
- Hi, Aman
- helps everyone
- has a web address
- 0
- 7
- 10
- no quiet study place
- 15000
- 16
- a feature
- line 1
- 5
- 200
- 120
- custom alert sounds
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students