← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 119 · 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.💾 pop() takes off the last item. What does this code show?
    let notes = ["Art", "Hindi", "Music", "Science", "Sports"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Music (b) Art (c) Hindi (d) Science
  2. 2.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 28 px tall. How many px taller must it be?
  3. 3.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Edit Profile
    [button] Back
    [text box] City
    [button] Done
    [button] Save
    [text box] Notes
  4. 4.🎯 Who are the users of an app? (a) the app icons (b) only the testers (c) the people who use it (d) only the coders
  5. 5.Which of these is about UX (the experience)? (a) the screen layout (b) the button colours (c) the icon shapes (d) whether users get lost
  6. 6.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Add button ]
    [ top bar ]
    [ tab bar ]
    [ big picture ]
    (a) tab bar (b) big picture (c) Add button (d) top bar
  7. 7.True or false: a final design shows where things go. (a) False (b) True
  8. 8.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Feed tab
    2. open “Video”
    3. open “Map”
    4. tap Back
    5. tap the Chat tab
    Which screen are you on now?
    (a) Map (b) Feed (c) Video (d) Chat
  9. 9.📅 An app team plans for 2 days, builds for 7 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  10. 10.🧪 What is the ACTUAL result of Test 1?
    🎟️ 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(14) → expected 100
    Test 2: price(16) → expected 100
    Test 3: price(8) → expected 50
  11. 11.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Video”
    2. open “Match report”
    3. open “Match report”
    4. tap the Profile tab
    5. open “Score card”
    Which screen are you on now?
    (a) Video (b) Score card (c) Match report (d) Home
  12. 12.True or false: you try every button at the idea stage. (a) False (b) True
  13. 13.True or false: a clear word like Save is poor button design. (a) False (b) True
  14. 14.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Done button: 64 px tall
    Back button: 40 px tall
    Help button: 64 px tall
    Next button: 68 px tall
    (a) Help (b) Back (c) Done (d) Next
  15. 15.🧪 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(350) → expected 0
    Test 2: delivery(300) → expected 0
    Test 3: delivery(100) → expected 40
    (a) Test 1 (b) Test 2 (c) Test 3
  16. 16.🔢 In a food-order flow, which comes first: “add it to the cart” or “open the menu”? (a) add it to the cart (b) open the menu
  17. 17.True or false: your high score is data. (a) True (b) False
  18. 18.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 41; // start at 38
    line 2: stars = stars * 2; // double it
    line 3: stars = stars - 5; // take away 5
    line 4: stars = stars * 2; // double it
    line 5: show(stars); // show it
    (a) line 2 (b) line 1 (c) line 4 (d) line 3
  19. 19.🔢 When you make an app, which comes FIRST? (a) plan the screens (b) release it (c) test the app (d) get an idea
  20. 20.🧪 What is the ACTUAL result of Test 1?
    🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
    function price(age) {
      if (age < 14) {
        return 50;
      }
      return 100;
    }
    Test 1: price(16) → expected 100
    Test 2: price(11) → expected 50
    Test 3: price(18) → expected 100
  21. 21.🔁 Why use a loop to show 100 messages? (a) it hides them (b) less code to write (c) it is slower (d) it uses more lines
  22. 22.👥 A clinic app has 30 patients, 85 doctors and 35 nurses as users. How many more doctors than patients are there?
  23. 23.💡 Does an app idea like a library due-date alert solve a real problem? (a) No (b) Yes
  24. 24.🧪 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(950) → expected 0
    Test 2: delivery(600) → expected 40
    Test 3: delivery(900) → expected 0
  25. 25.💡 Which app idea solves this problem: a patient misses doses? (a) a lost-and-found board (b) a bill splitter (c) a study-room finder (d) a medicine reminder
  26. 26.💾 Which works with no internet at all? (a) a cloud backup (b) data saved on the phone (c) a shared chat (d) a cloud leaderboard
  27. 27.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(40, 4));
  28. 28.📴 Which of these can often still work with no internet? (a) an online search (b) an installed app (c) a new website (d) a video call
  29. 29.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Well done, " + nameBox.text + "!";
    };
    (a) Well done, nameBox.text! (b) Well done, Meera! (c) Meera (d) Well done!
  30. 30.🗒️ Version 1 of a quiz app must be ready in 18 days. How many days are left for extras after the must-haves?
    show a question: 3 days
    check the answer: 4 days
    show the score: 5 days
  31. 31.True or false: a countdown hits zero is a timer event. (a) False (b) True
  32. 32.🔢 In a food-order flow, which comes first: “pick a dish” or “add it to the cart”? (a) pick a dish (b) add it to the cart
  33. 33.Which of these is true of a tab bar? (a) undoes one move (b) goes to the last screen (c) shows 3 to 5 icons (d) opens a list of pages
  34. 34.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Edit photo”
    2. tap the Me tab
    3. tap the Me tab
    4. open “Badges”
    How many times must you tap Back to reach the main screen of this tab?
  35. 35.📊 Survey: which problem bugs you most? How many students voted in all?
    losing water bottles: 16 votes
    wasting pocket money: 15 votes
    no quiet study place: 7 votes
  36. 36.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Size → Address
    Design B: Home → Results → Offers → Confirm
  37. 37.📅 An app team plans for 5 days, builds for 7 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
  38. 38.True or false: a finger hits Like is a tap event. (a) False (b) True
  39. 39.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Match report”
    2. tap Back
    3. tap the Feed tab
    4. open “Help page”
    How many times must you tap Back to reach the main screen of this tab?
  40. 40.👆 “On tap → do this” links an event to ___. (a) a web address (b) an action (c) a font (d) a charger

Answer key

  1. Science
  2. 20
  3. 2
  4. the people who use it
  5. whether users get lost
  6. big picture
  7. False
  8. Chat
  9. 9
  10. 100
  11. Score card
  12. False
  13. False
  14. Back
  15. Test 2
  16. open the menu
  17. True
  18. line 1
  19. get an idea
  20. 100
  21. less code to write
  22. 55
  23. Yes
  24. 3
  25. a medicine reminder
  26. data saved on the phone
  27. 160
  28. an installed app
  29. Well done, Meera!
  30. 6
  31. True
  32. pick a dish
  33. shows 3 to 5 icons
  34. 1
  35. 38
  36. 2
  37. 15
  38. True
  39. 1
  40. an action

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