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.True or false: a clear word like Save is good button design. (a) True (b) False
- 2.🧩 What does a button do when you tap it? (a) starts an action (b) shows the time (c) changes the phone (d) saves the battery
- 3.🔁 What does a loop do? (a) draws icons (b) saves photos (c) repeats code (d) deletes code
- 4.True or false: a class leaderboard fits saving on the phone. (a) True (b) False
- 5.🧩 What do we call one full page of an app? (a) a screen (b) a battery (c) a variable (d) a cable
- 6.✏️ Why draw a wireframe before coding? (a) it adds colours (b) it saves data (c) changes are quick (d) it runs the app
-
7.🔁 What number does this code show?
let marks = [39, 42, 11];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 50) {
count = count + 1;
}
}
show(count); -
8.💾 What number does this code show?
let songs = ["Kites", "Rain"];
songs.push("Sunrise");
songs.push("Ocean");
show(songs.length); -
9.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(3) + points(3)); -
10.👆 The user taps the button 5 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 3) {
likes = likes + 1;
}
label.text = likes;
}; - 11.True or false: notes to read offline fits saving on the phone. (a) True (b) False
-
12.🔀 What does this sign-up rule show?
let age = 13;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
13.📊 Survey: which problem bugs you most? Which problem should your app solve first?
missing the bus: 10 votes
wasting pocket money: 3 votes
forgetting homework: 17 votes (a) forgetting homework (b) missing the bus (c) wasting pocket money -
14.👆 The user taps the button 7 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) ON (b) OFF -
15.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Pens → Pay → Address → Menu
Design B: Home → Address → Pay → Results - 16.🔍 Which is the odd one out? (a) the button colours (b) the theme colours (c) the screen layout (d) how users feel after
- 17.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
-
18.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Match report”
2. tap the Me tab
3. open “Video”
Which screen are you on now? (a) Quiz (b) Lessons (c) Video (d) Match report -
19.💾 What does this code show? (Positions start at 0.)
let notes = ["Science", "Art", "Music", "Sports", "Maths"];
show(notes[1]); (a) Sports (b) Art (c) Science (d) Music - 20.👥 A cricket club app has 50 players, 110 coaches and 280 fans as users. How many more fans than players are there?
- 21.👥 A library app has 60 readers, 105 librarians and 25 volunteers as users. How many more librarians than volunteers are there?
- 22.👆 What kind of event is this: a finger hits Like? (a) a text event (b) a tap event (c) a timer event (d) a load event
-
23.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Order Snacks
[switch] Remind me
[button] Help
[text box] Subject
[text box] Age
[text box] Email
[button] Send
[button] Next -
24.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] New Note
[button] Cancel
[switch] Show hints
[button] Start
[text box] Name
[text box] Due date
[button] Help -
25.🧩 How many buttons does this app screen have?
[title] Sign Up
[button] Back
[text box] Due date
[text box] Email
[switch] Dark mode
[text box] Subject
[button] Send -
26.🧪 What is the ACTUAL result of Test 1?
🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
function delivery(total) {
if (total > 600) {
return 0;
}
return 40;
}
Test 1: delivery(700) → expected 0
Test 2: delivery(850) → expected 0
Test 3: delivery(400) → expected 40 - 27.🔢 In a quiz-app flow, which comes LAST? (a) tap “Start quiz” (b) read a question (c) pick an answer (d) see the final score
-
28.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hi, " + nameBox.text + "!";
}; (a) Hi, nameBox.text! (b) Hi, Riya! (c) Riya (d) Hi! -
29.🚀 Which of these versions is the OLDEST?
2.5.9, 1.22.5, 2.11.5, 2.2.3 (a) 2.2.3 (b) 2.5.9 (c) 1.22.5 (d) 2.11.5 - 30.🔍 Which is the odd one out? (a) a cricket run chase (b) a puzzle with levels (c) a times-table quiz (d) a racing challenge
- 31.🔐 Is this permission request fair or too much: torch → contacts? (a) fair (b) too much
- 32.🔁 list.length tells you ___. (a) the last item (b) how many items it has (c) the first item (d) the biggest item
-
33.📊 Survey: which problem bugs you most? Which problem should your app solve first?
wasting pocket money: 11 votes
forgetting homework: 23 votes
losing water bottles: 5 votes (a) losing water bottles (b) forgetting homework (c) wasting pocket money - 34.Which of these is an input? (a) sorting the scores (b) a buzz (vibration) (c) a pop-up message (d) typing your age
- 35.🔢 In a quiz-app flow, what comes right after “pick an answer”? (a) see the final score (b) read a question (c) tap “Start quiz” (d) see if it is right
-
36.🗒️ Version 1 of a bus tracker must be ready in 10 days. How many days are left for extras after the must-haves?
see where the bus is: 4 days
show arrival time: 1 days
pick your bus stop: 4 days - 37.♿ A screen has 11 icon buttons. Only 7 of them have a text label for screen readers. How many still need a label?
-
38.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 46; // start at 46
line 2: points = points - 3; // take away 2
line 3: points = points + 2; // add 2
line 4: show(points); // show it - 39.Which of these is true of a tab bar? (a) shows 3 to 5 icons (b) goes to the last screen (c) hides extra links (d) undoes one move
- 40.🔍 Which is the odd one out? (a) speaking a command (b) a result on screen (c) typing your age (d) taking a photo
Answer key
- True
- starts an action
- repeats code
- False
- a screen
- changes are quick
- 0
- 4
- 70
- 3
- True
- Welcome!
- forgetting homework
- ON
- 4
- how users feel after
- No
- Video
- Art
- 230
- 80
- a tap event
- 4
- 3
- 2
- 0
- see the final score
- Hi, Riya!
- 1.22.5
- a times-table quiz
- too much
- how many items it has
- forgetting homework
- typing your age
- see if it is right
- 1
- 4
- 46
- shows 3 to 5 icons
- a result on screen
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students