← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 661 · 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.Which of these happens at the release stage? (a) talk to possible users (b) try every button (c) list what users need (d) write the store text
  2. 2.🧪 A test case is an input together with its ___. (a) expected result (b) screen colour (c) font size (d) app icon
  3. 3.True or false: a bus tracker is the best fit for a student who often misses the school bus. (a) True (b) False
  4. 4.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(150) → expected 40
    Test 2: delivery(300) → expected 0
    Test 3: delivery(350) → expected 0
    (a) Test 1 (b) Test 2 (c) Test 3
  5. 5.📱 Which one needs no installing: an app or a website? (a) an app (b) a website
  6. 6.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(12) + fee(11));
  7. 7.💡 Which app idea solves this problem: bottles go missing at school? (a) a medicine reminder (b) a bill splitter (c) a lost-and-found board (d) a homework planner
  8. 8.🔍 Which is the odd one out? (a) how many taps it takes (b) how easy sign-up is (c) the screen layout (d) how fast a task is done
  9. 9.👆 The user taps the button 2 times. What number does the label show now?
    let lives = 0;
    button.onTap = function () {
      lives = lives + 5;
      label.text = lives;
    };
  10. 10.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 8 or more right answers.
    function result(right) {
      if (right > 8) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(6) → expected Try again
    Test 2: result(8) → expected Pass
    Test 3: result(9) → expected Pass
  11. 11.💾 Where should the app save your last game level: on the phone or in the cloud? (a) in the cloud (b) on the phone
  12. 12.🔁 What number does this code show?
    let steps = [11, 5, 20, 18];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  13. 13.👥 A library app has 295 readers, 80 librarians and 65 volunteers as users. How many users does it have in all?
  14. 14.👆 The user taps the button 2 times. What number does the label show now?
    let coins = 5;
    button.onTap = function () {
      coins = coins + 4;
      label.text = coins;
    };
  15. 15.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) phone cases (b) old cases (c) edge cases (d) easy cases
  16. 16.💾 Data saved only on the phone is lost when ___. (a) the phone is lost (b) the app is closed (c) the screen turns off (d) you send a message
  17. 17.🔀 A screen with no way forward or back is called a ___. (a) dead end (b) shortcut (c) home screen (d) tab bar
  18. 18.True or false: a recipe finder is the best fit for a parent waiting at the bus stop. (a) False (b) True
  19. 19.🎨 Is this about UI or UX: whether users get lost? (a) UI (b) UX
  20. 20.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Edit Profile
    [button] Done
    [button] Save
    [text box] Subject
  21. 21.🔀 When does the else part run? (a) when the test is false (b) when the test is true (c) always (d) never
  22. 22.💾 What number does this code show?
    let notes = ["Art", "Music"];
    notes.push("Science");
    show(notes.length);
  23. 23.🧪 What is the ACTUAL result of Test 2?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age <= 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 100
    Test 2: price(15) → expected 100
    Test 3: price(8) → expected 50
  24. 24.True or false: a final design has no real colours. (a) False (b) True
  25. 25.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 50; // start at 50
    line 2: stars = stars + 5; // add 2
    line 3: stars = stars * 2; // double it
    line 4: stars = stars - 1; // take away 1
    line 5: show(stars); // show it
  26. 26.🔢 In a sign-up flow, what comes right after “type name and email”? (a) see the home screen (b) tap “Sign up” (c) open the app (d) make a password
  27. 27.👥 A cricket club app has 85 players, 140 coaches and 75 fans as users. Which user group is the biggest? (a) players (b) fans (c) coaches
  28. 28.💾 What does this code show? (Positions start at 0.)
    let songs = ["Sunrise", "Stars", "Rain", "Kites", "Monsoon"];
    show(songs[4]);
    (a) Stars (b) Monsoon (c) Sunrise (d) Rain
  29. 29.🧪 Who else should try an app before release? (a) the app icon (b) nobody (c) only the coder (d) real users
  30. 30.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 50; // start at 50
    line 2: points = points + 2; // take away 2
    line 3: points = points - 1; // take away 1
    line 4: points = points + 6; // add 6
    line 5: show(points); // show it
    (a) line 3 (b) line 1 (c) line 2 (d) line 4
  31. 31.🧪 One test case fails. Which one?
    🎟️ 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(12) → expected 100
    Test 2: price(10) → expected 50
    Test 3: price(11) → expected 100
    (a) Test 2 (b) Test 1 (c) Test 3
  32. 32.🖼️ In this wireframe (top to bottom), what is right above the big picture?
    [ search box ]
    [ menu icon ]
    [ top bar ]
    [ big picture ]
    (a) menu icon (b) top bar (c) search box
  33. 33.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) show arrival time (b) change the bus icon (c) pick your bus stop (d) see where the bus is
  34. 34.Which of these app ideas solves a real problem? (a) a bill splitter (b) a blank grey screen (c) an app that just says hi (d) a page of random dots
  35. 35.🎯 Which app would help this user most: a reader who finds small print hard? (a) a recipe finder (b) a bus tracker (c) a big-text reader (d) a pocket-money tracker
  36. 36.True or false: a blank grey screen solves a real problem. (a) False (b) True
  37. 37.True or false: a wireframe is a quick sketch. (a) True (b) False
  38. 38.🔍 Which is the odd one out? (a) a times-table quiz (b) a torch (c) a unit converter (d) a calculator
  39. 39.True or false: a racing challenge is a tool app. (a) False (b) True
  40. 40.Which of these helps everyone use the app? (a) tiny tap areas (b) fast-flashing lights (c) sudden loud sounds (d) labels on every icon

Answer key

  1. write the store text
  2. expected result
  3. True
  4. Test 2
  5. a website
  6. 120
  7. a lost-and-found board
  8. the screen layout
  9. 10
  10. 2
  11. on the phone
  12. 54
  13. 440
  14. 13
  15. edge cases
  16. the phone is lost
  17. dead end
  18. False
  19. UX
  20. 1
  21. when the test is false
  22. 3
  23. 100
  24. False
  25. 109
  26. make a password
  27. coaches
  28. Monsoon
  29. real users
  30. line 2
  31. Test 3
  32. top bar
  33. change the bus icon
  34. a bill splitter
  35. a big-text reader
  36. False
  37. True
  38. a times-table quiz
  39. False
  40. labels on every icon

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