← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 748 · 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 colour pair is easy to read? (a) pale pink on white (b) dark blue on white (c) light grey on white (d) red on green
  2. 2.🖼️ How many parts (boxes) does this wireframe have?
    [ top bar ]
    [ menu icon ]
    [ big picture ]
    [ title text ]
    [ filter buttons ]
    [ Save button ]
  3. 3.🔀 In this course’s code, which sign tests “is equal to”? (a) = (b) !== (c) => (d) ===
  4. 4.🧩 Which of these is a button on this screen?
    [title] Edit Profile
    [text box] Age
    [button] Send
    (a) Age (b) Send
  5. 5.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(850) → expected 0
    Test 2: delivery(650) → expected 40
    Test 3: delivery(800) → expected 0
    (a) Test 3 (b) Test 2 (c) Test 1
  6. 6.🧭 About how many tabs suit a tab bar best? (a) 20 (b) 1 (c) 3 to 5 (d) 10 to 12
  7. 7.👆 The user taps the button 7 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  8. 8.Which of these happens at the idea stage? (a) talk to possible users (b) draw the user flow (c) write down the bugs (d) sketch the screens
  9. 9.Which of these fits saving in the cloud? (a) a draft you are typing (b) photos on two devices (c) notes to read offline (d) your last game level
  10. 10.♿ A screen has 5 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
  11. 11.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(450) → expected 40
    Test 2: delivery(500) → expected 0
    Test 3: delivery(650) → expected 0
  12. 12.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(5) → expected Try again
    Test 2: result(8) → expected Pass
    Test 3: result(6) → expected Pass
    (a) Test 3 (b) Test 2 (c) Test 1
  13. 13.🎯 Is this a user need or a feature: a dark mode switch? (a) a user need (b) a feature
  14. 14.🗒️ Why keep version 1 small? (a) to learn from users soon (b) to look bigger (c) to use up storage (d) to confuse users
  15. 15.Which of these requests is fair? (a) torch → contacts (b) timer → your photos (c) calculator → location (d) calling app → contacts
  16. 16.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Send button: 44 px tall
    Start button: 48 px tall
    Help button: 56 px tall
    (a) Help (b) Send (c) Start
  17. 17.Which of these happens at the idea stage? (a) write down the bugs (b) put it on an app store (c) spot a problem to solve (d) add the buttons
  18. 18.🔍 Which is the odd one out? (a) a unit converter (b) a flashcard trainer (c) an alarm clock (d) a torch
  19. 19.Which colour pair is hard to read? (a) white on dark green (b) white on black (c) yellow on white (d) black on pale grey
  20. 20.🎨 Is this about UI or UX: the font size? (a) UI (b) UX
  21. 21.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [slider] Brightness
    [button] Done
    [text box] City
    [switch] Dark mode
  22. 22.🔍 Which is the odd one out? (a) a times-table quiz (b) a calculator (c) a flashcard trainer (d) a spelling coach
  23. 23.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Help page”
    2. open “Match report”
    3. tap the Search tab
    How many times must you tap Back to reach the main screen of this tab?
  24. 24.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) an avatar shop (b) show a question (c) confetti effects (d) background music
  25. 25.Which of these is a user need? (a) a share button (b) “I forget my homework” (c) a reminder alarm (d) a search bar
  26. 26.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Riya", "Meera", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Kabir (c) Hi, Arjun (d) Hi, Riya
  27. 27.🔍 Which is the odd one out? (a) a racing challenge (b) a torch (c) a calculator (d) a unit converter
  28. 28.🔁 Why use a loop to show 100 messages? (a) it uses more lines (b) less code to write (c) it hides them (d) it is slower
  29. 29.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(95, 3));
  30. 30.🔁 What number does this code show?
    let steps = [2, 16, 10];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  31. 31.💡 Does an app idea like a page of random dots solve a real problem? (a) Yes (b) No
  32. 32.👆 An event in an app is ___. (a) a colour theme (b) an app store (c) a kind of list (d) something that happens
  33. 33.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Confirm → Address → Size → Menu
    Design B: Home → Item → Shop → Results → Address → Search → Offers
  34. 34.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 39; // start at 39
    line 2: lives = lives * 2; // double it
    line 3: lives = lives + 2; // add 2
    line 4: lives = lives + 2; // take away 2
    line 5: show(lives); // show it
  35. 35.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Item → Menu → Pay → Address → Search
    Design B: Home → Address → Pay → Cart
    (a) Design B (b) Design A
  36. 36.🎨 Is this about UI or UX: how users feel after? (a) UI (b) UX
  37. 37.True or false: you pick the features at the plan stage. (a) False (b) True
  38. 38.🔀 What does this PIN rule show?
    let pin = "622";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  39. 39.True or false: tap to go Next is a button. (a) False (b) True
  40. 40.🔁 What number does this code show?
    let runs = [10, 8, 1];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);

Answer key

  1. dark blue on white
  2. 6
  3. ===
  4. Send
  5. Test 3
  6. 3 to 5
  7. 5
  8. talk to possible users
  9. photos on two devices
  10. 1
  11. 0
  12. Test 3
  13. a feature
  14. to learn from users soon
  15. calling app → contacts
  16. Send
  17. spot a problem to solve
  18. a flashcard trainer
  19. yellow on white
  20. UI
  21. 1
  22. a calculator
  23. 0
  24. show a question
  25. “I forget my homework”
  26. Hi, Kabir
  27. a racing challenge
  28. less code to write
  29. 285
  30. 16
  31. No
  32. something that happens
  33. 2
  34. 78
  35. Design B
  36. UX
  37. True
  38. Use 4 digits
  39. True
  40. 10

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