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.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 44; // start at 44
line 2: coins = coins - 5; // take away 5
line 3: coins = coins - 3; // add 3
line 4: show(coins); // show it -
2.🔀 What number does this shop app show?
let total = 800;
if (total > 500) {
total = total - 50;
}
show(total); -
3.⚙️ What number does this app show?
let km = 8; // typed by the user
let metres = km * 1000;
show(metres); - 4.True or false: checking a password is an input. (a) True (b) False
- 5.🌗 Is black on yellow easy or hard to read on a button? (a) easy to read (b) hard to read
- 6.🔘 Is this good or poor button design: space between buttons? (a) poor design (b) good design
- 7.🐞 Finding and fixing bugs is called ___. (a) downloading (b) decorating (c) debugging (d) designing
-
8.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting homework: 22 votes
no quiet study place: 17 votes
missing the bus: 14 votes (a) missing the bus (b) no quiet study place (c) forgetting homework - 9.🌐 Which program do you need to open a website? (a) a calculator (b) a web browser (c) an app store (d) a camera app
- 10.📱 Which one opens from a link: an app or a website? (a) a website (b) an app
-
11.🔁 What number does this code show?
let scores = [87, 67, 56];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 60) {
count = count + 1;
}
}
show(count); -
12.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Settings tab
2. tap the Feed tab
3. open “Match report”
4. open “Score card”
How many times must you tap Back to reach the main screen of this tab? -
13.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 49; // start at 49
line 2: points = points * 2; // double it
line 3: points = points + 2; // double it
line 4: points = points * 2; // double it
line 5: show(points); // show it - 14.🛠️ At which stage do you try every button? (a) the release stage (b) the idea stage (c) the build stage (d) the test stage
-
15.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Profile tab
2. open “Match report”
3. open “Match report”
How many times must you tap Back to reach the main screen of this tab? -
16.🔀 What number does this shop app show?
let total = 330;
if (total > 500) {
total = total - 50;
}
show(total); -
17.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 60; // typed by the user
line 2: let friends = 2; // 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 -
18.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Quiz tab
2. open “Video”
3. open “Match report”
4. tap the Me tab
5. open “Badges”
Which screen are you on now? (a) Video (b) Lessons (c) Match report (d) Badges - 19.🚀 Which version is newer: 2.0.6 or 2.0.12? (a) 2.0.12 (b) 2.0.6
- 20.🔢 After an app is released, what comes right after “read user reviews”? (a) release an update (b) list what to fix (c) test it again (d) fix and improve
-
21.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “losing water bottles”?
missing the bus: 8 votes
losing water bottles: 6 votes
wasting pocket money: 7 votes - 22.True or false: how users feel after is about UI (the look). (a) False (b) True
-
23.🖼️ In this wireframe (top to bottom), what is right above the Add button?
[ title text ]
[ search box ]
[ Save button ]
[ Add button ] (a) search box (b) title text (c) Save button -
24.🔀 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! - 25.👥 A school app has 140 students, 60 teachers and 205 parents as users. How many users does it have in all?
- 26.🔀 In this course’s code, which sign tests “is equal to”? (a) !== (b) === (c) = (d) =>
- 27.Which of these is true of a menu button? (a) undoes one move (b) opens a list of pages (c) sits at the bottom (d) goes to the last screen
- 28.True or false: the button colours is about UX (the experience). (a) True (b) False
-
29.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Address → Results
Design B: Home → Shop → Search → Confirm → Pens → Pay → Item - 30.🔢 When you make an app, which comes first: “test the app” or “plan the screens”? (a) plan the screens (b) test the app
- 31.🧭 Where is a tab bar usually placed in a phone app? (a) nowhere (b) in the middle (c) at the bottom (d) inside a button
- 32.🗒️ What is a must-have feature? (a) a sound effect (b) one the app cannot skip (c) a colour theme (d) a nice extra
-
33.🧩 Which of these is a button on this screen?
[title] Sign Up
[button] Next
[slider] Text size
[button] Send
[text box] City (a) Send (b) City (c) Text size - 34.♿ Showing right or wrong only in red and green is a problem for ___. (a) the server (b) colour-blind users (c) fast typists (d) the battery
- 35.⚙️ In an app, is checking a password an input, processing or an output? (a) input (b) processing (c) output
-
36.🔁 What number does this code show?
let marks = [7, 18, 9, 1, 10];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); -
37.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Pens → Menu
Design B: Home → Search → Item → Menu → Pens → Results -
38.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 41; // start at 41
line 2: stars = stars - 3; // take away 3
line 3: stars = stars - 5; // take away 3
line 4: show(stars); // show it (a) line 2 (b) line 1 (c) line 3 - 39.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) see where the bus is (b) show arrival time (c) rate the driver (d) pick your bus stop
- 40.📅 An app team plans for 2 days, builds for 4 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
Answer key
- 42
- 750
- 8000
- False
- easy to read
- good design
- debugging
- forgetting homework
- a web browser
- a website
- 2
- 2
- 392
- the test stage
- 2
- 330
- line 3
- Badges
- 2.0.12
- list what to fix
- 2
- False
- Save button
- Welcome!
- 405
- ===
- opens a list of pages
- False
- 4
- plan the screens
- at the bottom
- one the app cannot skip
- Send
- colour-blind users
- processing
- 18
- 3
- line 3
- rate the driver
- 6
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students