← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 424 · 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.🎯 A short made-up profile of a typical user is called a ___. (a) persona (b) pixel (c) password (d) protocol
  2. 2.👆 The user taps the button 2 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) ON (b) OFF
  3. 3.True or false: “fast-flashing lights” helps everyone use the app. (a) True (b) False
  4. 4.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Badges”
    2. tap Back
    3. open “Edit photo”
    4. tap Back
    5. tap the Search tab
    Which screen are you on now?
    (a) Home (b) Edit photo (c) Badges (d) Search
  5. 5.⚙️ What number does this app show?
    let price = 240; // typed by the user
    let off = 20; // typed by the user
    let pay = price - off;
    show(pay);
  6. 6.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [text box] Phone
    [button] Back
    [text box] Email
    [text box] Name
    [slider] Text size
  7. 7.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 124; // typed by the user
    line 2: let friends = 2; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 4 (b) line 3 (c) line 2 (d) line 1
  8. 8.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) savings stickers (b) add money received (c) add money spent (d) show the balance
  9. 9.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    losing water bottles: 22 votes
    forgetting homework: 5 votes
    no quiet study place: 18 votes
    (a) forgetting homework (b) losing water bottles (c) no quiet study place
  10. 10.🧪 One test case fails. Which one?
    🎟️ 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(12) → expected 100
    Test 2: price(9) → expected 100
    Test 3: price(7) → expected 50
    (a) Test 2 (b) Test 1 (c) Test 3
  11. 11.👥 A clinic app has 220 patients, 275 doctors and 240 nurses as users. Which user group is the biggest? (a) doctors (b) nurses (c) patients
  12. 12.⚙️ In an app, is sorting the scores an input, processing or an output? (a) output (b) input (c) processing
  13. 13.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) check the answer (b) background music (c) show a question (d) show the score
  14. 14.True or false: a shared to-do list fits saving in the cloud. (a) True (b) False
  15. 15.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) show the balance (b) pie-chart colours (c) export to a file (d) savings stickers
  16. 16.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Meera", "Arjun", "Zoya", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Meera (c) Hi, Riya (d) Hi, Aman
  17. 17.🧩 How many buttons does this app screen have?
    [title] Sign Up
    [text box] Age
    [button] Start
  18. 18.🔍 Which is the odd one out? (a) a times-table quiz (b) a flashcard trainer (c) a spelling coach (d) a step counter
  19. 19.⚙️ What number does this app show?
    let km = 8; // typed by the user
    let metres = km * 1000;
    show(metres);
  20. 20.🔀 Which badge does this quiz app show?
    let marks = 26;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  21. 21.🗒️ Version 1 of a homework planner must be ready in 11 days. How many days are left for extras after the must-haves?
    add a homework task: 1 days
    set a due date: 3 days
    see tasks by day: 5 days
  22. 22.🔁 What number does this code show?
    let marks = [68, 14, 28, 29];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  23. 23.🔀 In a good flow, each screen should lead to ___. (a) a random page (b) a clear next step (c) the same screen (d) a dead end
  24. 24.🔢 In a food-order flow, which comes first: “track the order” or “pay for the order”? (a) track the order (b) pay for the order
  25. 25.🔢 In a photo-post flow, which comes first: “post the photo” or “take the photo”? (a) post the photo (b) take the photo
  26. 26.🎨 Who should you test the UX with? (a) only yourself (b) the app icon (c) real users (d) nobody
  27. 27.👥 A clinic app has 200 patients, 75 doctors and 185 nurses as users. How many more patients than nurses are there?
  28. 28.🔀 Which badge does this quiz app show?
    let marks = 37;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  29. 29.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Match report”
    2. tap the Lessons tab
    3. open “Help page”
    4. open “Video”
    How many times must you tap Back to reach the main screen of this tab?
  30. 30.🚀 Your app is at version 4.5.1. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.6.0 (b) 5.0.0 (c) 4.6.1 (d) 4.5.2
  31. 31.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Zoya", "Kabir", "Riya", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Aman (c) Hi, Arjun (d) Hi, Zoya
  32. 32.True or false: a final design uses plain grey boxes. (a) True (b) False
  33. 33.True or false: the settings page is a screen. (a) False (b) True
  34. 34.🔢 In a sign-up flow, which comes first: “see the home screen” or “enter the code sent”? (a) enter the code sent (b) see the home screen
  35. 35.True or false: a recipe finder is the best fit for a teen learning to make snacks. (a) False (b) True
  36. 36.🗒️ Version 1 of a homework planner must be ready in 14 days. How many days are left for extras after the must-haves?
    add a homework task: 1 days
    set a due date: 4 days
    see tasks by day: 5 days
  37. 37.True or false: a bus tracker is the best fit for a student who keeps forgetting due dates. (a) False (b) True
  38. 38.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Sign Up
    [button] Help
    [text box] Phone
    [text box] City
  39. 39.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Match report”
    2. open “Edit photo”
    3. open “Badges”
    4. tap Back
    Which screen are you on now?
    (a) Badges (b) Lessons (c) Edit photo (d) Match report
  40. 40.👥 A cricket club app has 295 players, 175 coaches and 265 fans as users. How many users does it have in all?

Answer key

  1. persona
  2. OFF
  3. False
  4. Search
  5. 220
  6. 1
  7. line 3
  8. savings stickers
  9. losing water bottles
  10. Test 2
  11. doctors
  12. processing
  13. background music
  14. True
  15. show the balance
  16. Hi, Riya
  17. 1
  18. a step counter
  19. 8000
  20. Bronze
  21. 2
  22. 1
  23. a clear next step
  24. pay for the order
  25. take the photo
  26. real users
  27. 15
  28. Bronze
  29. 2
  30. 5.0.0
  31. Hi, Arjun
  32. False
  33. True
  34. enter the code sent
  35. True
  36. 4
  37. False
  38. 2
  39. Edit photo
  40. 735

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