← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 52 · 40 questions
TalentJR

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. 1.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) add money received (c) pie-chart colours (d) show the balance
  2. 2.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Map”
    2. tap Back
    3. open “Score card”
    How many times must you tap Back to reach the main screen of this tab?
  3. 3.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 32; // start at 31
    line 2: score = score + 4; // add 4
    line 3: score = score + 3; // add 3
    line 4: score = score * 2; // double it
    line 5: show(score); // show it
    (a) line 2 (b) line 4 (c) line 3 (d) line 1
  4. 4.🔍 Which is the odd one out? (a) pick the features (b) spot a problem to solve (c) sketch the screens (d) draw the user flow
  5. 5.🎨 Is this about UI or UX: the theme colours? (a) UX (b) UI
  6. 6.📴 Which of these can often still work with no internet? (a) a new website (b) an installed app (c) a video call (d) an online search
  7. 7.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Back button: 56 px tall
    Done button: 52 px tall
    Help button: 44 px tall
  8. 8.🔁 What number does this code show?
    let scores = [19, 2, 13];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  9. 9.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 41; // start at 41
    line 2: stars = stars + 5; // add 5
    line 3: stars = stars + 3; // add 2
    line 4: show(stars); // show it
  10. 10.🧪 What is the ACTUAL result of Test 1?
    🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
    function price(age) {
      if (age < 14) {
        return 50;
      }
      return 100;
    }
    Test 1: price(14) → expected 100
    Test 2: price(16) → expected 100
    Test 3: price(12) → expected 50
  11. 11.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    missing the bus: 12 votes
    forgetting homework: 7 votes
    no quiet study place: 4 votes
    (a) no quiet study place (b) missing the bus (c) forgetting homework
  12. 12.Which of these is a feature? (a) “I forget my homework” (b) “I keep missing the bus” (c) “What should I cook?” (d) a dark mode switch
  13. 13.📅 An app team plans for 4 days, builds for 5 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  14. 14.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Start button: 48 px tall
    Back button: 56 px tall
    Help button: 72 px tall
    Done button: 32 px tall
    (a) Help (b) Start (c) Back (d) Done
  15. 15.True or false: the sound on/off setting fits saving in the cloud. (a) True (b) False
  16. 16.🔍 Which is the odd one out? (a) a beep sound (b) a buzz (vibration) (c) checking a password (d) a result on screen
  17. 17.⚙️ What number does this app show?
    let price = 490; // typed by the user
    let off = 40; // typed by the user
    let pay = price - off;
    show(pay);
  18. 18.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) FAQ (c) MVP (d) URL
  19. 19.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) in the cloud (b) on the phone
  20. 20.Which of these is a feature? (a) “What should I cook?” (b) “I keep missing the bus” (c) “I forget my homework” (d) a share button
  21. 21.🗒️ A to-do app with no “add a task” feature is ___. (a) well planned (b) missing a must-have (c) ready to release (d) a nice extra
  22. 22.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a pocket-money tracker (b) a water reminder (c) a homework planner (d) a bus tracker
  23. 23.📅 An app team plans for 5 days, builds for 9 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  24. 24.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a wireframe (b) a final design
  25. 25.🔁 What number does this code show?
    let scores = [10, 9, 7, 7];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  26. 26.🎯 Is this a user need or a feature: a search bar? (a) a user need (b) a feature
  27. 27.💾 What does this code show? (Positions start at 0.)
    let notes = ["Hindi", "Art", "Science", "Sports"];
    show(notes[2]);
    (a) Hindi (b) Art (c) Science (d) Sports
  28. 28.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) in the cloud (b) on the phone
  29. 29.🚀 What should an app ask for only when it really needs it? (a) its name (b) its icon (c) a permission (d) a font
  30. 30.🚀 Which version is newer: 3.0.4 or 3.0.12? (a) 3.0.12 (b) 3.0.4
  31. 31.🧰 What does return do in a function? (a) repeats the code (b) deletes the app (c) closes the screen (d) sends back a value
  32. 32.🔁 What number does this code show?
    let scores = [9, 13, 4];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  33. 33.⚙️ In an app, is a result on screen an input, processing or an output? (a) input (b) output (c) processing
  34. 34.True or false: a shared to-do list fits saving in the cloud. (a) True (b) False
  35. 35.True or false: a recipe finder is the best fit for a child saving up for a cycle. (a) True (b) False
  36. 36.🔘 Our rule: buttons are at least 48 px tall. The Help button is 24 px tall. How many px taller must it be?
  37. 37.🗂️ What kind of app is a unit converter? (a) a learning app (b) a health app (c) a game (d) a tool app
  38. 38.🔀 What does this PIN rule show?
    let pin = "7228";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  39. 39.👥 A school app has 240 students, 285 teachers and 225 parents as users. Which user group is the biggest? (a) students (b) parents (c) teachers
  40. 40.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 31; // start at 31
    line 2: stars = stars + 2; // add 2
    line 3: stars = stars * 2; // double it
    line 4: stars = stars - 2; // add 2
    line 5: show(stars); // show it

Answer key

  1. pie-chart colours
  2. 1
  3. line 1
  4. spot a problem to solve
  5. UI
  6. an installed app
  7. 2
  8. 34
  9. 49
  10. 100
  11. missing the bus
  12. a dark mode switch
  13. 13
  14. Done
  15. False
  16. checking a password
  17. 450
  18. MVP
  19. on the phone
  20. a share button
  21. missing a must-have
  22. a homework planner
  23. 14
  24. a wireframe
  25. 33
  26. a feature
  27. Science
  28. in the cloud
  29. a permission
  30. 3.0.12
  31. sends back a value
  32. 26
  33. output
  34. True
  35. False
  36. 24
  37. a tool app
  38. PIN saved
  39. teachers
  40. 64

Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students