← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 730 · 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.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) show the balance (b) pie-chart colours (c) export to a file (d) savings stickers
  2. 2.🔁 list.length tells you ___. (a) the biggest item (b) how many items it has (c) the last item (d) the first item
  3. 3.🗒️ Version 1 of a quiz app must be ready in 12 days. How many days are left for extras after the must-haves?
    show a question: 2 days
    check the answer: 3 days
    show the score: 4 days
  4. 4.👆 The user taps the button 5 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  5. 5.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    wasting pocket money: 21 votes
    missing the bus: 5 votes
    no quiet study place: 6 votes
    (a) no quiet study place (b) missing the bus (c) wasting pocket money
  6. 6.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 50; // start at 47
    line 2: lives = lives * 2; // double it
    line 3: lives = lives + 3; // add 3
    line 4: show(lives); // show it
  7. 7.🚀 Your app is at version 4.4.8. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.4.9 (b) 5.0.0 (c) 4.5.8 (d) 4.5.0
  8. 8.👆 The user taps the button 2 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  9. 9.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Friend list”
    2. tap Back
    3. open “Video”
    Which screen are you on now?
    (a) Quiz (b) Lessons (c) Friend list (d) Video
  10. 10.True or false: you connect the data at the build stage. (a) False (b) True
  11. 11.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(35, 3));
  12. 12.True or false: a wireframe uses plain grey boxes. (a) True (b) False
  13. 13.True or false: buttons almost touching is good button design. (a) True (b) False
  14. 14.🎨 UI stands for user ___. (a) input (b) internet (c) interface (d) idea
  15. 15.💾 pop() takes off the last item. What does this code show?
    let songs = ["Sunrise", "Rain", "Stars"];
    songs.pop();
    show(songs[songs.length - 1]);
    (a) Sunrise (b) Stars (c) Rain
  16. 16.🔍 Which is the odd one out? (a) fast-flashing lights (b) icons with no labels (c) strong colour contrast (d) sudden loud sounds
  17. 17.🔍 Which is the odd one out? (a) spot a problem to solve (b) talk to possible users (c) list what users need (d) try every button
  18. 18.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Body text: 16 px
    Hint: 24 px
    Footer: 12 px
    Title: 18 px
    (a) Title (b) Body text (c) Hint (d) Footer
  19. 19.True or false: your last game level fits saving on the phone. (a) False (b) True
  20. 20.🧰 Why write a function? (a) to make code longer (b) to hide errors (c) to reuse code (d) to slow the app
  21. 21.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) see tasks by day (c) share tasks to friends (d) add a homework task
  22. 22.True or false: a lost-and-found board solves a real problem. (a) True (b) False
  23. 23.🗒️ Version 1 of a quiz app must be ready in 12 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: 5 days
  24. 24.True or false: you let friends try it at the test stage. (a) False (b) True
  25. 25.True or false: a final design has no real colours. (a) True (b) False
  26. 26.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Meera", "Aman"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Meera (c) Hi, Aman
  27. 27.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) makes it harder (b) helps everyone
  28. 28.Which of these is true of a website? (a) is installed on a phone (b) comes from an app store (c) has a web address (d) has a home-screen icon
  29. 29.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. tap the Home tab
    3. tap the Profile tab
    How many times must you tap Back to reach the main screen of this tab?
  30. 30.👆 The user taps the button 2 times. What number does the label show now?
    let coins = 5;
    button.onTap = function () {
      coins = coins + 1;
      label.text = coins;
    };
  31. 31.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(5));
  32. 32.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    losing water bottles: 15 votes
    no quiet study place: 25 votes
    forgetting birthdays: 14 votes
    (a) losing water bottles (b) forgetting birthdays (c) no quiet study place
  33. 33.⚙️ What number does this app show?
    let km = 15; // typed by the user
    let metres = km * 1000;
    show(metres);
  34. 34.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “forgetting homework”?
    forgetting homework: 8 votes
    no quiet study place: 24 votes
    losing water bottles: 3 votes
  35. 35.🎯 Is this a user need or a feature: a search bar? (a) a user need (b) a feature
  36. 36.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 36; // start at 35
    line 2: lives = lives + 4; // add 4
    line 3: lives = lives + 5; // add 5
    line 4: lives = lives + 5; // add 5
    line 5: show(lives); // show it
    (a) line 2 (b) line 3 (c) line 4 (d) line 1
  37. 37.📅 An app team plans for 4 days, builds for 6 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
  38. 38.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 51; // start at 50
    line 2: coins = coins * 2; // double it
    line 3: coins = coins * 2; // double it
    line 4: show(coins); // show it
  39. 39.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(60, 2));
  40. 40.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) custom alert sounds (c) see today’s total (d) log a glass of water

Answer key

  1. show the balance
  2. how many items it has
  3. 3
  4. 2
  5. wasting pocket money
  6. 97
  7. 5.0.0
  8. 2
  9. Video
  10. True
  11. 105
  12. True
  13. False
  14. interface
  15. Rain
  16. strong colour contrast
  17. try every button
  18. Footer
  19. True
  20. to reuse code
  21. share tasks to friends
  22. True
  23. 3
  24. True
  25. False
  26. Hi, Aman
  27. helps everyone
  28. has a web address
  29. 0
  30. 7
  31. 10
  32. no quiet study place
  33. 15000
  34. 16
  35. a feature
  36. line 1
  37. 5
  38. 200
  39. 120
  40. custom alert sounds

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