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.🔁 What number does this code show?
let marks = [10, 19, 7, 18];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 2.🔢 In a sign-up flow, which comes first: “open the app” or “type name and email”? (a) type name and email (b) open the app
- 3.🔀 What is a user flow? (a) a colour theme (b) the path through screens (c) a type of font (d) a charging cable
- 4.🌗 Is black on yellow easy or hard to read on a button? (a) hard to read (b) easy to read
- 5.🧪 A test case is an input together with its ___. (a) app icon (b) screen colour (c) font size (d) expected result
- 6.Which of these happens at the idea stage? (a) let friends try it (b) list what users need (c) write down the bugs (d) write the store text
-
7.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hello, " + nameBox.text + "!";
}; (a) Meera (b) Hello, nameBox.text! (c) Hello! (d) Hello, Meera! -
8.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 46; // start at 46
line 2: coins = coins * 2; // double it
line 3: coins = coins + 6; // add 6
line 4: coins = coins + 2; // double it
line 5: show(coins); // show it (a) line 3 (b) line 1 (c) line 4 (d) line 2 - 9.👥 A cricket club app has 185 players, 205 coaches and 160 fans as users. Which user group is the biggest? (a) players (b) coaches (c) fans
- 10.💡 Does an app idea like a blank grey screen solve a real problem? (a) No (b) Yes
-
11.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 41; // start at 41
line 2: stars = stars - 2; // take away 2
line 3: stars = stars + 7; // add 4
line 4: stars = stars * 2; // double it
line 5: show(stars); // show it - 12.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 3 (c) 0, 1, 2, 3 (d) 0, 1, 2
-
13.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Match report”
2. tap Back
3. open “Video”
4. tap the Me tab
Which screen are you on now? (a) Video (b) Me (c) Lessons (d) Match report - 14.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) show the balance (c) savings stickers (d) add money spent
-
15.🖼️ In this wireframe (top to bottom), what is right below the title text?
[ title text ]
[ big picture ]
[ menu icon ]
[ top bar ] (a) menu icon (b) top bar (c) big picture - 16.🔐 Which permission does a selfie sticker app really need? (a) contacts (b) the microphone (c) the camera (d) location
-
17.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 50; // start at 50
line 2: coins = coins + 6; // add 6
line 3: coins = coins * 3; // double it
line 4: show(coins); // show it (a) line 2 (b) line 3 (c) line 1 -
18.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Body text: 23 px
Hint: 10 px
Title: 17 px
Label: 18 px (a) Hint (b) Body text (c) Title (d) Label - 19.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a homework planner (b) a lost-and-found board (c) a study-room finder (d) a medicine reminder
- 20.True or false: you connect the data at the build stage. (a) True (b) False
-
21.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting homework: 16 votes
no quiet study place: 5 votes
losing water bottles: 23 votes (a) forgetting homework (b) losing water bottles (c) no quiet study place - 22.True or false: a website has a home-screen icon. (a) False (b) True
- 23.🚀 Which version is newer: 1.4.2 or 1.4.18? (a) 1.4.2 (b) 1.4.18
-
24.💾 What number does this code show?
let score = 5;
score = score - 2;
score = score + 2;
show(score); -
25.🖼️ In this wireframe (top to bottom), what is right below the search box?
[ search box ]
[ top bar ]
[ menu icon ]
[ Save button ] (a) Save button (b) menu icon (c) top bar - 26.🔍 Which is the odd one out? (a) a unit converter (b) an alarm clock (c) a puzzle with levels (d) a torch
- 27.True or false: an app that just says hi solves a real problem. (a) True (b) False
- 28.🔍 Which is the odd one out? (a) sorting the scores (b) checking a password (c) working out a tip (d) a beep sound
- 29.True or false: a big-text reader is the best fit for a grandparent with weak eyesight. (a) False (b) True
-
30.🔁 What is the LAST line this code shows?
let names = ["Aman", "Arjun", "Riya", "Zoya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Riya (c) Hi, Zoya (d) Hi, Aman -
31.👆 The user taps the button 6 times. What number does the label show now?
let lives = 8;
button.onTap = function () {
lives = lives + 1;
label.text = lives;
}; - 32.✏️ What is a wireframe? (a) a charging cable (b) a type of password (c) a simple screen sketch (d) the finished app
- 33.True or false: “text that can grow” makes the app harder to use. (a) True (b) False
- 34.🎨 UI stands for user ___. (a) idea (b) internet (c) input (d) interface
- 35.📅 An app team plans for 2 days, builds for 6 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
-
36.🔁 What number does this code show?
let steps = [44, 91, 40];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 60) {
count = count + 1;
}
}
show(count); -
37.💾 What number does this code show?
let friends = ["Riya", "Zoya", "Kabir"];
friends.push("Arjun");
friends.push("Aman");
show(friends.length); - 38.📲 What happens when you tap an app’s icon? (a) the app opens (b) the app is deleted (c) the sound turns off (d) the phone charges
- 39.True or false: today’s step count is an input. (a) True (b) False
- 40.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a bus tracker (b) a recipe finder (c) a homework planner (d) a water reminder
Answer key
- 54
- open the app
- the path through screens
- easy to read
- expected result
- list what users need
- Hello, Meera!
- line 4
- coaches
- No
- 92
- 0, 1, 2
- Me
- savings stickers
- big picture
- the camera
- line 3
- Hint
- a study-room finder
- True
- losing water bottles
- False
- 1.4.18
- 5
- top bar
- a puzzle with levels
- False
- a beep sound
- True
- Hi, Zoya
- 14
- a simple screen sketch
- False
- interface
- 10
- 1
- 5
- the app opens
- False
- a homework planner
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students