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 app idea solves this problem: Grandpa forgets his tablets? (a) a bill splitter (b) a study-room finder (c) a lost-and-found board (d) a medicine reminder
-
2.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Pay → Results → Cart → Pens
Design B: Home → Results → Pay → Confirm → Shop → Item - 3.🔢 In a quiz-app flow, which comes FIRST? (a) pick an answer (b) read a question (c) see if it is right (d) tap “Start quiz”
- 4.📱 Which one comes from an app store: an app or a website? (a) an app (b) a website
- 5.✏️ Do wireframes usually show the final colours? (a) No (b) Yes
- 6.True or false: a final design uses the final pictures. (a) False (b) True
-
7.🧪 What is the ACTUAL result of Test 1?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age <= 8) {
return 50;
}
return 100;
}
Test 1: price(8) → expected 100
Test 2: price(12) → expected 100
Test 3: price(4) → expected 50 - 8.🔍 Which is the odd one out? (a) the button colours (b) the font size (c) whether users get lost (d) the icon shapes
- 9.👥 A school app has 115 students, 195 teachers and 100 parents as users. Which user group is the biggest? (a) teachers (b) parents (c) students
-
10.⚙️ What number does this app show?
let price = 60; // typed by the user
let qty = 3; // typed by the user
let total = price * qty;
show(total); - 11.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
- 12.👆 What kind of event is this: the screen first opens? (a) a timer event (b) a load event (c) a text event (d) a tap event
- 13.Which of these makes the app harder to use? (a) big touch targets (b) labels on every icon (c) captions on videos (d) fast-flashing lights
- 14.🚀 Which version is newer: 1.5.3 or 1.16.2? (a) 1.16.2 (b) 1.5.3
-
15.🗒️ Version 1 of a homework planner must be ready in 13 days. How many days are left for extras after the must-haves?
add a homework task: 3 days
set a due date: 4 days
see tasks by day: 3 days - 16.✏️ Why draw a wireframe before coding? (a) it saves data (b) changes are quick (c) it adds colours (d) it runs the app
-
17.👆 The user taps the button 6 times. What number does the label show now?
let stars = 8;
button.onTap = function () {
stars = stars + 2;
label.text = stars;
}; - 18.🔍 Which is the odd one out? (a) fast-flashing lights (b) icons with no labels (c) sudden loud sounds (d) text that can grow
-
19.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Well done, nameBox.text! (b) Well done! (c) Well done, Aman! (d) Aman -
20.🔁 What number does this code show?
let runs = [2, 14, 13];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); - 21.⚙️ In an app, is sorting the scores an input, processing or an output? (a) input (b) processing (c) output
-
22.🔁 What number does this code show?
let marks = [6, 9, 1];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 23.Which of these app ideas solves a real problem? (a) a blank grey screen (b) an app that just says hi (c) a medicine reminder (d) a page of random dots
-
24.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Edit photo”
2. open “Match report”
3. open “Help page”
How many times must you tap Back to reach the main screen of this tab? -
25.🔁 What number does this code show?
let marks = [2, 19, 10];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); -
26.🔀 Which badge does this quiz app show?
let marks = 97;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Gold (c) Silver - 27.True or false: “colour as the only clue” helps everyone use the app. (a) False (b) True
- 28.True or false: a homework photo scanner needs your location. (a) True (b) False
- 29.True or false: tap to Save is a button. (a) False (b) True
-
30.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Title: 15 px
Body text: 15 px
Hint: 18 px
Label: 12 px
Caption: 23 px - 31.💾 Which can hold many values in order? (a) a single number (b) a switch (c) a button (d) a list
-
32.🧪 One test case fails. Which one?
🚚 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(700) → expected 40
Test 2: delivery(800) → expected 0
Test 3: delivery(850) → expected 0 (a) Test 2 (b) Test 3 (c) Test 1 -
33.🖼️ In this wireframe (top to bottom), what is right below the Save button?
[ big picture ]
[ Save button ]
[ top bar ]
[ title text ] (a) big picture (b) title text (c) top bar - 34.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a water reminder (b) a recipe finder (c) a homework planner (d) a pocket-money tracker
- 35.Which of these is true of a final design? (a) looks like the real app (b) is a quick sketch (c) shows where things go (d) uses plain grey boxes
- 36.True or false: typing your age is an input. (a) True (b) False
- 37.🔘 Our rule: buttons are at least 48 px tall. The Done button is 44 px tall. How many px taller must it be?
- 38.True or false: chat messages to friends fits saving in the cloud. (a) False (b) True
- 39.🔀 What does >= mean? (a) smaller or equal (b) less than (c) greater than or equal (d) not equal
- 40.👥 A clinic app has 290 patients, 115 doctors and 185 nurses as users. Which user group is the biggest? (a) patients (b) doctors (c) nurses
Answer key
- a medicine reminder
- 4
- tap “Start quiz”
- an app
- No
- True
- 50
- whether users get lost
- teachers
- 180
- hard to read
- a load event
- fast-flashing lights
- 1.16.2
- 3
- changes are quick
- 20
- text that can grow
- Well done, Aman!
- 29
- processing
- 16
- a medicine reminder
- 3
- 31
- Gold
- False
- False
- True
- 3
- a list
- Test 2
- top bar
- a pocket-money tracker
- looks like the real app
- True
- 4
- True
- greater than or equal
- patients
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students