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.🔀 Which badge does this quiz app show?
let marks = 71;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Bronze (c) Gold - 2.👥 A clinic app has 135 patients, 230 doctors and 285 nurses as users. Which user group is the biggest? (a) patients (b) doctors (c) nurses
-
3.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 195; // typed by the user
line 2: let friends = 5; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 4 (b) line 2 (c) line 3 (d) line 1 -
4.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Meera")); (a) Meera (b) greet (c) Hi, Meera! (d) Hi, name! - 5.True or false: you add the buttons at the build stage. (a) False (b) True
-
6.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Label: 24 px
Hint: 10 px
Body text: 21 px
Title: 14 px - 7.📱 Which one updates from the store: an app or a website? (a) a website (b) an app
-
8.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 7 or more right answers.
function result(right) {
if (right > 7) {
return "Pass";
}
return "Try again";
}
Test 1: result(10) → expected Pass
Test 2: result(9) → expected Pass
Test 3: result(5) → expected Try again - 9.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) export to a file (b) add money received (c) show the balance (d) add money spent
-
10.👆 The user taps the button 6 times. What number does the label show now?
let points = 1;
button.onTap = function () {
points = points + 2;
label.text = points;
}; - 11.🔢 When you make an app, which comes first: “plan the screens” or “release it”? (a) plan the screens (b) release it
- 12.🔁 list.length tells you ___. (a) the last item (b) how many items it has (c) the first item (d) the biggest item
- 13.💡 Does an app idea like a medicine reminder solve a real problem? (a) No (b) Yes
- 14.Which of these is about UX (the experience)? (a) the icon shapes (b) the screen layout (c) the font size (d) how fast a task is done
- 15.🔢 In a quiz-app flow, which comes first: “read a question” or “see if it is right”? (a) read a question (b) see if it is right
- 16.Which of these happens at the build stage? (a) sketch the screens (b) write down the bugs (c) let friends try it (d) add the buttons
-
17.🧰 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(12) + fee(12)); - 18.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a free study-room finder (c) a bill splitter (d) a page of random dots
- 19.True or false: a draft you are typing fits saving in the cloud. (a) True (b) False
- 20.Which of these happens at the test stage? (a) sketch the screens (b) connect the data (c) try every button (d) write the code
-
21.🔀 What does this sign-up rule show?
let age = 14;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 22.🔢 In a food-order flow, what comes right after “add it to the cart”? (a) open the menu (b) check the cart (c) pay for the order (d) track the order
- 23.True or false: a website updates from the store. (a) True (b) False
-
24.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 44; // start at 44
line 2: score = score + 2; // add 2
line 3: score = score + 3; // take away 3
line 4: score = score + 2; // add 2
line 5: show(score); // show it -
25.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Help button: 36 px tall
Start button: 72 px tall
Send button: 48 px tall
Cancel button: 60 px tall (a) Send (b) Cancel (c) Start (d) Help - 26.🔍 Which is the odd one out? (a) a water reminder (b) a sleep tracker (c) an alarm clock (d) a step counter
- 27.🧩 Which part lets the user give the app information? (a) a title (b) an icon (c) a logo (d) an input
- 28.🗒️ Why keep version 1 small? (a) to look bigger (b) to use up storage (c) to confuse users (d) to learn from users soon
- 29.🗒️ 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
- 30.🔢 After an app is released, what comes right after “test it again”? (a) list what to fix (b) fix and improve (c) release an update (d) read user reviews
-
31.🧪 What is the ACTUAL result of Test 2?
🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
function delivery(total) {
if (total > 800) {
return 0;
}
return 40;
}
Test 1: delivery(600) → expected 40
Test 2: delivery(1200) → expected 0
Test 3: delivery(1100) → expected 0 - 32.True or false: a final design has no real colours. (a) True (b) False
- 33.🔍 Which is the odd one out? (a) taking a photo (b) speaking a command (c) tapping a button (d) working out a tip
- 34.🎯 Which app would help this user most: a pupil juggling five projects? (a) a bus tracker (b) a homework planner (c) a recipe finder (d) a big-text reader
- 35.🔢 In a sign-up flow, which comes first: “open the app” or “tap “Sign up””? (a) open the app (b) tap “Sign up”
- 36.✏️ Why draw a wireframe before coding? (a) it saves data (b) it adds colours (c) it runs the app (d) changes are quick
-
37.🧩 How many buttons does this app screen have?
[title] New Note
[switch] Sound
[button] Send
[text box] City
[button] Start
[button] Help - 38.Which of these is an input? (a) tapping a button (b) a pop-up message (c) a buzz (vibration) (d) checking a password
-
39.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(1) + points(2)); - 40.💡 A good app idea starts with ___. (a) a cool logo (b) a long name (c) many colours (d) a problem to solve
Answer key
- Silver
- nurses
- line 3
- Hi, Meera!
- True
- 2
- an app
- 3
- export to a file
- 13
- plan the screens
- how many items it has
- Yes
- how fast a task is done
- read a question
- add the buttons
- 100
- a page of random dots
- False
- try every button
- Welcome!
- check the cart
- False
- 51
- Help
- an alarm clock
- an input
- to learn from users soon
- share tasks to friends
- release an update
- 0
- False
- working out a tip
- a homework planner
- open the app
- changes are quick
- 3
- tapping a button
- 40
- a problem to solve
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students