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.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
-
2.🔁 What number does this code show?
let steps = [20, 18, 6, 9, 12];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); - 3.🧩 In an app, what is the log-in page? (a) a screen (b) an input (c) data (d) a button
- 4.💡 Does an app idea like a blank grey screen solve a real problem? (a) No (b) Yes
- 5.🔐 Which permission does a homework photo scanner really need? (a) the microphone (b) location (c) contacts (d) the camera
- 6.🗂️ What kind of app is a flashcard trainer? (a) a tool app (b) a health app (c) a learning app (d) a game
-
7.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 40; // start at 40
line 2: score = score * 2; // double it
line 3: score = score + 4; // add 4
line 4: score = score * 3; // double it
line 5: show(score); // show it - 8.💾 Where should the app save your last game level: on the phone or in the cloud? (a) on the phone (b) in the cloud
- 9.🔢 In a sign-up flow, what comes right after “open the app”? (a) type name and email (b) enter the code sent (c) see the home screen (d) tap “Sign up”
- 10.🎨 UI stands for user ___. (a) interface (b) internet (c) idea (d) input
-
11.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Cancel button: 32 px tall
Send button: 48 px tall
Next button: 56 px tall
Back button: 68 px tall (a) Next (b) Back (c) Cancel (d) Send -
12.🔁 What number does this code show?
let runs = [2, 11, 16, 18];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); - 13.🔁 list.length tells you ___. (a) the biggest item (b) the first item (c) the last item (d) how many items it has
-
14.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Zoya", "Meera", "Riya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Meera (c) Hi, Arjun (d) Hi, Riya - 15.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) pie-chart colours (c) show the balance (d) savings stickers
- 16.True or false: a flashcard trainer is a tool app. (a) True (b) False
- 17.Which of these is an input? (a) the settings page (b) tap to Start (c) the game-over page (d) a slider for volume
-
18.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 42; // start at 42
line 2: score = score - 5; // add 5
line 3: score = score * 2; // double it
line 4: score = score + 6; // add 6
line 5: show(score); // show it -
19.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 32; // start at 32
line 2: score = score + 5; // add 5
line 3: score = score - 6; // add 6
line 4: show(score); // show it - 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.👥 A cricket club app has 150 players, 25 coaches and 85 fans as users. How many more players than fans are there?
- 22.💡 Which is a problem statement? (a) “Make it fast” (b) “Use blue buttons” (c) “Kids forget homework” (d) “Add a logo”
- 23.Which of these helps everyone use the app? (a) colour as the only clue (b) fast-flashing lights (c) big touch targets (d) icons with no labels
-
24.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 32; // start at 31
line 2: score = score + 2; // add 2
line 3: score = score - 1; // take away 1
line 4: score = score + 5; // add 5
line 5: show(score); // show it - 25.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) helps everyone (b) makes it harder
- 26.Which of these is about UX (the experience)? (a) the font size (b) the button colours (c) how many taps it takes (d) the theme colours
- 27.True or false: you put it on an app store at the release stage. (a) False (b) True
- 28.🔢 In a photo-post flow, which comes LAST? (a) take the photo (b) open the camera screen (c) post the photo (d) add a filter
- 29.🔍 Which is the odd one out? (a) how users feel after (b) the font size (c) how many taps it takes (d) whether users get lost
-
30.👆 The user taps the button 3 times. What number does the label show now?
let points = 9;
button.onTap = function () {
points = points + 1;
label.text = points;
}; - 31.🔍 Which is the odd one out? (a) captions on videos (b) labels on every icon (c) icons with no labels (d) strong colour contrast
- 32.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a final design (b) a wireframe
- 33.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) tab bar (c) dead end (d) home screen
-
34.⚙️ What number does this app show?
let bill = 102; // typed by the user
let friends = 2; // typed by the user
let share = bill / friends;
show(share); - 35.True or false: a page of random dots solves a real problem. (a) False (b) True
- 36.📱 Which one comes from an app store: an app or a website? (a) an app (b) a website
- 37.True or false: how users feel after is about UX (the experience). (a) True (b) False
- 38.🧰 What is a function? (a) a named block of code (b) a type of phone (c) a list of colours (d) a screen size
- 39.True or false: you add the buttons at the build stage. (a) False (b) True
-
40.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Footer: 22 px
Title: 15 px
Menu: 24 px
Answer key
- an app
- 20
- a screen
- No
- the camera
- a learning app
- 252
- on the phone
- tap “Sign up”
- interface
- Cancel
- 47
- how many items it has
- Hi, Riya
- show the balance
- False
- a slider for volume
- 80
- 31
- in the cloud
- 65
- “Kids forget homework”
- big touch targets
- 37
- makes it harder
- how many taps it takes
- True
- post the photo
- the font size
- 12
- icons with no labels
- a final design
- dead end
- 51
- False
- an app
- True
- a named block of code
- True
- 1
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students