← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 895 · 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.🎨 Fewer taps to finish a task usually means ___. (a) a bigger app (b) more colours (c) worse UX (d) better UX
  2. 2.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) pie-chart colours (c) show the balance (d) add money received
  3. 3.🔁 What number does this code show?
    let marks = [18, 8, 5, 2];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  4. 4.🗒️ Version 1 of a quiz app must be ready in 13 days. How many days are left for extras after the must-haves?
    show a question: 2 days
    check the answer: 2 days
    show the score: 3 days
  5. 5.True or false: one second passes is a timer event. (a) False (b) True
  6. 6.Which of these happens at the build stage? (a) write the store text (b) write the code (c) draw the user flow (d) share the download link
  7. 7.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 30;
    }
    show(fee(5) + fee(7));
  8. 8.👥 A cricket club app has 55 players, 40 coaches and 105 fans as users. How many more fans than coaches are there?
  9. 9.⚙️ In an app, is working out a tip an input, processing or an output? (a) input (b) output (c) processing
  10. 10.Which colour pair is hard to read? (a) black on yellow (b) dark blue on white (c) yellow on white (d) white on dark green
  11. 11.Which of these helps everyone use the app? (a) tiny tap areas (b) icons with no labels (c) text that can grow (d) sudden loud sounds
  12. 12.🧪 What is the actual result of a test? (a) the app’s name (b) what the app really does (c) what we hope for (d) the test’s number
  13. 13.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 46; // start at 46
    line 2: lives = lives * 2; // double it
    line 3: lives = lives + 2; // double it
    line 4: lives = lives - 1; // take away 1
    line 5: show(lives); // show it
  14. 14.🔀 Which badge does this quiz app show?
    let marks = 43;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  15. 15.🧩 In an app, what is the log-in page? (a) data (b) an input (c) a screen (d) a button
  16. 16.💾 What number does this code show?
    let score = 8;
    score = score - 3;
    score = score + 1;
    show(score);
  17. 17.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Hint: 26 px
    Footer: 21 px
    Menu: 25 px
    Body text: 26 px
    Title: 12 px
    (a) Title (b) Menu (c) Hint (d) Footer
  18. 18.🛠️ At which stage do you connect the data? (a) the release stage (b) the idea stage (c) the build stage (d) the test stage
  19. 19.⚙️ What number does this app show?
    let bill = 144; // typed by the user
    let friends = 3; // typed by the user
    let share = bill / friends;
    show(share);
  20. 20.🖼️ How many parts (boxes) does this wireframe have?
    [ Add button ]
    [ Save button ]
    [ big picture ]
    [ tab bar ]
  21. 21.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 20;
    }
    show(fee(2) + fee(10));
  22. 22.🔢 In a photo-post flow, which comes first: “post the photo” or “open the camera screen”? (a) post the photo (b) open the camera screen
  23. 23.👥 A cricket club app has 220 players, 30 coaches and 145 fans as users. How many more players than coaches are there?
  24. 24.True or false: an alarm clock is a tool app. (a) True (b) False
  25. 25.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(650) → expected 40
    Test 2: delivery(1200) → expected 0
    Test 3: delivery(1100) → expected 0
  26. 26.🧭 Which part of navigation goes to the last screen? (a) the back button (b) a menu button (c) a tab bar
  27. 27.True or false: a homework photo scanner needs the camera. (a) True (b) False
  28. 28.🧩 Which part lets the user give the app information? (a) an icon (b) a logo (c) a title (d) an input
  29. 29.🧪 What is the ACTUAL result of Test 2?
    🎟️ 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(18) → expected 100
    Test 2: price(11) → expected 50
    Test 3: price(19) → expected 100
  30. 30.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Riya"));
    (a) Hi, name! (b) Riya (c) greet (d) Hi, Riya!
  31. 31.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) dead end (c) tab bar (d) home screen
  32. 32.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Score card”
    2. tap the Me tab
    3. open “Match report”
    4. tap Back
    5. tap the Lessons tab
    Which screen are you on now?
    (a) Match report (b) Score card (c) Quiz (d) Lessons
  33. 33.👥 A library app has 140 readers, 190 librarians and 235 volunteers as users. How many users does it have in all?
  34. 34.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 40; // start at 40
    line 2: score = score + 2; // double it
    line 3: score = score + 4; // add 4
    line 4: score = score * 2; // double it
    line 5: show(score); // show it
  35. 35.🔁 What number does this code show?
    let marks = [3, 13, 12, 8];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  36. 36.Which of these is about UX (the experience)? (a) the font size (b) how many taps it takes (c) the screen layout (d) the theme colours
  37. 37.🗒️ What is a must-have feature? (a) a colour theme (b) a nice extra (c) one the app cannot skip (d) a sound effect
  38. 38.👥 A clinic app has 165 patients, 125 doctors and 115 nurses as users. How many users does it have in all?
  39. 39.Which of these is data? (a) tap to go Next (b) a date picker (c) your friends list (d) tap to Send
  40. 40.📴 Which of these can often still work with no internet? (a) a new website (b) an online search (c) a video call (d) an installed app

Answer key

  1. better UX
  2. pie-chart colours
  3. 18
  4. 6
  5. True
  6. write the code
  7. 60
  8. 65
  9. processing
  10. yellow on white
  11. text that can grow
  12. what the app really does
  13. 93
  14. Bronze
  15. a screen
  16. 6
  17. Title
  18. the build stage
  19. 48
  20. 4
  21. 20
  22. open the camera screen
  23. 190
  24. True
  25. 3
  26. the back button
  27. True
  28. an input
  29. 50
  30. Hi, Riya!
  31. dead end
  32. Lessons
  33. 565
  34. 92
  35. 36
  36. how many taps it takes
  37. one the app cannot skip
  38. 405
  39. your friends list
  40. an installed app

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