← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 24 · 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 of these happens at the build stage? (a) talk to possible users (b) draw the user flow (c) share the download link (d) add the buttons
  2. 2.👥 A library app has 165 readers, 160 librarians and 200 volunteers as users. Which user group is the biggest? (a) readers (b) volunteers (c) librarians
  3. 3.🧭 Which part of navigation switches main sections? (a) a menu button (b) the back button (c) a tab bar
  4. 4.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting homework: 7 votes
    losing water bottles: 3 votes
    no quiet study place: 6 votes
  5. 5.📅 An app team plans for 3 days, builds for 7 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
  6. 6.True or false: a wireframe uses the final pictures. (a) False (b) True
  7. 7.🔁 What number does this code show?
    let scores = [6, 19, 5, 4, 11];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  8. 8.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Next button: 72 px tall
    Help button: 60 px tall
    Send button: 36 px tall
    (a) Help (b) Send (c) Next
  9. 9.Which of these app ideas solves a real problem? (a) a blank grey screen (b) an app that just says hi (c) a button with no action (d) a medicine reminder
  10. 10.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) buy a new phone (c) delete the app (d) find where it goes wrong
  11. 11.🔐 Is this permission request fair or too much: calling app → contacts? (a) fair (b) too much
  12. 12.🔁 What number does this code show?
    let runs = [12, 8, 3, 5];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  13. 13.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting homework: 7 votes
    forgetting birthdays: 3 votes
    wasting pocket money: 14 votes
    (a) forgetting homework (b) forgetting birthdays (c) wasting pocket money
  14. 14.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Help page”
    2. tap Back
    3. open “Map”
    4. open “Help page”
    5. tap Back
    Which screen are you on now?
    (a) Chat (b) Feed (c) Map (d) Help page
  15. 15.🗒️ Version 1 of a homework planner must be ready in 7 days. How many days are left for extras after the must-haves?
    add a homework task: 2 days
    set a due date: 3 days
    see tasks by day: 2 days
  16. 16.🧪 A test fails when ___. (a) actual is not expected (b) both are the same (c) the app is new (d) the font is big
  17. 17.🧩 Which of these is a button on this screen?
    [title] New Note
    [button] Cancel
    [button] Next
    [button] Start
    [text box] Name
    [text box] City
    [text box] Notes
    (a) City (b) Name (c) Notes (d) Cancel
  18. 18.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Riya", "Meera", "Arjun", "Zoya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Riya (c) Hi, Meera (d) Hi, Zoya
  19. 19.🔍 Which is the odd one out? (a) a buzz (vibration) (b) sorting the scores (c) a pop-up message (d) a beep sound
  20. 20.Which of these fits saving on the phone? (a) a class leaderboard (b) a shared to-do list (c) chat messages to friends (d) your last game level
  21. 21.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right > 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(7) → expected Pass
    Test 2: result(8) → expected Pass
    Test 3: result(5) → expected Try again
    (a) Test 2 (b) Test 3 (c) Test 1
  22. 22.👆 The user taps the button 3 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  23. 23.👥 A clinic app has 85 patients, 200 doctors and 255 nurses as users. How many users does it have in all?
  24. 24.True or false: a switch for dark mode is an input. (a) False (b) True
  25. 25.⚙️ What number does this app show?
    let price = 90; // typed by the user
    let qty = 6; // typed by the user
    let total = price * qty;
    show(total);
  26. 26.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 33; // start at 32
    line 2: lives = lives - 4; // take away 4
    line 3: lives = lives - 2; // take away 2
    line 4: lives = lives + 3; // add 3
    line 5: show(lives); // show it
  27. 27.🔁 What number does this code show?
    let scores = [3, 8, 7];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  28. 28.Which of these is true of a menu button? (a) hides extra links (b) undoes one move (c) switches main sections (d) sits at the bottom
  29. 29.True or false: a clear word like Save is good button design. (a) True (b) False
  30. 30.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(4) + points(0));
  31. 31.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 36; // start at 33
    line 2: lives = lives * 2; // double it
    line 3: lives = lives + 5; // add 5
    line 4: show(lives); // show it
  32. 32.💾 Where should the app save photos on two devices: on the phone or in the cloud? (a) on the phone (b) in the cloud
  33. 33.🌐 Which program do you need to open a website? (a) a calculator (b) an app store (c) a web browser (d) a camera app
  34. 34.🔁 list.length tells you ___. (a) how many items it has (b) the biggest item (c) the first item (d) the last item
  35. 35.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Back button: 56 px tall
    Save button: 56 px tall
    Send button: 40 px tall
    Help button: 64 px tall
    (a) Help (b) Back (c) Save (d) Send
  36. 36.Which of these is a screen? (a) tap to go Next (b) tap to Save (c) tap to Start (d) the home page of an app
  37. 37.🔢 In a sign-up flow, which comes FIRST? (a) open the app (b) see the home screen (c) tap “Sign up” (d) type name and email
  38. 38.🧭 About how many tabs suit a tab bar best? (a) 1 (b) 3 to 5 (c) 20 (d) 10 to 12
  39. 39.🔀 What does this PIN rule show?
    let pin = "859";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  40. 40.💡 Which app idea solves this problem: the library is always full? (a) a medicine reminder (b) a homework planner (c) a study-room finder (d) a bill splitter

Answer key

  1. add the buttons
  2. volunteers
  3. a tab bar
  4. 16
  5. 13
  6. False
  7. 45
  8. Send
  9. a medicine reminder
  10. find where it goes wrong
  11. fair
  12. 28
  13. wasting pocket money
  14. Map
  15. 0
  16. actual is not expected
  17. Cancel
  18. Hi, Zoya
  19. sorting the scores
  20. your last game level
  21. Test 1
  22. 2
  23. 540
  24. True
  25. 540
  26. 29
  27. 8
  28. hides extra links
  29. True
  30. 50
  31. 71
  32. in the cloud
  33. a web browser
  34. how many items it has
  35. Send
  36. the home page of an app
  37. open the app
  38. 3 to 5
  39. Use 4 digits
  40. a study-room finder

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