← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 303 · 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.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a final design (b) a wireframe
  2. 2.🔘 Is this good or poor button design: icons with no meaning? (a) poor design (b) good design
  3. 3.🔢 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
  4. 4.🔁 What number does this code show?
    let scores = [11, 20, 13, 20];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  5. 5.🚀 What should an app ask for only when it really needs it? (a) a font (b) its icon (c) a permission (d) its name
  6. 6.🧩 In an app, what is tap to go Next? (a) a screen (b) data (c) an input (d) a button
  7. 7.True or false: a birthday list of friends needs the microphone. (a) True (b) False
  8. 8.🧪 Who else should try an app before release? (a) the app icon (b) only the coder (c) nobody (d) real users
  9. 9.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Edit photo”
    2. open “Edit photo”
    3. open “Friend list”
    Which screen are you on now?
    (a) Feed (b) Edit photo (c) Chat (d) Friend list
  10. 10.👆 The user taps the button 6 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
  11. 11.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 31; // start at 31
    line 2: lives = lives * 2; // double it
    line 3: lives = lives + 5; // add 2
    line 4: show(lives); // show it
  12. 12.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “forgetting homework”?
    losing water bottles: 18 votes
    forgetting homework: 6 votes
    missing the bus: 12 votes
  13. 13.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hi, " + nameBox.text + "!";
    };
    (a) Hi, Meera! (b) Hi, nameBox.text! (c) Meera (d) Hi!
  14. 14.Which of these is true of a wireframe? (a) uses the final pictures (b) has the real colours (c) shows the real fonts (d) uses plain grey boxes
  15. 15.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Riya", "Zoya", "Meera", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Aman (c) Hi, Zoya (d) Hi, Kabir
  16. 16.👆 The user taps the button 2 times. What number does the label show now?
    let coins = 2;
    button.onTap = function () {
      coins = coins + 4;
      label.text = coins;
    };
  17. 17.Which colour pair is easy to read? (a) light grey on white (b) black on pale grey (c) yellow on white (d) dark blue on black
  18. 18.👥 A library app has 150 readers, 170 librarians and 185 volunteers as users. Which user group is the biggest? (a) librarians (b) readers (c) volunteers
  19. 19.🌗 Is pale pink on white easy or hard to read on a button? (a) easy to read (b) hard to read
  20. 20.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
  21. 21.🌐 Which program do you need to open a website? (a) an app store (b) a camera app (c) a web browser (d) a calculator
  22. 22.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “forgetting homework”?
    no quiet study place: 23 votes
    wasting pocket money: 7 votes
    forgetting homework: 12 votes
  23. 23.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ title text ]
    [ search box ]
    [ top bar ]
    [ tab bar ]
    (a) top bar (b) search box (c) tab bar (d) title text
  24. 24.🔍 Which is the odd one out? (a) how many taps it takes (b) how users feel after (c) the button colours (d) whether users get lost
  25. 25.🔢 After an app is released, which comes first: “release an update” or “list what to fix”? (a) release an update (b) list what to fix
  26. 26.🔍 Which is the odd one out? (a) the button colours (b) how many taps it takes (c) the theme colours (d) the icon shapes
  27. 27.🔀 In this course’s code, which sign tests “is equal to”? (a) !== (b) === (c) = (d) =>
  28. 28.🔀 What does this sign-up rule show?
    let age = 17;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  29. 29.🔀 What does this battery rule show?
    let battery = 61;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  30. 30.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 47; // start at 45
    line 2: score = score * 2; // double it
    line 3: score = score + 6; // add 6
    line 4: show(score); // show it
  31. 31.Which of these is a screen? (a) tap to Save (b) the game-over page (c) a switch for dark mode (d) today’s step count
  32. 32.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [slider] Text size
    [button] Save
    [text box] Phone
    (a) Phone (b) Save (c) Text size
  33. 33.🔘 Is this good or poor button design: grey text on grey? (a) good design (b) poor design
  34. 34.🔀 Which badge does this quiz app show?
    let marks = 62;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Gold (c) Bronze
  35. 35.💾 pop() takes off the last item. What does this code show?
    let friends = ["Riya", "Zoya", "Aman", "Kabir", "Meera"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Aman (b) Kabir (c) Riya (d) Zoya
  36. 36.🔀 What does >= mean? (a) less than (b) greater than or equal (c) not equal (d) smaller or equal
  37. 37.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [text box] City
    [button] Send
    [button] Next
    [text box] Phone
    [button] Done
    (a) City (b) Next (c) Phone
  38. 38.🔀 What does this PIN rule show?
    let pin = "5402";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  39. 39.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 42; // start at 42
    line 2: score = score - 3; // add 3
    line 3: score = score - 1; // take away 1
    line 4: show(score); // show it
  40. 40.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [text box] Subject
    [button] Send
    (a) Send (b) Subject

Answer key

  1. a final design
  2. poor design
  3. open the camera screen
  4. 64
  5. a permission
  6. a button
  7. False
  8. real users
  9. Friend list
  10. OFF
  11. 67
  12. 12
  13. Hi, Meera!
  14. uses plain grey boxes
  15. Hi, Kabir
  16. 10
  17. black on pale grey
  18. volunteers
  19. hard to read
  20. UX
  21. a web browser
  22. 11
  23. tab bar
  24. the button colours
  25. list what to fix
  26. how many taps it takes
  27. ===
  28. Welcome!
  29. Battery OK
  30. 100
  31. the game-over page
  32. Save
  33. poor design
  34. Silver
  35. Kabir
  36. greater than or equal
  37. Next
  38. PIN saved
  39. 38
  40. Send

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