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.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Badges”
2. tap the Profile tab
3. open “Video”
Which screen are you on now? (a) Video (b) Badges (c) Search (d) Home - 2.⚙️ In an app, is speaking a command an input, processing or an output? (a) output (b) processing (c) input
- 3.True or false: a step counter is a health app. (a) False (b) True
- 4.🔍 Which is the odd one out? (a) sudden loud sounds (b) colour as the only clue (c) icons with no labels (d) strong colour contrast
- 5.Which of these is true of an app? (a) has a web address (b) has a home-screen icon (c) opens from a link (d) opens in a web browser
- 6.🛠️ At which stage do you share the download link? (a) the idea stage (b) the test stage (c) the plan stage (d) the release stage
-
7.💾 What does this code show? (Positions start at 0.)
let friends = ["Riya", "Arjun", "Kabir"];
show(friends[2]); (a) Kabir (b) Arjun (c) Riya -
8.👆 The user taps the button 8 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 2) {
likes = likes + 1;
}
label.text = likes;
}; -
9.🔁 What number does this code show?
let marks = [19, 16, 2];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); -
10.🗒️ Version 1 of a homework planner must be ready in 8 days. How many days are left for extras after the must-haves?
add a homework task: 3 days
set a due date: 1 days
see tasks by day: 4 days - 11.🔀 When does the else part run? (a) when the test is false (b) when the test is true (c) never (d) always
- 12.🔀 A screen with no way forward or back is called a ___. (a) tab bar (b) home screen (c) shortcut (d) dead end
-
13.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Riya", "Meera", "Aman", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Riya (c) Hi, Kabir (d) Hi, Meera - 14.🔢 In a photo-post flow, what comes right after “take the photo”? (a) post the photo (b) add a filter (c) write a caption (d) open the camera screen
- 15.🔘 Is this good or poor button design: a clear word like Save? (a) poor design (b) good design
- 16.True or false: a medicine reminder solves no real problem. (a) True (b) False
- 17.👥 A cricket club app has 30 players, 65 coaches and 275 fans as users. How many users does it have in all?
-
18.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Settings
[text box] Age
[button] Next
[text box] Subject
[button] Start - 19.🧩 Which part lets the user give the app information? (a) an icon (b) a title (c) an input (d) a logo
- 20.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) on the phone (b) in the cloud
- 21.🔐 Is this permission request fair or too much: torch → contacts? (a) fair (b) too much
- 22.True or false: your saved notes is an input. (a) False (b) True
-
23.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Pens → Item → Menu
Design B: Home → Offers → Pens → Pay → Menu → Search → Shop -
24.🧪 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(650) → expected 0
Test 2: delivery(600) → expected 0
Test 3: delivery(400) → expected 40 -
25.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age <= 13) {
return 50;
}
return 100;
}
Test 1: price(19) → expected 100
Test 2: price(9) → expected 50
Test 3: price(13) → expected 100 (a) Test 3 (b) Test 2 (c) Test 1 -
26.🖼️ In this wireframe (top to bottom), what is right above the big picture?
[ top bar ]
[ big picture ]
[ list of items ]
[ search box ]
[ Save button ]
[ menu icon ] (a) Save button (b) menu icon (c) search box (d) top bar -
27.🔀 What does this battery rule show?
let battery = 62;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery -
28.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Me tab
2. open “Friend list”
3. open “Help page”
Which screen are you on now? (a) Lessons (b) Friend list (c) Help page (d) Quiz -
29.📊 Survey: which problem bugs you most? How many students voted in all?
forgetting birthdays: 7 votes
no quiet study place: 23 votes
wasting pocket money: 16 votes - 30.Which of these is a button? (a) the home page of an app (b) the game-over page (c) the settings page (d) tap to Send
- 31.🔘 Our rule: buttons are at least 48 px tall. The Done button is 36 px tall. How many px taller must it be?
- 32.👥 A clinic app has 190 patients, 25 doctors and 45 nurses as users. Which user group is the biggest? (a) nurses (b) patients (c) doctors
-
33.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ menu icon ]
[ title text ]
[ filter buttons ]
[ top bar ]
[ Save button ] (a) filter buttons (b) title text (c) top bar (d) Save button - 34.Which of these is a screen? (a) tap to Save (b) tap to Start (c) the log-in page (d) a box to type a name
-
35.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 35; // start at 34
line 2: lives = lives + 5; // add 5
line 3: lives = lives * 2; // double it
line 4: lives = lives + 6; // add 6
line 5: show(lives); // show it (a) line 4 (b) line 3 (c) line 1 (d) line 2 - 36.💾 Where should the app save your last game level: on the phone or in the cloud? (a) on the phone (b) in the cloud
- 37.🧪 A test case is an input together with its ___. (a) app icon (b) font size (c) screen colour (d) expected result
-
38.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 234; // typed by the user
line 2: let friends = 3; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 3 (b) line 1 (c) line 4 (d) line 2 - 39.🧭 Which part of navigation undoes one move? (a) a menu button (b) the back button (c) a tab bar
- 40.🔢 When you make an app, which comes first: “release it” or “test the app”? (a) test the app (b) release it
Answer key
- Video
- input
- True
- strong colour contrast
- has a home-screen icon
- the release stage
- Kabir
- 2
- 19
- 0
- when the test is false
- dead end
- Hi, Kabir
- add a filter
- good design
- False
- 370
- 2
- an input
- in the cloud
- too much
- False
- 3
- 0
- Test 3
- top bar
- Battery OK
- Help page
- 46
- tap to Send
- 12
- patients
- Save button
- the log-in page
- line 1
- on the phone
- expected result
- line 3
- the back button
- test the app
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students