← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 507 · 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 is the odd one out? (a) labels on every icon (b) strong colour contrast (c) captions on videos (d) fast-flashing lights
  2. 2.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 700) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(800) → expected 0
    Test 2: delivery(550) → expected 40
    Test 3: delivery(700) → expected 0
  3. 3.🧭 About how many tabs suit a tab bar best? (a) 10 to 12 (b) 20 (c) 1 (d) 3 to 5
  4. 4.🧪 Who else should try an app before release? (a) real users (b) the app icon (c) only the coder (d) nobody
  5. 5.Which of these is about UX (the experience)? (a) the button colours (b) the icon shapes (c) whether users get lost (d) the screen layout
  6. 6.True or false: a speak-to-type notes app needs the microphone. (a) False (b) True
  7. 7.🧰 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(9) + fee(7));
  8. 8.🔍 Which is the odd one out? (a) fast-flashing lights (b) sudden loud sounds (c) text that can grow (d) icons with no labels
  9. 9.🚀 Your app is at version 1.4.9. The next release adds a new feature. What is its version number? (a) 2.0.0 (b) 1.5.9 (c) 1.5.0 (d) 1.4.10
  10. 10.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 1 (c) 5 (d) 4
  11. 11.Which of these is true of an app? (a) opens from a link (b) has a home-screen icon (c) opens in a web browser (d) has a web address
  12. 12.Which of these is a user need? (a) a search bar (b) a reminder alarm (c) a share button (d) “I forget my homework”
  13. 13.📅 An app team plans for 5 days, builds for 9 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  14. 14.Which of these is an input? (a) adding up a bill (b) a pop-up message (c) typing your age (d) a buzz (vibration)
  15. 15.🧪 What is the actual result of a test? (a) the test’s number (b) the app’s name (c) what the app really does (d) what we hope for
  16. 16.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 42; // start at 42
    line 2: coins = coins * 2; // double it
    line 3: coins = coins - 7; // take away 5
    line 4: show(coins); // show it
    (a) line 3 (b) line 2 (c) line 1
  17. 17.True or false: a bill splitter solves no real problem. (a) True (b) False
  18. 18.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 47; // start at 47
    line 2: points = points + 2; // double it
    line 3: points = points - 5; // take away 5
    line 4: points = points - 1; // take away 1
    line 5: show(points); // show it
  19. 19.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 41; // start at 41
    line 2: points = points + 4; // take away 4
    line 3: points = points * 2; // double it
    line 4: show(points); // show it
    (a) line 2 (b) line 3 (c) line 1
  20. 20.👆 The user taps the button 5 times. What number does the label show now?
    let stars = 5;
    button.onTap = function () {
      stars = stars + 1;
      label.text = stars;
    };
  21. 21.🔁 What number does this code show?
    let steps = [15, 19, 15];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  22. 22.🔍 Which is the odd one out? (a) sudden loud sounds (b) big touch targets (c) labels on every icon (d) strong colour contrast
  23. 23.🧰 What does this code show?
    function greet(name) {
      return "Well done, " + name + "!";
    }
    show(greet("Arjun"));
    (a) Well done, name! (b) greet (c) Well done, Arjun! (d) Arjun
  24. 24.Which of these fits saving in the cloud? (a) notes to read offline (b) the sound on/off setting (c) your last game level (d) chat messages to friends
  25. 25.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
  26. 26.Which of these is true of the back button? (a) sits at the bottom (b) goes to the last screen (c) shows 3 to 5 icons (d) switches main sections
  27. 27.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Size → Shop → Offers
    Design B: Home → Offers → Pay → Menu → Pens → Confirm → Results
  28. 28.🌗 Is dark blue on white easy or hard to read on a button? (a) easy to read (b) hard to read
  29. 29.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Home tab
    2. open “Help page”
    3. tap Back
    4. tap the Home tab
    5. tap the Search tab
    Which screen are you on now?
    (a) Profile (b) Search (c) Help page (d) Home
  30. 30.Which of these is data? (a) tap to Send (b) a switch for dark mode (c) a date picker (d) your friends list
  31. 31.🖼️ In this wireframe (top to bottom), what is right below the Add button?
    [ menu icon ]
    [ filter buttons ]
    [ Add button ]
    [ Save button ]
    [ title text ]
    (a) filter buttons (b) Save button (c) title text (d) menu icon
  32. 32.True or false: “colour as the only clue” makes the app harder to use. (a) False (b) True
  33. 33.💡 How can you check that people really have the problem? (a) just guess (b) ask possible users (c) copy another app (d) pick a colour
  34. 34.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new app (b) a bug fix (c) a big redesign (d) a new feature
  35. 35.Which of these is an input? (a) tap to go Next (b) the game-over page (c) a box to type a name (d) tap to Send
  36. 36.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 34; // start at 34
    line 2: stars = stars + 3; // add 3
    line 3: stars = stars - 1; // take away 1
    line 4: stars = stars + 3; // take away 3
    line 5: show(stars); // show it
  37. 37.🔁 What number does this code show?
    let scores = [2, 20, 19, 19, 12];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  38. 38.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) on the phone (b) in the cloud
  39. 39.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 400; // typed by the user
    line 2: let off = 30; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 1 (b) line 3 (c) line 4 (d) line 2
  40. 40.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) show arrival time (b) a dark mode (c) change the bus icon (d) rate the driver

Answer key

  1. fast-flashing lights
  2. 2
  3. 3 to 5
  4. real users
  5. whether users get lost
  6. True
  7. 80
  8. text that can grow
  9. 1.5.0
  10. 5
  11. has a home-screen icon
  12. “I forget my homework”
  13. 18
  14. typing your age
  15. what the app really does
  16. line 3
  17. False
  18. 43
  19. line 2
  20. 10
  21. 19
  22. sudden loud sounds
  23. Well done, Arjun!
  24. chat messages to friends
  25. a user need
  26. goes to the last screen
  27. 6
  28. easy to read
  29. Search
  30. your friends list
  31. Save button
  32. True
  33. ask possible users
  34. a bug fix
  35. a box to type a name
  36. 33
  37. 72
  38. in the cloud
  39. line 3
  40. show arrival time

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