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 is the LAST line this code shows?
let names = ["Arjun", "Meera", "Riya", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Kabir (c) Hi, Meera (d) Hi, Arjun - 2.🎯 Which app would help this user most: a student who often misses the school bus? (a) a recipe finder (b) a big-text reader (c) a bus tracker (d) a homework planner
- 3.True or false: typing your age is processing. (a) False (b) True
-
4.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 37; // start at 37
line 2: lives = lives * 3; // double it
line 3: lives = lives - 5; // take away 5
line 4: show(lives); // show it (a) line 1 (b) line 3 (c) line 2 - 5.Which of these is an input? (a) your friends list (b) a switch for dark mode (c) tap to Save (d) the game-over page
-
6.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Meera", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Meera (c) Hi, Aman - 7.👆 Which of these is an event? (a) the user taps a button (b) a list of names (c) the icon colour (d) the font size
-
8.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Shop → Results
Design B: Home → Item → Confirm → Address → Offers → Results -
9.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Cart → Size → Menu → Pens → Item
Design B: Home → Menu → Shop (a) Design B (b) Design A -
10.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Menu: 20 px
Label: 18 px
Title: 15 px
Caption: 16 px -
11.👆 The user taps the button 8 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; - 12.Which of these is data? (a) tap to Send (b) a slider for volume (c) the game-over page (d) your friends list
- 13.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) show the balance (b) add money received (c) add money spent (d) export to a file
- 14.👥 A school app has 265 students, 190 teachers and 150 parents as users. How many more students than parents are there?
- 15.True or false: a times-table quiz is a tool app. (a) True (b) False
- 16.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) type name and email (b) open the app (c) see the home screen (d) tap “Sign up”
- 17.Which of these is an input? (a) a buzz (vibration) (b) speaking a command (c) a beep sound (d) checking a password
-
18.🔀 What does this battery rule show?
let battery = 66;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 19.⚙️ In an app, is a beep sound an input, processing or an output? (a) processing (b) input (c) output
- 20.🎨 A beautiful app that confuses everyone has ___. (a) perfect UX (b) good UX but poor UI (c) no UI at all (d) good UI but poor UX
- 21.🔍 Which is the odd one out? (a) draw the user flow (b) pick the features (c) sketch the screens (d) put it on an app store
-
22.⚙️ What number does this app show?
let price = 560; // typed by the user
let off = 30; // typed by the user
let pay = price - off;
show(pay); -
23.🔀 What does this sign-up rule show?
let age = 10;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
24.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 33; // start at 33
line 2: coins = coins + 4; // add 4
line 3: coins = coins + 2; // double it
line 4: coins = coins - 4; // take away 4
line 5: show(coins); // show it - 25.🔍 Which is the odd one out? (a) taking a photo (b) sorting the scores (c) tapping a button (d) speaking a command
- 26.📅 An app team plans for 3 days, builds for 4 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
- 27.True or false: a date picker is an input. (a) False (b) True
- 28.🚀 Which version is newer: 4.8.2 or 4.8.16? (a) 4.8.2 (b) 4.8.16
-
29.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Search tab
2. tap the Search tab
3. open “Edit photo”
4. tap Back
How many times must you tap Back to reach the main screen of this tab? - 30.🐞 A comment in code (after //) is for ___. (a) people reading the code (b) the battery (c) the phone screen (d) the app store
-
31.🧪 What is the ACTUAL result of Test 1?
🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
function delivery(total) {
if (total > 700) {
return 0;
}
return 40;
}
Test 1: delivery(900) → expected 0
Test 2: delivery(950) → expected 0
Test 3: delivery(500) → expected 40 - 32.Which of these happens at the build stage? (a) add the buttons (b) sketch the screens (c) share the download link (d) talk to possible users
- 33.🧭 Where is a tab bar usually placed in a phone app? (a) inside a button (b) in the middle (c) nowhere (d) at the bottom
-
34.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Caption: 22 px
Footer: 21 px
Menu: 21 px
Body text: 23 px
Title: 23 px -
35.🖼️ In this wireframe (top to bottom), what is right below the big picture?
[ big picture ]
[ filter buttons ]
[ Save button ]
[ title text ] (a) title text (b) Save button (c) filter buttons - 36.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) URL (c) CPU (d) MVP
- 37.True or false: a water reminder is a health app. (a) False (b) True
- 38.🔍 Which is the odd one out? (a) taking a photo (b) a result on screen (c) a beep sound (d) a pop-up message
- 39.🔢 After an app is released, which comes LAST? (a) read user reviews (b) release an update (c) fix and improve (d) test it again
- 40.🔍 Which is the odd one out? (a) a unit converter (b) a torch (c) a puzzle with levels (d) an alarm clock
Answer key
- Hi, Kabir
- a bus tracker
- False
- line 2
- a switch for dark mode
- Hi, Aman
- the user taps a button
- 3
- Design B
- 1
- 4
- your friends list
- export to a file
- 115
- False
- see the home screen
- speaking a command
- Battery OK
- output
- good UI but poor UX
- put it on an app store
- 530
- Ask a parent
- 70
- sorting the scores
- 10
- True
- 4.8.16
- 0
- people reading the code
- 0
- add the buttons
- at the bottom
- 0
- filter buttons
- MVP
- True
- taking a photo
- release an update
- a puzzle with levels
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students