← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 548 · 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.💡 Does an app idea like a button with no action solve a real problem? (a) No (b) Yes
  2. 2.👆 The user types Zoya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Welcome, " + nameBox.text + "!";
    };
    (a) Welcome, Zoya! (b) Zoya (c) Welcome! (d) Welcome, nameBox.text!
  3. 3.👆 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
  4. 4.Which of these is true of the back button? (a) switches main sections (b) sits at the bottom (c) undoes one move (d) hides extra links
  5. 5.True or false: the screen first opens is a load event. (a) True (b) False
  6. 6.🎯 Is this a user need or a feature: a search bar? (a) a user need (b) a feature
  7. 7.💾 What number does this code show?
    let stars = 3;
    stars = stars - 3;
    stars = stars + 1;
    show(stars);
  8. 8.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 33; // start at 30
    line 2: lives = lives - 4; // take away 4
    line 3: lives = lives - 5; // take away 5
    line 4: lives = lives + 5; // add 5
    line 5: show(lives); // show it
    (a) line 2 (b) line 4 (c) line 3 (d) line 1
  9. 9.🔍 Which is the odd one out? (a) fast-flashing lights (b) icons with no labels (c) tiny tap areas (d) big touch targets
  10. 10.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “missing the bus”?
    no quiet study place: 6 votes
    missing the bus: 9 votes
    losing water bottles: 15 votes
  11. 11.True or false: a recipe finder is the best fit for a reader who finds small print hard. (a) False (b) True
  12. 12.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 45; // start at 45
    line 2: score = score - 4; // add 4
    line 3: score = score * 2; // double it
    line 4: show(score); // show it
  13. 13.Which of these is true of a tab bar? (a) switches main sections (b) goes to the last screen (c) opens a list of pages (d) hides extra links
  14. 14.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Start button: 24 px tall
    Cancel button: 52 px tall
    Help button: 68 px tall
    (a) Cancel (b) Help (c) Start
  15. 15.Which of these is a feature? (a) a search bar (b) “I forget my homework” (c) “What should I cook?” (d) “Small text is hard”
  16. 16.🔀 What is a user flow? (a) a type of font (b) a colour theme (c) a charging cable (d) the path through screens
  17. 17.True or false: your last game level fits saving on the phone. (a) False (b) True
  18. 18.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 30; // start at 30
    line 2: score = score - 3; // take away 3
    line 3: score = score + 3; // add 3
    line 4: score = score + 2; // double it
    line 5: show(score); // show it
    (a) line 1 (b) line 2 (c) line 3 (d) line 4
  19. 19.🧩 In an app, what is a slider for volume? (a) a screen (b) a button (c) data (d) an input
  20. 20.🧩 In an app, what is the game-over page? (a) a button (b) data (c) a screen (d) an input
  21. 21.🔁 What number does this code show?
    let scores = [96, 90, 11, 49, 98];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  22. 22.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Zoya", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Zoya (c) Hi, Meera
  23. 23.🧭 Which part of navigation switches main sections? (a) the back button (b) a menu button (c) a tab bar
  24. 24.Which of these is about UX (the experience)? (a) the theme colours (b) how many taps it takes (c) the font size (d) the screen layout
  25. 25.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) URL (c) CPU (d) MVP
  26. 26.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ top bar ]
    [ tab bar ]
    [ filter buttons ]
    [ big picture ]
    (a) big picture (b) top bar (c) filter buttons (d) tab bar
  27. 27.🔍 Which is the odd one out? (a) captions on videos (b) tiny tap areas (c) icons with no labels (d) colour as the only clue
  28. 28.🔍 Which is the odd one out? (a) share the download link (b) put it on an app store (c) write the store text (d) write the code
  29. 29.📊 Survey: which problem bugs you most? How many students voted in all?
    wasting pocket money: 18 votes
    no quiet study place: 3 votes
    forgetting homework: 20 votes
  30. 30.True or false: today’s step count is data. (a) False (b) True
  31. 31.True or false: a lost-and-found board solves no real problem. (a) True (b) False
  32. 32.True or false: a draft you are typing fits saving in the cloud. (a) True (b) False
  33. 33.♿ What should every icon-only button have for screen readers? (a) a text label (b) a bright colour (c) a sound (d) a long animation
  34. 34.True or false: a tiny 20 px button is good button design. (a) True (b) False
  35. 35.⚙️ What number does this app show?
    let bill = 208; // typed by the user
    let friends = 4; // typed by the user
    let share = bill / friends;
    show(share);
  36. 36.🔀 Which badge does this quiz app show?
    let marks = 79;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Bronze (c) Silver
  37. 37.True or false: a date picker is an input. (a) False (b) True
  38. 38.💡 A good app idea starts with ___. (a) a problem to solve (b) a long name (c) many colours (d) a cool logo
  39. 39.True or false: a big, easy tap area is poor button design. (a) True (b) False
  40. 40.🔢 When you make an app, what comes right after “plan the screens”? (a) test the app (b) get an idea (c) release it (d) build the app

Answer key

  1. No
  2. Welcome, Zoya!
  3. OFF
  4. undoes one move
  5. True
  6. a feature
  7. 1
  8. line 1
  9. big touch targets
  10. 6
  11. False
  12. 82
  13. switches main sections
  14. Start
  15. a search bar
  16. the path through screens
  17. True
  18. line 4
  19. an input
  20. a screen
  21. 3
  22. Hi, Meera
  23. a tab bar
  24. how many taps it takes
  25. MVP
  26. big picture
  27. captions on videos
  28. write the code
  29. 41
  30. True
  31. False
  32. False
  33. a text label
  34. False
  35. 52
  36. Silver
  37. True
  38. a problem to solve
  39. False
  40. build the app

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