← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 75 · 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.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 400) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(650) → expected 0
    Test 2: delivery(300) → expected 40
    Test 3: delivery(400) → expected 0
    (a) Test 3 (b) Test 2 (c) Test 1
  2. 2.🔢 In a food-order flow, which comes LAST? (a) track the order (b) check the cart (c) open the menu (d) add it to the cart
  3. 3.🔘 Our rule: buttons are at least 48 px tall. The Done button is 20 px tall. How many px taller must it be?
  4. 4.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Item → Shop → Search → Address → Cart → Confirm
    Design B: Home → Address → Confirm → Search → Item
  5. 5.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Pens → Results → Menu → Cart → Address
    Design B: Home → Cart → Item → Confirm → Menu → Shop → Results
  6. 6.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 47; // start at 46
    line 2: stars = stars + 2; // add 2
    line 3: stars = stars - 2; // take away 2
    line 4: stars = stars + 5; // add 5
    line 5: show(stars); // show it
  7. 7.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(25));
  8. 8.Which of these fits saving in the cloud? (a) a draft you are typing (b) notes to read offline (c) the sound on/off setting (d) photos on two devices
  9. 9.👆 The user taps the button 3 times. What number does the label show now?
    let score = 10;
    button.onTap = function () {
      score = score + 1;
      label.text = score;
    };
  10. 10.🔢 In a sign-up flow, which comes first: “open the app” or “make a password”? (a) make a password (b) open the app
  11. 11.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting homework: 8 votes
    losing water bottles: 11 votes
    no quiet study place: 23 votes
  12. 12.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) add a homework task (b) share tasks to friends (c) pick a theme colour (d) earn stickers
  13. 13.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Settings tab
    2. tap the Chat tab
    3. open “Friend list”
    4. open “Edit photo”
    5. open “Help page”
    How many times must you tap Back to reach the main screen of this tab?
  14. 14.🗒️ Why keep version 1 small? (a) to confuse users (b) to learn from users soon (c) to use up storage (d) to look bigger
  15. 15.True or false: “sudden loud sounds” helps everyone use the app. (a) True (b) False
  16. 16.True or false: notes to read offline fits saving on the phone. (a) True (b) False
  17. 17.Which of these app ideas solves a real problem? (a) a blank grey screen (b) a button with no action (c) a medicine reminder (d) a page of random dots
  18. 18.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Feed tab
    2. tap the Chat tab
    3. open “Help page”
    How many times must you tap Back to reach the main screen of this tab?
  19. 19.True or false: a website is installed on a phone. (a) False (b) True
  20. 20.💾 What number does this code show?
    let points = 8;
    points = points - 7;
    points = points + 4;
    show(points);
  21. 21.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Zoya", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Zoya (c) Hi, Arjun
  22. 22.Which of these happens at the release stage? (a) write the store text (b) list what users need (c) talk to possible users (d) connect the data
  23. 23.🗒️ Version 1 of a bus tracker must be ready in 6 days. How many days are left for extras after the must-haves?
    see where the bus is: 1 days
    show arrival time: 1 days
    pick your bus stop: 2 days
  24. 24.🐞 A comment in code (after //) is for ___. (a) the app store (b) the battery (c) the phone screen (d) people reading the code
  25. 25.🔀 When does the else part run? (a) never (b) when the test is false (c) always (d) when the test is true
  26. 26.True or false: a final design uses plain grey boxes. (a) False (b) True
  27. 27.Which of these is about UX (the experience)? (a) how easy sign-up is (b) the button colours (c) the icon shapes (d) the font size
  28. 28.True or false: you write the store text at the idea stage. (a) True (b) False
  29. 29.🚀 Your app is at version 3.3.6. The next release is a big redesign that changes how the app works. What is its version number? (a) 3.4.6 (b) 3.4.0 (c) 4.0.0 (d) 3.3.7
  30. 30.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 14 votes
    forgetting homework: 9 votes
    wasting pocket money: 8 votes
  31. 31.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a wireframe (b) a final design
  32. 32.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Save button: 36 px tall
    Send button: 52 px tall
    Start button: 52 px tall
    Help button: 68 px tall
    (a) Help (b) Save (c) Start (d) Send
  33. 33.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 400; // typed by the user
    line 2: let off = 40; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 2 (b) line 3 (c) line 4 (d) line 1
  34. 34.🔁 What number does this code show?
    let steps = [56, 40, 74];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  35. 35.Which of these is a screen? (a) tap to Save (b) the home page of an app (c) a slider for volume (d) tap to Start
  36. 36.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a big-text reader (b) a water reminder (c) a pocket-money tracker (d) a homework planner
  37. 37.⚙️ What number does this app show?
    let km = 7; // typed by the user
    let metres = km * 1000;
    show(metres);
  38. 38.🔍 Which is the odd one out? (a) strong colour contrast (b) big touch targets (c) text that can grow (d) icons with no labels
  39. 39.🔍 Which is the odd one out? (a) sudden loud sounds (b) text that can grow (c) colour as the only clue (d) icons with no labels
  40. 40.True or false: the user taps Play is a load event. (a) True (b) False

Answer key

  1. Test 3
  2. track the order
  3. 28
  4. 2
  5. 5
  6. 51
  7. 50
  8. photos on two devices
  9. 13
  10. open the app
  11. 42
  12. add a homework task
  13. 3
  14. to learn from users soon
  15. False
  16. True
  17. a medicine reminder
  18. 1
  19. False
  20. 5
  21. Hi, Riya
  22. write the store text
  23. 2
  24. people reading the code
  25. when the test is false
  26. False
  27. how easy sign-up is
  28. False
  29. 4.0.0
  30. 31
  31. a final design
  32. Save
  33. line 3
  34. 3
  35. the home page of an app
  36. a pocket-money tracker
  37. 7000
  38. icons with no labels
  39. text that can grow
  40. False

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