← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 2 · 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.🚀 A privacy policy tells users ___. (a) what data is collected (b) the screen size (c) the app’s colours (d) the app’s price
  2. 2.🔍 Which is the odd one out? (a) whether users get lost (b) how easy sign-up is (c) how users feel after (d) the font size
  3. 3.🔍 Which is the odd one out? (a) how users feel after (b) the screen layout (c) how many taps it takes (d) how fast a task is done
  4. 4.🧩 Which part lets the user give the app information? (a) a title (b) a logo (c) an input (d) an icon
  5. 5.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 4 (c) 6 (d) 5
  6. 6.🚀 Your app is at version 1.2.5. The next release is a big redesign that changes how the app works. What is its version number? (a) 1.3.5 (b) 2.0.0 (c) 1.3.0 (d) 1.2.6
  7. 7.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Me tab
    2. open “Map”
    3. open “Video”
    4. open “Score card”
    5. open “Map”
    Which screen are you on now?
    (a) Score card (b) Lessons (c) Video (d) Map
  8. 8.🎯 Which app would help this user most: a grandparent with weak eyesight? (a) a big-text reader (b) a bus tracker (c) a recipe finder (d) a pocket-money tracker
  9. 9.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(3));
  10. 10.👆 Code that runs when an event happens is called a ___. (a) handler (b) hashtag (c) header (d) headline
  11. 11.🔀 What number does this shop app show?
    let total = 880;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  12. 12.📅 An app team plans for 2 days, builds for 8 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  13. 13.🧩 In an app, what is your saved notes? (a) an input (b) a screen (c) data (d) a button
  14. 14.♿ Does this help everyone, or make the app harder to use: icons with no labels? (a) makes it harder (b) helps everyone
  15. 15.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) on the phone (b) in the cloud
  16. 16.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. open “Help page”
    3. tap the Quiz tab
    How many times must you tap Back to reach the main screen of this tab?
  17. 17.Which colour pair is easy to read? (a) dark blue on white (b) pale pink on white (c) dark blue on black (d) yellow on white
  18. 18.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Settings
    [button] Back
    [text box] Age
    [button] Start
    [switch] Remind me
    [button] Save
  19. 19.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Back button: 32 px tall
    Next button: 56 px tall
    Start button: 52 px tall
    (a) Start (b) Next (c) Back
  20. 20.💾 Saving data in the cloud lets you ___. (a) skip the internet (b) never need a password (c) shrink the app (d) use it on any device
  21. 21.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(450) → expected 0
    Test 2: delivery(500) → expected 0
    Test 3: delivery(200) → expected 40
  22. 22.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Meera", "Aman", "Zoya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Aman (c) Hi, Arjun (d) Hi, Zoya
  23. 23.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 50;
    }
    show(fee(4) + fee(10));
  24. 24.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(1) + points(0));
  25. 25.💾 What does this code show? (Positions start at 0.)
    let notes = ["Science", "Art", "Sports"];
    show(notes[2]);
    (a) Science (b) Sports (c) Art
  26. 26.🔀 What does this battery rule show?
    let battery = 34;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  27. 27.💾 Which can hold many values in order? (a) a single number (b) a switch (c) a button (d) a list
  28. 28.🔀 What does this PIN rule show?
    let pin = "71923";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  29. 29.💾 What is a variable? (a) a picture (b) a named box for a value (c) a phone setting (d) a type of screen
  30. 30.🔀 What number does this shop app show?
    let total = 260;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  31. 31.🎯 What is the best first step to learn what users need? (a) write the code (b) pick the colours (c) ask and watch users (d) guess on your own
  32. 32.💾 pop() takes off the last item. What does this code show?
    let friends = ["Zoya", "Meera", "Aman", "Kabir"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Zoya (b) Meera (c) Aman (d) Kabir
  33. 33.🔁 What number does this code show?
    let runs = [7, 19, 13, 4];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  34. 34.True or false: tap to Send is a screen. (a) False (b) True
  35. 35.True or false: you write down the bugs at the build stage. (a) True (b) False
  36. 36.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(30, 2));
  37. 37.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a final design (b) a wireframe
  38. 38.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) share tasks to friends (b) see tasks by day (c) set a due date (d) add a homework task
  39. 39.🚀 Your app is at version 4.2.5. The next release adds a new feature. What is its version number? (a) 5.0.0 (b) 4.3.5 (c) 4.2.6 (d) 4.3.0
  40. 40.💡 Which app idea solves this problem: a patient misses doses? (a) a homework planner (b) a study-room finder (c) a bill splitter (d) a medicine reminder

Answer key

  1. what data is collected
  2. the font size
  3. the screen layout
  4. an input
  5. 5
  6. 2.0.0
  7. Map
  8. a big-text reader
  9. 90
  10. handler
  11. 830
  12. 14
  13. data
  14. makes it harder
  15. in the cloud
  16. 0
  17. dark blue on white
  18. 2
  19. Back
  20. use it on any device
  21. 40
  22. Hi, Zoya
  23. 50
  24. 20
  25. Sports
  26. Battery OK
  27. a list
  28. Use 4 digits
  29. a named box for a value
  30. 260
  31. ask and watch users
  32. Aman
  33. 43
  34. False
  35. False
  36. 60
  37. a wireframe
  38. share tasks to friends
  39. 4.3.0
  40. a medicine reminder

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