← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 820 · 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.🔀 In this course’s code, which sign tests “is equal to”? (a) !== (b) = (c) === (d) =>
  2. 2.🌗 Is red on green easy or hard to read on a button? (a) easy to read (b) hard to read
  3. 3.💾 pop() takes off the last item. What does this code show?
    let notes = ["Hindi", "Maths", "Art", "Music"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Maths (b) Art (c) Music (d) Hindi
  4. 4.🔀 What does this PIN rule show?
    let pin = "483";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  5. 5.🗒️ Version 1 of a water reminder must be ready in 11 days. How many days are left for extras after the must-haves?
    set a reminder time: 3 days
    log a glass of water: 3 days
    see today’s total: 3 days
  6. 6.🔀 What does this PIN rule show?
    let pin = "63472";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  7. 7.🔀 What number does this shop app show?
    let total = 370;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  8. 8.🧰 Why write a function? (a) to reuse code (b) to make code longer (c) to slow the app (d) to hide errors
  9. 9.💡 Which app idea solves this problem: a team shares one snack bill? (a) a bill splitter (b) a medicine reminder (c) a lost-and-found board (d) a homework planner
  10. 10.True or false: a times-table quiz is a learning app. (a) True (b) False
  11. 11.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 400) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(400) → expected 0
    Test 2: delivery(350) → expected 40
    Test 3: delivery(550) → expected 0
  12. 12.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) share your streak (b) set a reminder time (c) water animations (d) custom alert sounds
  13. 13.🎯 A short made-up profile of a typical user is called a ___. (a) pixel (b) persona (c) protocol (d) password
  14. 14.🔢 In a sign-up flow, what comes right after “open the app”? (a) type name and email (b) tap “Sign up” (c) enter the code sent (d) see the home screen
  15. 15.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Feed tab
    2. tap the Settings tab
    3. open “Friend list”
    4. open “Badges”
    How many times must you tap Back to reach the main screen of this tab?
  16. 16.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Next button: 48 px tall
    Cancel button: 36 px tall
    Save button: 56 px tall
    Back button: 64 px tall
    (a) Back (b) Save (c) Cancel (d) Next
  17. 17.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 39; // start at 38
    line 2: score = score * 2; // double it
    line 3: score = score * 2; // double it
    line 4: score = score - 3; // take away 3
    line 5: show(score); // show it
    (a) line 2 (b) line 4 (c) line 1 (d) line 3
  18. 18.🐞 What is a bug? (a) a mistake in the code (b) a fast phone (c) a nice icon (d) a new feature
  19. 19.🧪 Who else should try an app before release? (a) the app icon (b) real users (c) only the coder (d) nobody
  20. 20.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Friend list”
    2. tap Back
    3. open “Friend list”
    How many times must you tap Back to reach the main screen of this tab?
  21. 21.💡 Does an app idea like a medicine reminder solve a real problem? (a) No (b) Yes
  22. 22.True or false: “big touch targets” makes the app harder to use. (a) False (b) True
  23. 23.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Aman", "Zoya", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Riya (c) Hi, Arjun (d) Hi, Aman
  24. 24.🔐 Is this permission request fair or too much: voice notes → microphone? (a) fair (b) too much
  25. 25.🗒️ Version 1 of a pocket-money tracker must be ready in 12 days. How many days are left for extras after the must-haves?
    add money received: 4 days
    add money spent: 4 days
    show the balance: 2 days
  26. 26.Which of these is about UX (the experience)? (a) the theme colours (b) how many taps it takes (c) the screen layout (d) the font size
  27. 27.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Match report”
    2. tap Back
    3. tap the Settings tab
    4. open “Help page”
    Which screen are you on now?
    (a) Help page (b) Chat (c) Feed (d) Match report
  28. 28.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) easy cases (b) phone cases (c) edge cases (d) old cases
  29. 29.🔘 Our rule: buttons are at least 48 px tall. The Send button is 44 px tall. How many px taller must it be?
  30. 30.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Send button: 24 px tall
    Done button: 52 px tall
    Back button: 72 px tall
    (a) Done (b) Back (c) Send
  31. 31.💾 What number does this code show?
    let lives = 3;
    lives = lives - 2;
    lives = lives + 5;
    show(lives);
  32. 32.Which of these helps everyone use the app? (a) tiny tap areas (b) icons with no labels (c) fast-flashing lights (d) text that can grow
  33. 33.💾 Data saved only on the phone is lost when ___. (a) the screen turns off (b) you send a message (c) the app is closed (d) the phone is lost
  34. 34.🔁 What does a loop do? (a) repeats code (b) draws icons (c) saves photos (d) deletes code
  35. 35.🧭 Which part of navigation sits at the bottom? (a) the back button (b) a tab bar (c) a menu button
  36. 36.True or false: a lost-and-found board solves no real problem. (a) False (b) True
  37. 37.🧰 What is a function? (a) a named block of code (b) a type of phone (c) a screen size (d) a list of colours
  38. 38.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) add more colours (c) buy a new phone (d) find where it goes wrong
  39. 39.🚀 Which version is newer: 4.15.3 or 4.6.3? (a) 4.15.3 (b) 4.6.3
  40. 40.🎯 Who are the users of an app? (a) the app icons (b) only the coders (c) only the testers (d) the people who use it

Answer key

  1. ===
  2. hard to read
  3. Art
  4. Use 4 digits
  5. 2
  6. Use 4 digits
  7. 370
  8. to reuse code
  9. a bill splitter
  10. True
  11. 2
  12. set a reminder time
  13. persona
  14. tap “Sign up”
  15. 2
  16. Cancel
  17. line 1
  18. a mistake in the code
  19. real users
  20. 1
  21. Yes
  22. False
  23. Hi, Riya
  24. fair
  25. 2
  26. how many taps it takes
  27. Help page
  28. edge cases
  29. 4
  30. Send
  31. 6
  32. text that can grow
  33. the phone is lost
  34. repeats code
  35. a tab bar
  36. False
  37. a named block of code
  38. find where it goes wrong
  39. 4.15.3
  40. the people who use it

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