← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 110 · 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 screen has 11 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
  2. 2.True or false: the settings page is a button. (a) True (b) False
  3. 3.🔀 Which badge does this quiz app show?
    let marks = 100;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  4. 4.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a wireframe (b) a final design
  5. 5.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 34; // start at 33
    line 2: lives = lives + 4; // add 4
    line 3: lives = lives + 2; // add 2
    line 4: lives = lives + 5; // add 5
    line 5: show(lives); // show it
  6. 6.🖼️ In this wireframe (top to bottom), what is right above the title text?
    [ top bar ]
    [ title text ]
    [ menu icon ]
    [ tab bar ]
    (a) tab bar (b) top bar (c) menu icon
  7. 7.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 33; // start at 33
    line 2: lives = lives - 7; // take away 5
    line 3: lives = lives + 3; // add 3
    line 4: lives = lives + 4; // add 4
    line 5: show(lives); // show it
  8. 8.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(18));
  9. 9.True or false: a slider for volume is data. (a) True (b) False
  10. 10.🧩 How many buttons does this app screen have?
    [title] Sign Up
    [text box] Email
    [button] Back
    [slider] Text size
  11. 11.Which of these makes the app harder to use? (a) captions on videos (b) big touch targets (c) icons with no labels (d) text that can grow
  12. 12.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Friend list”
    2. open “Map”
    3. tap Back
    4. tap the Chat tab
    How many times must you tap Back to reach the main screen of this tab?
  13. 13.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “losing water bottles”?
    wasting pocket money: 15 votes
    forgetting homework: 4 votes
    losing water bottles: 9 votes
  14. 14.🗂️ What kind of app is a times-table quiz? (a) a game (b) a learning app (c) a health app (d) a tool app
  15. 15.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age < 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(17) → expected 100
    Test 2: price(13) → expected 100
    Test 3: price(9) → expected 50
  16. 16.True or false: tap to Save is a button. (a) False (b) True
  17. 17.💡 Which app idea solves this problem: bottles go missing at school? (a) a study-room finder (b) a homework planner (c) a medicine reminder (d) a lost-and-found board
  18. 18.Which of these requests is fair? (a) calculator → location (b) torch → contacts (c) quiz app → microphone (d) calling app → contacts
  19. 19.🔢 In a photo-post flow, what comes right after “add a filter”? (a) open the camera screen (b) post the photo (c) write a caption (d) take the photo
  20. 20.True or false: a blank grey screen solves a real problem. (a) False (b) True
  21. 21.True or false: a recipe finder is the best fit for a cook with no idea for dinner. (a) True (b) False
  22. 22.🔀 What does >= mean? (a) not equal (b) greater than or equal (c) smaller or equal (d) less than
  23. 23.🔁 What number does this code show?
    let scores = [7, 2, 12];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  24. 24.🗒️ In MVP, the M stands for ___. (a) maximum (b) music (c) mobile (d) minimum
  25. 25.Which of these is true of an app? (a) opens from a link (b) is installed on a phone (c) has a web address (d) opens in a web browser
  26. 26.💡 Which app idea solves this problem: the library is always full? (a) a lost-and-found board (b) a medicine reminder (c) a study-room finder (d) a bill splitter
  27. 27.💾 What number does this code show?
    let friends = ["Arjun", "Kabir", "Riya"];
    friends.push("Aman");
    friends.push("Zoya");
    show(friends.length);
  28. 28.True or false: today’s step count is a screen. (a) True (b) False
  29. 29.🔀 What does if / else let an app do? (a) draw a screen (b) repeat forever (c) pick one of two actions (d) save a photo
  30. 30.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(90, 3));
  31. 31.🖼️ How many parts (boxes) does this wireframe have?
    [ Save button ]
    [ Add button ]
    [ tab bar ]
    [ top bar ]
  32. 32.True or false: photos on two devices fits saving in the cloud. (a) False (b) True
  33. 33.🖼️ In this wireframe (top to bottom), what is right below the list of items?
    [ list of items ]
    [ title text ]
    [ Add button ]
    [ menu icon ]
    (a) menu icon (b) title text (c) Add button
  34. 34.Which of these requests is fair? (a) camera app → camera (b) timer → your photos (c) calculator → location (d) quiz app → microphone
  35. 35.👆 The user taps the button 1 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 3) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  36. 36.🎯 Why learn about users before you build? (a) to slow it down (b) to make it longer (c) to build what they need (d) to pick a logo
  37. 37.True or false: you share the download link at the release stage. (a) False (b) True
  38. 38.👆 The user taps the button 5 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) OFF (b) ON
  39. 39.🔢 After an app is released, which comes first: “test it again” or “read user reviews”? (a) test it again (b) read user reviews
  40. 40.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 41; // start at 39
    line 2: lives = lives + 5; // add 5
    line 3: lives = lives * 2; // double it
    line 4: lives = lives + 3; // add 3
    line 5: show(lives); // show it

Answer key

  1. 7
  2. False
  3. Gold
  4. a final design
  5. 44
  6. top bar
  7. 33
  8. 36
  9. False
  10. 1
  11. icons with no labels
  12. 0
  13. 6
  14. a learning app
  15. 3
  16. True
  17. a lost-and-found board
  18. calling app → contacts
  19. write a caption
  20. False
  21. True
  22. greater than or equal
  23. 12
  24. minimum
  25. is installed on a phone
  26. a study-room finder
  27. 5
  28. False
  29. pick one of two actions
  30. 270
  31. 4
  32. True
  33. title text
  34. camera app → camera
  35. 1
  36. to build what they need
  37. True
  38. ON
  39. read user reviews
  40. 95

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