← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 770 · 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 a photo-post flow, which comes LAST? (a) open the camera screen (b) add a filter (c) take the photo (d) post the photo
  2. 2.👆 The user taps the button 3 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  3. 3.🔀 What does this sign-up rule show?
    let age = 13;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  4. 4.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(12) + fee(9));
  5. 5.🧩 In an app, what is tap to Send? (a) data (b) an input (c) a button (d) a screen
  6. 6.True or false: a bill splitter solves a real problem. (a) False (b) True
  7. 7.🔁 What number does this code show?
    let marks = [5, 13, 1, 16, 19];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  8. 8.🧩 In an app, what is a switch for dark mode? (a) a button (b) an input (c) data (d) a screen
  9. 9.🧩 How many buttons does this app screen have?
    [title] Settings
    [text box] Age
    [button] Cancel
    [text box] Name
    [button] Start
    [button] Done
  10. 10.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 46; // start at 46
    line 2: score = score + 3; // add 3
    line 3: score = score + 5; // add 5
    line 4: score = score + 5; // take away 5
    line 5: show(score); // show it
  11. 11.True or false: a page of random dots solves a real problem. (a) True (b) False
  12. 12.🧭 Why should every screen show where you are? (a) to hide the menu (b) to use more battery (c) so users do not get lost (d) to look busy
  13. 13.🔀 What does this PIN rule show?
    let pin = "803";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  14. 14.🐞 After fixing a bug you should ___. (a) release at once (b) never test (c) delete the test (d) test it again
  15. 15.True or false: how users feel after is about UI (the look). (a) True (b) False
  16. 16.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(95, 6));
  17. 17.👆 What kind of event is this: a 5-minute alarm ends? (a) a load event (b) a text event (c) a tap event (d) a timer event
  18. 18.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(25));
  19. 19.True or false: an app is installed on a phone. (a) False (b) True
  20. 20.🗒️ Version 1 of a water reminder must be ready in 15 days. How many days are left for extras after the must-haves?
    set a reminder time: 3 days
    log a glass of water: 1 days
    see today’s total: 5 days
  21. 21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 33; // start at 33
    line 2: stars = stars + 5; // add 5
    line 3: stars = stars - 2; // add 2
    line 4: show(stars); // show it
    (a) line 3 (b) line 1 (c) line 2
  22. 22.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Footer: 24 px
    Menu: 21 px
    Body text: 11 px
  23. 23.True or false: a switch for dark mode is an input. (a) False (b) True
  24. 24.🚀 Your app is at version 2.4.7. The next release fixes a small bug. What is its version number? (a) 3.0.0 (b) 2.5.7 (c) 2.5.0 (d) 2.4.8
  25. 25.🧑 Who is an app really made for? (a) its icon (b) its charger (c) its coder only (d) its users
  26. 26.🔢 When you make an app, which comes first: “get an idea” or “build the app”? (a) build the app (b) get an idea
  27. 27.Which of these is a button? (a) tap to go Next (b) a slider for volume (c) your saved notes (d) your high score
  28. 28.🐞 Finding and fixing bugs is called ___. (a) decorating (b) downloading (c) debugging (d) designing
  29. 29.Which of these is a user need? (a) a share button (b) a reminder alarm (c) “I keep missing the bus” (d) a search bar
  30. 30.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) in the cloud (b) on the phone
  31. 31.🔀 When does the else part run? (a) always (b) when the test is true (c) when the test is false (d) never
  32. 32.💡 Does an app idea like a lost-and-found board solve a real problem? (a) No (b) Yes
  33. 33.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a final design (b) a wireframe
  34. 34.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Save button ]
    [ big picture ]
    [ top bar ]
    [ Add button ]
    (a) big picture (b) Save button (c) Add button (d) top bar
  35. 35.Which of these is a feature? (a) a dark mode switch (b) “I forget my homework” (c) “Small text is hard” (d) “I keep missing the bus”
  36. 36.💾 pop() takes off the last item. What does this code show?
    let friends = ["Kabir", "Riya", "Meera"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Kabir (b) Meera (c) Riya
  37. 37.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) pie-chart colours (b) add money spent (c) add money received (d) show the balance
  38. 38.🧰 What is a function? (a) a screen size (b) a named block of code (c) a list of colours (d) a type of phone
  39. 39.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting birthdays: 7 votes
    forgetting homework: 11 votes
    missing the bus: 23 votes
    (a) forgetting homework (b) forgetting birthdays (c) missing the bus
  40. 40.🚀 A privacy policy tells users ___. (a) the app’s colours (b) the app’s price (c) what data is collected (d) the screen size

Answer key

  1. post the photo
  2. 3
  3. Welcome!
  4. 120
  5. a button
  6. True
  7. 54
  8. an input
  9. 3
  10. 59
  11. False
  12. so users do not get lost
  13. Use 4 digits
  14. test it again
  15. False
  16. 570
  17. a timer event
  18. 75
  19. True
  20. 6
  21. line 3
  22. 1
  23. True
  24. 2.4.8
  25. its users
  26. get an idea
  27. tap to go Next
  28. debugging
  29. “I keep missing the bus”
  30. on the phone
  31. when the test is false
  32. Yes
  33. a wireframe
  34. Add button
  35. a dark mode switch
  36. Riya
  37. pie-chart colours
  38. a named block of code
  39. missing the bus
  40. what data is collected

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