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 part of navigation hides extra links? (a) a menu button (b) a tab bar (c) the back button
- 2.🚀 Your app is at version 4.5.9. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.6.0 (b) 5.0.0 (c) 4.6.9 (d) 4.5.10
-
3.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Map”
2. tap Back
3. tap the Lessons tab
4. open “Match report”
Which screen are you on now? (a) Quiz (b) Map (c) Match report (d) Lessons -
4.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Shop → Pay → Results → Search → Cart
Design B: Home → Item → Size → Search - 5.🎯 Who are the users of an app? (a) the app icons (b) only the coders (c) only the testers (d) the people who use it
-
6.⚙️ What number does this app show?
let price = 340; // typed by the user
let off = 10; // typed by the user
let pay = price - off;
show(pay); - 7.✏️ A box with a cross in a wireframe usually means ___. (a) an error (b) delete this (c) a picture goes here (d) a closed app
- 8.🎯 Is this a user need or a feature: “What should I cook?”? (a) a user need (b) a feature
-
9.🧪 What is the ACTUAL result of Test 1?
🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
function price(age) {
if (age <= 11) {
return 50;
}
return 100;
}
Test 1: price(18) → expected 100
Test 2: price(9) → expected 50
Test 3: price(15) → expected 100 - 10.🔀 In this course’s code, which sign tests “is equal to”? (a) = (b) !== (c) === (d) =>
-
11.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Arjun")); (a) Arjun (b) Hi, Arjun! (c) Hi, name! (d) greet - 12.🔢 When you make an app, which comes first: “get an idea” or “build the app”? (a) build the app (b) get an idea
-
13.🔁 What number does this code show?
let marks = [85, 28, 68, 96];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 40) {
count = count + 1;
}
}
show(count); - 14.True or false: tap to Save is a button. (a) False (b) True
-
15.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 48; // start at 47
line 2: coins = coins - 3; // take away 3
line 3: coins = coins - 1; // take away 1
line 4: coins = coins - 5; // take away 5
line 5: show(coins); // show it -
16.🔁 What number does this code show?
let scores = [38, 66, 12];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 70) {
count = count + 1;
}
}
show(count); - 17.🔐 Is this permission request fair or too much: camera app → camera? (a) too much (b) fair
- 18.True or false: a word battle is a learning app. (a) True (b) False
- 19.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) add more colours (c) find where it goes wrong (d) buy a new phone
- 20.💾 What is a variable? (a) a picture (b) a phone setting (c) a type of screen (d) a named box for a value
- 21.Which of these makes the app harder to use? (a) labels on every icon (b) fast-flashing lights (c) big touch targets (d) text that can grow
- 22.🔢 In a sign-up flow, which comes LAST? (a) make a password (b) enter the code sent (c) open the app (d) see the home screen
- 23.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) savings stickers (c) add money spent (d) pie-chart colours
- 24.🔘 Our rule: buttons are at least 48 px tall. The Back button is 36 px tall. How many px taller must it be?
-
25.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 35; // start at 35
line 2: score = score - 4; // take away 3
line 3: score = score * 2; // double it
line 4: score = score + 3; // add 3
line 5: show(score); // show it -
26.💾 What number does this code show?
let coins = 3;
coins = coins - 1;
coins = coins + 1;
show(coins); - 27.🚀 In version 2.5.1, which number is the major version? (a) 1 (b) 5 (c) 251 (d) 2
-
28.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right > 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(5) → expected Pass
Test 2: result(4) → expected Try again
Test 3: result(7) → expected Pass (a) Test 1 (b) Test 3 (c) Test 2 - 29.💡 A good app idea starts with ___. (a) a long name (b) many colours (c) a cool logo (d) a problem to solve
-
30.🔁 What number does this code show?
let scores = [18, 4, 20];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 31.🐞 After fixing a bug you should ___. (a) release at once (b) test it again (c) delete the test (d) never test
- 32.Which of these helps everyone use the app? (a) icons with no labels (b) sudden loud sounds (c) strong colour contrast (d) fast-flashing lights
- 33.True or false: a bus tracker needs the camera. (a) False (b) True
- 34.♿ A screen has 10 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
-
35.🔀 What does this sign-up rule show?
let age = 15;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 36.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show the score (b) check the answer (c) show a question (d) confetti effects
-
37.🧪 What is the ACTUAL result of Test 3?
🚚 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(500) → expected 40
Test 2: delivery(800) → expected 0
Test 3: delivery(700) → expected 0 - 38.True or false: an app comes from an app store. (a) True (b) False
-
39.🖼️ In this wireframe (top to bottom), what is right above the Add button?
[ menu icon ]
[ tab bar ]
[ search box ]
[ Add button ] (a) search box (b) tab bar (c) menu icon - 40.Which of these is true of a website? (a) has a home-screen icon (b) is installed on a phone (c) has a web address (d) updates from the store
Answer key
- a menu button
- 5.0.0
- Match report
- 5
- the people who use it
- 330
- a picture goes here
- a user need
- 100
- ===
- Hi, Arjun!
- get an idea
- 3
- True
- 38
- 0
- fair
- False
- find where it goes wrong
- a named box for a value
- fast-flashing lights
- see the home screen
- add money spent
- 12
- 67
- 3
- 2
- Test 1
- a problem to solve
- 20
- test it again
- strong colour contrast
- False
- 6
- Welcome!
- confetti effects
- 40
- True
- search box
- has a web address
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students