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.🧰 In function tip(bill), what is bill? (a) a parameter (b) an event (c) a screen (d) a loop
-
2.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age <= 10) {
return 50;
}
return 100;
}
Test 1: price(10) → expected 100
Test 2: price(11) → expected 100
Test 3: price(9) → expected 50 - 3.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
- 4.🧭 Which part of navigation goes to the last screen? (a) the back button (b) a menu button (c) a tab bar
- 5.🚀 Your app is at version 4.7.4. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.8.4 (b) 4.7.5 (c) 5.0.0 (d) 4.8.0
- 6.Which of these is true of a wireframe? (a) uses the final pictures (b) has the real colours (c) shows where things go (d) looks like the real app
-
7.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 32; // start at 32
line 2: points = points + 5; // add 5
line 3: points = points + 2; // double it
line 4: points = points * 2; // double it
line 5: show(points); // show it (a) line 3 (b) line 1 (c) line 2 (d) line 4 - 8.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a study-room finder (b) a medicine reminder (c) a homework planner (d) a bill splitter
- 9.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) edge cases (b) phone cases (c) old cases (d) easy cases
- 10.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) see tasks by day (c) pick a theme colour (d) earn stickers
-
11.🧩 How many buttons does this app screen have?
[title] Order Snacks
[button] Cancel
[text box] Phone
[button] Send
[text box] Notes -
12.🖼️ In this wireframe (top to bottom), what is right below the big picture?
[ title text ]
[ list of items ]
[ top bar ]
[ big picture ]
[ menu icon ] (a) menu icon (b) list of items (c) top bar (d) title text -
13.🚀 Which of these versions is the OLDEST?
2.8.7, 2.4.3, 2.14.0, 1.27.9 (a) 2.4.3 (b) 2.8.7 (c) 2.14.0 (d) 1.27.9 - 14.Which of these is true of a menu button? (a) hides extra links (b) shows 3 to 5 icons (c) goes to the last screen (d) undoes one move
- 15.Which of these happens at the release stage? (a) add the buttons (b) spot a problem to solve (c) sketch the screens (d) share the download link
-
16.📊 Survey: which problem bugs you most? How many students voted in all?
wasting pocket money: 24 votes
losing water bottles: 18 votes
forgetting birthdays: 4 votes - 17.Which of these is true of a website? (a) is installed on a phone (b) has a home-screen icon (c) needs no installing (d) updates from the store
-
18.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 41; // start at 40
line 2: stars = stars - 4; // take away 4
line 3: stars = stars * 2; // double it
line 4: show(stars); // show it - 19.🎨 UI stands for user ___. (a) internet (b) input (c) interface (d) idea
- 20.✏️ A box with a cross in a wireframe usually means ___. (a) a closed app (b) delete this (c) an error (d) a picture goes here
- 21.🗒️ Why keep version 1 small? (a) to learn from users soon (b) to confuse users (c) to use up storage (d) to look bigger
-
22.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting homework: 24 votes
missing the bus: 19 votes
wasting pocket money: 17 votes (a) wasting pocket money (b) missing the bus (c) forgetting homework - 23.🔍 Which is the odd one out? (a) a water reminder (b) a unit converter (c) a step counter (d) a sleep tracker
- 24.👆 What kind of event is this: a finger hits Like? (a) a tap event (b) a load event (c) a timer event (d) a text event
-
25.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age <= 14) {
return 50;
}
return 100;
}
Test 1: price(14) → expected 100
Test 2: price(15) → expected 100
Test 3: price(10) → expected 50 (a) Test 3 (b) Test 1 (c) Test 2 - 26.Which of these is true of an app? (a) opens from a link (b) opens in a web browser (c) has a web address (d) is installed on a phone
- 27.Which of these fits saving in the cloud? (a) chat messages to friends (b) notes to read offline (c) the sound on/off setting (d) a draft you are typing
- 28.✏️ What is a wireframe? (a) a charging cable (b) the finished app (c) a simple screen sketch (d) a type of password
- 29.🗂️ What kind of app is a racing challenge? (a) a health app (b) a game (c) a learning app (d) a tool app
- 30.True or false: a shared to-do list fits saving on the phone. (a) False (b) True
- 31.🔢 In a sign-up flow, which comes FIRST? (a) make a password (b) tap “Sign up” (c) open the app (d) type name and email
- 32.💡 How can you check that people really have the problem? (a) pick a colour (b) copy another app (c) ask possible users (d) just guess
-
33.🔀 Which badge does this quiz app show?
let marks = 74;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Silver (c) Bronze - 34.💡 Which app idea solves this problem: friends argue over who pays? (a) a medicine reminder (b) a bill splitter (c) a lost-and-found board (d) a homework planner
-
35.⚙️ What number does this app show?
let bill = 152; // typed by the user
let friends = 4; // typed by the user
let share = bill / friends;
show(share); - 36.True or false: one second passes is a timer event. (a) True (b) False
-
37.🔁 What number does this code show?
let scores = [46, 81, 20];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 40) {
count = count + 1;
}
}
show(count); -
38.🔁 What number does this code show?
let marks = [6, 6, 2, 20];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); -
39.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(32)); - 40.True or false: the sound on/off setting fits saving in the cloud. (a) True (b) False
Answer key
- a parameter
- 2
- an app
- the back button
- 5.0.0
- shows where things go
- line 3
- a study-room finder
- edge cases
- see tasks by day
- 2
- menu icon
- 1.27.9
- hides extra links
- share the download link
- 46
- needs no installing
- 72
- interface
- a picture goes here
- to learn from users soon
- forgetting homework
- a unit converter
- a tap event
- Test 1
- is installed on a phone
- chat messages to friends
- a simple screen sketch
- a game
- False
- open the app
- ask possible users
- Silver
- a bill splitter
- 38
- True
- 2
- 34
- 96
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students