← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 926 · 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.True or false: the icon shapes is about UX (the experience). (a) True (b) False
  2. 2.🔍 Which is the odd one out? (a) how easy sign-up is (b) how many taps it takes (c) how fast a task is done (d) the screen layout
  3. 3.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) add more colours (c) find where it goes wrong (d) buy a new phone
  4. 4.♿ A screen has 11 icon buttons. Only 6 of them have a text label for screen readers. How many still need a label?
  5. 5.True or false: an app is installed on a phone. (a) False (b) True
  6. 6.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Hint: 24 px
    Title: 18 px
    Menu: 13 px
    (a) Menu (b) Hint (c) Title
  7. 7.Which of these happens at the release stage? (a) try every button (b) write the store text (c) add the buttons (d) talk to possible users
  8. 8.⚙️ In an app, is sorting the scores an input, processing or an output? (a) output (b) processing (c) input
  9. 9.👆 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;
    };
  10. 10.🔀 What does this battery rule show?
    let battery = 44;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  11. 11.⚙️ What number does this app show?
    let price = 60; // typed by the user
    let qty = 4; // typed by the user
    let total = price * qty;
    show(total);
  12. 12.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 30;
    }
    show(fee(3) + fee(11));
  13. 13.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Welcome, " + nameBox.text + "!";
    };
    (a) Riya (b) Welcome, Riya! (c) Welcome! (d) Welcome, nameBox.text!
  14. 14.True or false: how fast a task is done is about UI (the look). (a) True (b) False
  15. 15.👆 The user taps the button 6 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
  16. 16.👥 A cricket club app has 25 players, 90 coaches and 80 fans as users. How many more coaches than players are there?
  17. 17.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right > 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(8) → expected Pass
    Test 2: result(6) → expected Try again
    Test 3: result(7) → expected Pass
    (a) Test 2 (b) Test 3 (c) Test 1
  18. 18.🗂️ What kind of app is a calculator? (a) a game (b) a learning app (c) a tool app (d) a health app
  19. 19.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 5 votes
    wasting pocket money: 23 votes
    forgetting homework: 9 votes
  20. 20.Which of these is about UX (the experience)? (a) the theme colours (b) whether users get lost (c) the button colours (d) the screen layout
  21. 21.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 88; // typed by the user
    line 2: let friends = 2; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 2 (b) line 4 (c) line 1 (d) line 3
  22. 22.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “losing water bottles”?
    losing water bottles: 3 votes
    forgetting homework: 4 votes
    missing the bus: 17 votes
  23. 23.🗂️ What kind of app is a unit converter? (a) a tool app (b) a health app (c) a game (d) a learning app
  24. 24.🔢 In a quiz-app flow, which comes FIRST? (a) read a question (b) tap “Start quiz” (c) see the final score (d) pick an answer
  25. 25.🔁 What number does this code show?
    let scores = [11, 13, 2, 4, 7];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  26. 26.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Save button: 48 px tall
    Start button: 28 px tall
    Cancel button: 56 px tall
    (a) Save (b) Start (c) Cancel
  27. 27.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Aman", "Riya", "Zoya", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Kabir (c) Hi, Aman (d) Hi, Meera
  28. 28.Which colour pair is easy to read? (a) black on yellow (b) red on green (c) light grey on white (d) yellow on white
  29. 29.📅 An app team plans for 5 days, builds for 4 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
  30. 30.🎨 Is this about UI or UX: the button colours? (a) UX (b) UI
  31. 31.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
  32. 32.🔍 Which is the odd one out? (a) list what users need (b) talk to possible users (c) try every button (d) spot a problem to solve
  33. 33.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) savings stickers (c) add money spent (d) export to a file
  34. 34.🔀 What does this sign-up rule show?
    let age = 9;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  35. 35.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) show a question (c) background music (d) an avatar shop
  36. 36.📅 An app team plans for 2 days, builds for 10 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  37. 37.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
  38. 38.True or false: an app opens from a link. (a) True (b) False
  39. 39.🔁 What number does this code show?
    let marks = [35, 63, 83, 58];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  40. 40.🔀 Why plan the user flow before building? (a) to skip testing (b) to add more taps (c) so each step is clear (d) to hide the buttons

Answer key

  1. False
  2. the screen layout
  3. find where it goes wrong
  4. 5
  5. True
  6. Menu
  7. write the store text
  8. processing
  9. 2
  10. Battery OK
  11. 240
  12. 30
  13. Welcome, Riya!
  14. False
  15. OFF
  16. 65
  17. Test 3
  18. a tool app
  19. 37
  20. whether users get lost
  21. line 3
  22. 14
  23. a tool app
  24. tap “Start quiz”
  25. 37
  26. Start
  27. Hi, Meera
  28. black on yellow
  29. 3
  30. UI
  31. Yes
  32. try every button
  33. add money spent
  34. Ask a parent
  35. show a question
  36. 12
  37. No
  38. False
  39. 3
  40. so each step is clear

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