← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 651 · 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 is a MUST-HAVE? (a) add money received (b) pie-chart colours (c) export to a file (d) savings stickers
  2. 2.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Save button: 36 px tall
    Help button: 64 px tall
    Send button: 36 px tall
  3. 3.👥 A school app has 45 students, 130 teachers and 240 parents as users. How many more parents than students are there?
  4. 4.🧩 Which of these is a button on this screen?
    [title] New Note
    [slider] Volume
    [button] Send
    [button] Save
    [switch] Remind me
    [text box] City
    [text box] Phone
    (a) City (b) Send (c) Phone (d) Remind me
  5. 5.🔍 Which is the odd one out? (a) a sleep tracker (b) a step counter (c) a word battle (d) a water reminder
  6. 6.🎨 Who should you test the UX with? (a) nobody (b) the app icon (c) real users (d) only yourself
  7. 7.True or false: taking a photo is processing. (a) False (b) True
  8. 8.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 49; // start at 49
    line 2: score = score - 3; // take away 3
    line 3: score = score + 4; // add 4
    line 4: score = score + 4; // add 3
    line 5: show(score); // show it
  9. 9.Which of these is true of an app? (a) needs no installing (b) comes from an app store (c) opens from a link (d) has a web address
  10. 10.🌗 Is white on dark green easy or hard to read on a button? (a) hard to read (b) easy to read
  11. 11.💾 pop() takes off the last item. What does this code show?
    let friends = ["Meera", "Zoya", "Riya"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Riya (b) Meera (c) Zoya
  12. 12.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) show the balance (b) export to a file (c) savings stickers (d) pie-chart colours
  13. 13.🔀 What does this battery rule show?
    let battery = 89;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  14. 14.🚀 Your app is at version 2.3.6. The next release fixes a small bug. What is its version number? (a) 2.4.0 (b) 2.3.7 (c) 3.0.0 (d) 2.4.6
  15. 15.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) add money spent (c) savings stickers (d) show the balance
  16. 16.🧪 What is the ACTUAL result of Test 2?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age < 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(16) → expected 100
    Test 2: price(15) → expected 100
    Test 3: price(8) → expected 50
  17. 17.⚙️ What number does this app show?
    let km = 7; // typed by the user
    let metres = km * 1000;
    show(metres);
  18. 18.🔢 In a photo-post flow, what comes right after “add a filter”? (a) post the photo (b) take the photo (c) write a caption (d) open the camera screen
  19. 19.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Cancel button: 64 px tall
    Start button: 60 px tall
    Send button: 60 px tall
    Help button: 28 px tall
    (a) Send (b) Cancel (c) Start (d) Help
  20. 20.👆 The user taps the button 5 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) OFF (b) ON
  21. 21.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 40;
    }
    show(fee(6) + fee(4));
  22. 22.🧩 Which input is best for typing your name? (a) a slider (b) a text box (c) a picture (d) a switch
  23. 23.👆 The user taps the button 5 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  24. 24.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Size → Item
    Design B: Home → Menu → Results → Offers
    (a) Design B (b) Design A
  25. 25.🎯 Which app would help this user most: a reader who finds small print hard? (a) a big-text reader (b) a homework planner (c) a recipe finder (d) a bus tracker
  26. 26.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a final design (b) a wireframe
  27. 27.🔁 list.length tells you ___. (a) the last item (b) the first item (c) how many items it has (d) the biggest item
  28. 28.Which of these is a screen? (a) your saved notes (b) a box to type a name (c) your friends list (d) the home page of an app
  29. 29.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Save button: 32 px tall
    Back button: 48 px tall
    Start button: 68 px tall
    (a) Save (b) Start (c) Back
  30. 30.🧩 In an app, what is today’s step count? (a) a button (b) an input (c) data (d) a screen
  31. 31.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
  32. 32.💡 Does an app idea like a lost-and-found board solve a real problem? (a) No (b) Yes
  33. 33.Which colour pair is hard to read? (a) black on yellow (b) red on green (c) black on pale grey (d) white on black
  34. 34.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) pie-chart colours (b) show the balance (c) add money received (d) add money spent
  35. 35.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 39; // start at 39
    line 2: score = score + 5; // add 5
    line 3: score = score - 2; // take away 2
    line 4: score = score + 2; // double it
    line 5: show(score); // show it
    (a) line 4 (b) line 3 (c) line 1 (d) line 2
  36. 36.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting birthdays: 9 votes
    forgetting homework: 8 votes
    losing water bottles: 4 votes
  37. 37.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hello, " + nameBox.text + "!";
    };
    (a) Hello! (b) Hello, Kabir! (c) Hello, nameBox.text! (d) Kabir
  38. 38.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Next button: 44 px tall
    Send button: 44 px tall
    Save button: 44 px tall
  39. 39.👆 The user taps the button 5 times. What number does the label show now?
    let stars = 0;
    button.onTap = function () {
      stars = stars + 4;
      label.text = stars;
    };
  40. 40.💡 An app that tries to do everything at once is usually ___. (a) finished fast (b) very small (c) easy to build (d) hard to use

Answer key

  1. add money received
  2. 1
  3. 195
  4. Send
  5. a word battle
  6. real users
  7. False
  8. 54
  9. comes from an app store
  10. easy to read
  11. Zoya
  12. show the balance
  13. Battery OK
  14. 2.3.7
  15. savings stickers
  16. 100
  17. 7000
  18. write a caption
  19. Help
  20. ON
  21. 40
  22. a text box
  23. 5
  24. Design A
  25. a big-text reader
  26. a wireframe
  27. how many items it has
  28. the home page of an app
  29. Save
  30. data
  31. Yes
  32. Yes
  33. red on green
  34. pie-chart colours
  35. line 4
  36. 21
  37. Hello, Kabir!
  38. 0
  39. 20
  40. hard to use

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