← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 360 · 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.🧑 Who is an app really made for? (a) its charger (b) its icon (c) its users (d) its coder only
  2. 2.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(40));
  3. 3.🔍 Which is the odd one out? (a) list what users need (b) talk to possible users (c) spot a problem to solve (d) put it on an app store
  4. 4.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(100, 2));
  5. 5.🔢 In a photo-post flow, which comes first: “post the photo” or “add a filter”? (a) add a filter (b) post the photo
  6. 6.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Friend list”
    2. tap Back
    3. open “Score card”
    Which screen are you on now?
    (a) Feed (b) Score card (c) Chat (d) Friend list
  7. 7.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
  8. 8.👆 The user taps the button 1 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) OFF (b) ON
  9. 9.Which of these app ideas solves no real problem? (a) an app that just says hi (b) a library due-date alert (c) a bill splitter (d) a lost-and-found board
  10. 10.👆 Code that runs when an event happens is called a ___. (a) handler (b) header (c) headline (d) hashtag
  11. 11.🐞 Finding and fixing bugs is called ___. (a) downloading (b) debugging (c) designing (d) decorating
  12. 12.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 34; // start at 34
    line 2: lives = lives + 4; // add 3
    line 3: lives = lives * 2; // double it
    line 4: lives = lives * 2; // double it
    line 5: show(lives); // show it
    (a) line 4 (b) line 3 (c) line 2 (d) line 1
  13. 13.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a wireframe (b) a final design
  14. 14.🧩 Scores, notes and settings that an app keeps are called ___. (a) screens (b) data (c) buttons (d) tabs
  15. 15.🔍 Which is the odd one out? (a) colour as the only clue (b) big touch targets (c) captions on videos (d) text that can grow
  16. 16.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Meera"));
    (a) greet (b) Meera (c) Hi, name! (d) Hi, Meera!
  17. 17.🔢 In a photo-post flow, which comes FIRST? (a) add a filter (b) post the photo (c) open the camera screen (d) take the photo
  18. 18.🔢 In a photo-post flow, what comes right after “add a filter”? (a) write a caption (b) open the camera screen (c) take the photo (d) post the photo
  19. 19.🎨 Is this about UI or UX: the button colours? (a) UX (b) UI
  20. 20.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a final design (b) a wireframe
  21. 21.🎨 Who should you test the UX with? (a) only yourself (b) the app icon (c) real users (d) nobody
  22. 22.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(350) → expected 40
    Test 2: delivery(500) → expected 0
    Test 3: delivery(750) → expected 0
    (a) Test 1 (b) Test 3 (c) Test 2
  23. 23.♿ Why add captions to videos? (a) to hide the sound (b) to add colour (c) so anyone can follow (d) to slow them down
  24. 24.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) ready to release (c) missing a must-have (d) well planned
  25. 25.⚙️ What number does this app show?
    let bill = 80; // typed by the user
    let friends = 4; // typed by the user
    let share = bill / friends;
    show(share);
  26. 26.🔀 What does if / else let an app do? (a) pick one of two actions (b) save a photo (c) draw a screen (d) repeat forever
  27. 27.Which of these is true of a wireframe? (a) looks like the real app (b) has no real colours (c) shows the real fonts (d) uses the final pictures
  28. 28.🧰 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(10) + fee(4));
  29. 29.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “wasting pocket money”?
    no quiet study place: 16 votes
    wasting pocket money: 5 votes
    forgetting birthdays: 18 votes
  30. 30.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 14 votes
    wasting pocket money: 4 votes
    forgetting homework: 20 votes
    (a) no quiet study place (b) wasting pocket money (c) forgetting homework
  31. 31.🔁 What number does this code show?
    let steps = [12, 1, 2, 2];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  32. 32.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
  33. 33.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(750) → expected 0
    Test 2: delivery(300) → expected 40
    Test 3: delivery(850) → expected 0
  34. 34.💾 Saving data in the cloud lets you ___. (a) skip the internet (b) use it on any device (c) shrink the app (d) never need a password
  35. 35.🖼️ How many parts (boxes) does this wireframe have?
    [ title text ]
    [ search box ]
    [ tab bar ]
    [ big picture ]
  36. 36.🎨 Is this about UI or UX: the font size? (a) UX (b) UI
  37. 37.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) custom alert sounds (b) set a reminder time (c) share your streak (d) water animations
  38. 38.🗂️ What kind of app is a cricket run chase? (a) a tool app (b) a learning app (c) a health app (d) a game
  39. 39.🔐 Is this permission request fair or too much: calling app → contacts? (a) fair (b) too much
  40. 40.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(750) → expected 0
    Test 2: delivery(450) → expected 40
    Test 3: delivery(700) → expected 0

Answer key

  1. its users
  2. 120
  3. put it on an app store
  4. 200
  5. add a filter
  6. Score card
  7. a user need
  8. ON
  9. an app that just says hi
  10. handler
  11. debugging
  12. line 2
  13. a wireframe
  14. data
  15. colour as the only clue
  16. Hi, Meera!
  17. open the camera screen
  18. write a caption
  19. UI
  20. a wireframe
  21. real users
  22. Test 2
  23. so anyone can follow
  24. missing a must-have
  25. 20
  26. pick one of two actions
  27. has no real colours
  28. 50
  29. 11
  30. forgetting homework
  31. 17
  32. a website
  33. 3
  34. use it on any device
  35. 4
  36. UI
  37. set a reminder time
  38. a game
  39. fair
  40. 0

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