← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 941 · 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.🔀 What does this battery rule show?
    let battery = 13;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  2. 2.✏️ A box with a cross in a wireframe usually means ___. (a) delete this (b) a closed app (c) an error (d) a picture goes here
  3. 3.🛠️ At which stage do you talk to possible users? (a) the release stage (b) the plan stage (c) the idea stage (d) the build stage
  4. 4.🔍 Which is the odd one out? (a) put it on an app store (b) sketch the screens (c) share the download link (d) write the store text
  5. 5.🧩 In an app, what is a date picker? (a) a button (b) data (c) an input (d) a screen
  6. 6.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) helps everyone (b) makes it harder
  7. 7.🔁 What number does this code show?
    let steps = [14, 14, 16];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  8. 8.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
  9. 9.Which of these fits saving on the phone? (a) chat messages to friends (b) photos on two devices (c) a shared to-do list (d) the sound on/off setting
  10. 10.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 31; // start at 30
    line 2: score = score * 2; // double it
    line 3: score = score * 2; // double it
    line 4: score = score * 2; // double it
    line 5: show(score); // show it
  11. 11.🔢 In a photo-post flow, which comes first: “open the camera screen” or “add a filter”? (a) add a filter (b) open the camera screen
  12. 12.Which of these app ideas solves no real problem? (a) a button with no action (b) a free study-room finder (c) a library due-date alert (d) a lost-and-found board
  13. 13.⚙️ In an app, is tapping a button an input, processing or an output? (a) processing (b) input (c) output
  14. 14.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 240; // typed by the user
    line 2: let off = 40; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 4 (b) line 2 (c) line 3 (d) line 1
  15. 15.🧰 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(2) + fee(11));
  16. 16.📅 An app team plans for 4 days, builds for 9 days, tests for 2 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  17. 17.👆 The user taps the button 3 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  18. 18.🔢 In a sign-up flow, what comes right after “open the app”? (a) tap “Sign up” (b) enter the code sent (c) see the home screen (d) make a password
  19. 19.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Cart → Menu → Results → Offers → Size → Address
    Design B: Home → Shop → Offers → Menu
  20. 20.Which of these fits saving on the phone? (a) chat messages to friends (b) your last game level (c) photos on two devices (d) a class leaderboard
  21. 21.👆 The user taps the button 2 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  22. 22.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Search → Shop → Results → Item → Size → Menu
    Design B: Home → Confirm → Pay
  23. 23.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “missing the bus”?
    missing the bus: 4 votes
    wasting pocket money: 12 votes
    no quiet study place: 8 votes
  24. 24.True or false: a draft you are typing fits saving on the phone. (a) True (b) False
  25. 25.🎯 Is this a user need or a feature: a search bar? (a) a user need (b) a feature
  26. 26.🔀 What does this PIN rule show?
    let pin = "2784";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  27. 27.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 5 or more right answers.
    function result(right) {
      if (right > 5) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(6) → expected Pass
    Test 2: result(4) → expected Try again
    Test 3: result(9) → expected Pass
  28. 28.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Search tab
    2. open “Badges”
    3. tap the Home tab
    Which screen are you on now?
    (a) Search (b) Profile (c) Badges (d) Home
  29. 29.True or false: a big, easy tap area is poor button design. (a) False (b) True
  30. 30.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) see today’s total (c) share your streak (d) log a glass of water
  31. 31.🔐 Which permission does a voice recorder really need? (a) the camera (b) contacts (c) the microphone (d) location
  32. 32.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) see tasks by day (c) add a homework task (d) share tasks to friends
  33. 33.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
  34. 34.Which of these helps everyone use the app? (a) fast-flashing lights (b) strong colour contrast (c) colour as the only clue (d) sudden loud sounds
  35. 35.💡 Does an app idea like a medicine reminder solve a real problem? (a) No (b) Yes
  36. 36.⚙️ What number does this app show?
    let km = 13; // typed by the user
    let metres = km * 1000;
    show(metres);
  37. 37.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 31; // start at 31
    line 2: coins = coins - 2; // add 2
    line 3: coins = coins + 2; // add 2
    line 4: show(coins); // show it
  38. 38.🔢 In a food-order flow, which comes LAST? (a) open the menu (b) pay for the order (c) track the order (d) add it to the cart
  39. 39.🌗 Is dark blue on white easy or hard to read on a button? (a) easy to read (b) hard to read
  40. 40.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(7));

Answer key

  1. Low battery
  2. a picture goes here
  3. the idea stage
  4. sketch the screens
  5. an input
  6. helps everyone
  7. 44
  8. UX
  9. the sound on/off setting
  10. 240
  11. open the camera screen
  12. a button with no action
  13. input
  14. line 3
  15. 30
  16. 13
  17. 3
  18. tap “Sign up”
  19. 3
  20. your last game level
  21. 2
  22. 2
  23. 4
  24. True
  25. a feature
  26. PIN saved
  27. 3
  28. Home
  29. False
  30. share your streak
  31. the microphone
  32. share tasks to friends
  33. a user need
  34. strong colour contrast
  35. Yes
  36. 13000
  37. 35
  38. track the order
  39. easy to read
  40. 14

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