← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 99 · 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 can WAIT for a later version? (a) savings stickers (b) add money spent (c) add money received (d) show the balance
  2. 2.👆 The user types Arjun in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hi, " + nameBox.text + "!";
    };
    (a) Hi, nameBox.text! (b) Hi, Arjun! (c) Arjun (d) Hi!
  3. 3.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Help page”
    2. tap Back
    3. open “Map”
    Which screen are you on now?
    (a) Help page (b) Lessons (c) Quiz (d) Map
  4. 4.True or false: a shared to-do list fits saving in the cloud. (a) True (b) False
  5. 5.🚀 What should an app ask for only when it really needs it? (a) its name (b) a font (c) a permission (d) its icon
  6. 6.🔢 After an app is released, which comes first: “fix and improve” or “test it again”? (a) test it again (b) fix and improve
  7. 7.🧰 How do you run (call) a function called greet? (a) greet() (b) greet[] (c) #greet (d) run greet
  8. 8.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(65, 2));
  9. 9.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) water animations (c) see today’s total (d) log a glass of water
  10. 10.📅 An app team plans for 5 days, builds for 10 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
  11. 11.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) find where it goes wrong (c) buy a new phone (d) delete the app
  12. 12.True or false: photos on two devices fits saving on the phone. (a) True (b) False
  13. 13.📴 Which of these can often still work with no internet? (a) an online search (b) an installed app (c) a new website (d) a video call
  14. 14.🔁 What number does this code show?
    let scores = [3, 1, 5];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  15. 15.🎯 What is the best first step to learn what users need? (a) pick the colours (b) guess on your own (c) write the code (d) ask and watch users
  16. 16.🔢 In a sign-up flow, what comes right after “type name and email”? (a) enter the code sent (b) see the home screen (c) tap “Sign up” (d) make a password
  17. 17.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 33; // start at 31
    line 2: stars = stars - 2; // take away 2
    line 3: stars = stars - 5; // take away 5
    line 4: stars = stars - 3; // take away 3
    line 5: show(stars); // show it
    (a) line 1 (b) line 4 (c) line 2 (d) line 3
  18. 18.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(20, 5));
  19. 19.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(2) + fee(9));
  20. 20.🔍 Which is the odd one out? (a) sudden loud sounds (b) labels on every icon (c) tiny tap areas (d) icons with no labels
  21. 21.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Quiz tab
    2. open “Edit photo”
    3. tap the Lessons tab
    How many times must you tap Back to reach the main screen of this tab?
  22. 22.True or false: a website comes from an app store. (a) True (b) False
  23. 23.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) pick a theme colour (c) share tasks to friends (d) see tasks by day
  24. 24.True or false: “captions on videos” makes the app harder to use. (a) False (b) True
  25. 25.👥 A library app has 255 readers, 125 librarians and 225 volunteers as users. How many users does it have in all?
  26. 26.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 35; // start at 35
    line 2: score = score + 3; // add 3
    line 3: score = score + 2; // double it
    line 4: show(score); // show it
  27. 27.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(16));
  28. 28.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(60, 3));
  29. 29.👥 A clinic app has 230 patients, 195 doctors and 120 nurses as users. How many more patients than nurses are there?
  30. 30.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) water animations (b) custom alert sounds (c) share your streak (d) set a reminder time
  31. 31.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 45; // typed by the user
    line 2: let qty = 5; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 3 (b) line 1 (c) line 2 (d) line 4
  32. 32.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Hint: 12 px
    Menu: 26 px
    Title: 17 px
    (a) Title (b) Hint (c) Menu
  33. 33.Which colour pair is easy to read? (a) light grey on white (b) red on green (c) white on dark green (d) yellow on white
  34. 34.👆 What kind of event is this: the search box changes? (a) a text event (b) a tap event (c) a load event (d) a timer event
  35. 35.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(10));
  36. 36.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(18));
  37. 37.👥 A cricket club app has 295 players, 255 coaches and 50 fans as users. Which user group is the biggest? (a) players (b) coaches (c) fans
  38. 38.📱 Where do people usually download phone apps from? (a) a charger (b) a web server (c) an app store (d) a printer
  39. 39.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 34; // start at 34
    line 2: stars = stars - 2; // add 2
    line 3: stars = stars * 2; // double it
    line 4: show(stars); // show it
  40. 40.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) MVP (c) URL (d) FAQ

Answer key

  1. savings stickers
  2. Hi, Arjun!
  3. Map
  4. True
  5. a permission
  6. fix and improve
  7. greet()
  8. 130
  9. water animations
  10. 18
  11. find where it goes wrong
  12. False
  13. an installed app
  14. 9
  15. ask and watch users
  16. make a password
  17. line 1
  18. 100
  19. 60
  20. labels on every icon
  21. 0
  22. False
  23. see tasks by day
  24. False
  25. 605
  26. 76
  27. 48
  28. 180
  29. 110
  30. set a reminder time
  31. line 3
  32. Hint
  33. white on dark green
  34. a text event
  35. 20
  36. 54
  37. players
  38. an app store
  39. 64
  40. MVP

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