← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 569 · 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.👆 The user taps the button 2 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 3) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  2. 2.True or false: a website needs no installing. (a) False (b) True
  3. 3.🔢 When you make an app, which comes first: “get an idea” or “plan the screens”? (a) get an idea (b) plan the screens
  4. 4.Which of these is a user need? (a) “What should I cook?” (b) a search bar (c) a dark mode switch (d) a share button
  5. 5.🔢 In a photo-post flow, which comes FIRST? (a) add a filter (b) open the camera screen (c) take the photo (d) write a caption
  6. 6.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [text box] Name
    [text box] City
    [text box] Phone
    [button] Back
  7. 7.🔐 Which permission does a barcode scanner really need? (a) the microphone (b) contacts (c) location (d) the camera
  8. 8.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Confirm → Cart → Shop → Address
    Design B: Home → Item → Confirm → Shop
  9. 9.🧭 Which part of navigation goes to the last screen? (a) a menu button (b) a tab bar (c) the back button
  10. 10.🛠️ At which stage do you add the buttons? (a) the build stage (b) the test stage (c) the idea stage (d) the plan stage
  11. 11.🚀 A privacy policy tells users ___. (a) the screen size (b) the app’s price (c) what data is collected (d) the app’s colours
  12. 12.🎯 Is this a user need or a feature: a share button? (a) a user need (b) a feature
  13. 13.🖼️ In this wireframe (top to bottom), what is right below the filter buttons?
    [ big picture ]
    [ filter buttons ]
    [ search box ]
    [ top bar ]
    [ Save button ]
    (a) Save button (b) top bar (c) search box (d) big picture
  14. 14.🛠️ At which stage do you talk to possible users? (a) the release stage (b) the idea stage (c) the build stage (d) the test stage
  15. 15.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 36; // start at 36
    line 2: lives = lives + 2; // add 2
    line 3: lives = lives - 6; // take away 4
    line 4: lives = lives - 2; // take away 2
    line 5: show(lives); // show it
  16. 16.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
  17. 17.🔍 Which is the odd one out? (a) typing your age (b) adding up a bill (c) checking a password (d) sorting the scores
  18. 18.💡 Does an app idea like a bill splitter solve a real problem? (a) Yes (b) No
  19. 19.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 40; // start at 40
    line 2: score = score * 3; // double it
    line 3: score = score + 6; // add 6
    line 4: score = score - 2; // take away 2
    line 5: show(score); // show it
  20. 20.🔁 What number does this code show?
    let marks = [59, 36, 11, 65, 99];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  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(10) + fee(4));
  22. 22.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 40;
    }
    show(fee(3) + fee(6));
  23. 23.Which of these helps everyone use the app? (a) fast-flashing lights (b) tiny tap areas (c) big touch targets (d) colour as the only clue
  24. 24.Which of these is true of an app? (a) needs no installing (b) comes from an app store (c) has a web address (d) opens from a link
  25. 25.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 18 votes
    losing water bottles: 17 votes
    wasting pocket money: 15 votes
    (a) wasting pocket money (b) losing water bottles (c) no quiet study place
  26. 26.True or false: “icons with no labels” makes the app harder to use. (a) True (b) False
  27. 27.🔁 list.length tells you ___. (a) the last item (b) how many items it has (c) the first item (d) the biggest item
  28. 28.🔀 What does >= mean? (a) less than (b) not equal (c) smaller or equal (d) greater than or equal
  29. 29.Which colour pair is easy to read? (a) pale pink on white (b) dark blue on black (c) red on green (d) black on pale grey
  30. 30.🎨 Is this about UI or UX: the theme colours? (a) UX (b) UI
  31. 31.🖼️ In this wireframe (top to bottom), what is right above the list of items?
    [ Add button ]
    [ search box ]
    [ menu icon ]
    [ list of items ]
    [ tab bar ]
    (a) menu icon (b) search box (c) Add button (d) tab bar
  32. 32.Which of these app ideas solves no real problem? (a) a medicine reminder (b) a bill splitter (c) a lost-and-found board (d) a button with no action
  33. 33.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(1) + points(3));
  34. 34.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) add more colours (c) buy a new phone (d) find where it goes wrong
  35. 35.🔢 When you make an app, which comes first: “release it” or “plan the screens”? (a) plan the screens (b) release it
  36. 36.Which of these is true of a website? (a) opens from a link (b) has a home-screen icon (c) comes from an app store (d) is installed on a phone
  37. 37.🔢 In a sign-up flow, which comes first: “open the app” or “see the home screen”? (a) see the home screen (b) open the app
  38. 38.True or false: how easy sign-up is is about UX (the experience). (a) True (b) False
  39. 39.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Zoya", "Riya", "Meera", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Kabir (c) Hi, Zoya (d) Hi, Riya
  40. 40.🔍 Which is the odd one out? (a) big touch targets (b) text that can grow (c) strong colour contrast (d) tiny tap areas

Answer key

  1. 2
  2. True
  3. get an idea
  4. “What should I cook?”
  5. open the camera screen
  6. 1
  7. the camera
  8. 1
  9. the back button
  10. the build stage
  11. what data is collected
  12. a feature
  13. search box
  14. the idea stage
  15. 30
  16. a user need
  17. typing your age
  18. Yes
  19. 84
  20. 3
  21. 20
  22. 40
  23. big touch targets
  24. comes from an app store
  25. no quiet study place
  26. True
  27. how many items it has
  28. greater than or equal
  29. black on pale grey
  30. UI
  31. menu icon
  32. a button with no action
  33. 50
  34. find where it goes wrong
  35. plan the screens
  36. opens from a link
  37. open the app
  38. True
  39. Hi, Kabir
  40. tiny tap areas

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