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: how users feel after is about UX (the experience). (a) True (b) False
-
2.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total > 400) {
return 0;
}
return 40;
}
Test 1: delivery(400) → expected 0
Test 2: delivery(650) → expected 0
Test 3: delivery(350) → expected 40 (a) Test 2 (b) Test 1 (c) Test 3 -
3.💾 pop() takes off the last item. What does this code show?
let friends = ["Riya", "Kabir", "Zoya", "Aman"];
friends.pop();
show(friends[friends.length - 1]); (a) Zoya (b) Riya (c) Kabir (d) Aman - 4.🚀 Which version is newer: 3.3.2 or 3.10.2? (a) 3.10.2 (b) 3.3.2
- 5.💾 Where should the app save photos on two devices: on the phone or in the cloud? (a) on the phone (b) in the cloud
-
6.🔀 What does this sign-up rule show?
let age = 9;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 7.✏️ What is a wireframe? (a) a charging cable (b) a type of password (c) the finished app (d) a simple screen sketch
-
8.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Label: 20 px
Body text: 18 px
Footer: 14 px
Menu: 22 px - 9.🔢 In a photo-post flow, what comes right after “take the photo”? (a) open the camera screen (b) write a caption (c) add a filter (d) post the photo
-
10.🔁 What number does this code show?
let marks = [16, 12, 12, 6, 19];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); - 11.🎯 Who are the users of an app? (a) the people who use it (b) the app icons (c) only the testers (d) only the coders
- 12.Which of these is true of a final design? (a) uses the final pictures (b) is a quick sketch (c) shows where things go (d) has no real colours
-
13.🖼️ How many parts (boxes) does this wireframe have?
[ menu icon ]
[ tab bar ]
[ top bar ]
[ Add button ]
[ filter buttons ]
[ big picture ] - 14.🧰 In function tip(bill), what is bill? (a) a parameter (b) a screen (c) a loop (d) an event
- 15.Which of these is an output? (a) adding up a bill (b) working out a tip (c) sorting the scores (d) a beep sound
- 16.Which of these is true of an app? (a) opens from a link (b) opens in a web browser (c) has a home-screen icon (d) needs no installing
- 17.Which of these happens at the release stage? (a) draw the user flow (b) put it on an app store (c) pick the features (d) connect the data
-
18.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 30; // start at 30
line 2: coins = coins + 2; // double it
line 3: coins = coins - 4; // take away 4
line 4: coins = coins * 2; // double it
line 5: show(coins); // show it (a) line 1 (b) line 4 (c) line 3 (d) line 2 -
19.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Shop → Pens → Menu
Design B: Home → Offers → Shop → Cart → Pens (a) Design A (b) Design B -
20.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Save button: 56 px tall
Back button: 40 px tall
Next button: 56 px tall
Start button: 52 px tall - 21.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
-
22.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Riya", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Aman (c) Hi, Arjun - 23.♿ What does a screen reader do? (a) reads the screen aloud (b) makes text tiny (c) takes photos (d) plays music
- 24.👥 A school app has 60 students, 35 teachers and 95 parents as users. How many more students than teachers are there?
-
25.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Home tab
2. tap the Search tab
3. open “Badges”
4. open “Match report”
5. tap Back
How many times must you tap Back to reach the main screen of this tab? - 26.♿ Does this help everyone, or make the app harder to use: labels on every icon? (a) makes it harder (b) helps everyone
-
27.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(3) + points(5)); -
28.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Riya", "Aman", "Zoya", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Kabir (c) Hi, Aman (d) Hi, Riya - 29.👆 What kind of event is this: one second passes? (a) a load event (b) a tap event (c) a timer event (d) a text event
- 30.Which of these happens at the plan stage? (a) write the store text (b) draw the user flow (c) talk to possible users (d) try every button
- 31.🎯 A short made-up profile of a typical user is called a ___. (a) pixel (b) persona (c) password (d) protocol
- 32.True or false: the search box changes is a tap event. (a) False (b) True
- 33.♿ Why add captions to videos? (a) to slow them down (b) so anyone can follow (c) to add colour (d) to hide the sound
- 34.True or false: a page of random dots solves a real problem. (a) False (b) True
- 35.🚀 Which version is newer: 1.1.8 or 1.1.16? (a) 1.1.8 (b) 1.1.16
- 36.🐞 Finding and fixing bugs is called ___. (a) designing (b) decorating (c) downloading (d) debugging
- 37.🔍 Which is the odd one out? (a) captions on videos (b) strong colour contrast (c) text that can grow (d) fast-flashing lights
- 38.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a big-text reader (b) a bus tracker (c) a homework planner (d) a recipe finder
-
39.🧩 How many buttons does this app screen have?
[title] Order Snacks
[button] Save
[slider] Text size
[text box] Name
[button] Cancel
[button] Back
[text box] Age - 40.True or false: the user taps Play is a tap event. (a) False (b) True
Answer key
- True
- Test 1
- Zoya
- 3.10.2
- in the cloud
- Ask a parent
- a simple screen sketch
- 1
- add a filter
- 19
- the people who use it
- uses the final pictures
- 6
- a parameter
- a beep sound
- has a home-screen icon
- put it on an app store
- line 2
- Design A
- 3
- an app
- Hi, Aman
- reads the screen aloud
- 25
- 1
- helps everyone
- 90
- Hi, Kabir
- a timer event
- draw the user flow
- persona
- False
- so anyone can follow
- False
- 1.1.16
- debugging
- fast-flashing lights
- a homework planner
- 3
- True
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students