← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 376 · 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.🔢 When you make an app, which comes FIRST? (a) release it (b) plan the screens (c) test the app (d) get an idea
  2. 2.🧪 What is the ACTUAL result of Test 3?
    🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
    function price(age) {
      if (age <= 8) {
        return 50;
      }
      return 100;
    }
    Test 1: price(4) → expected 50
    Test 2: price(12) → expected 100
    Test 3: price(8) → expected 100
  3. 3.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 35; // start at 32
    line 2: coins = coins + 2; // add 2
    line 3: coins = coins + 4; // add 4
    line 4: show(coins); // show it
  4. 4.🔀 What does if / else let an app do? (a) repeat forever (b) save a photo (c) draw a screen (d) pick one of two actions
  5. 5.Which of these is true of a menu button? (a) hides extra links (b) undoes one move (c) shows 3 to 5 icons (d) switches main sections
  6. 6.🗒️ Version 1 of a bus tracker must be ready in 14 days. How many days are left for extras after the must-haves?
    see where the bus is: 4 days
    show arrival time: 2 days
    pick your bus stop: 2 days
  7. 7.💾 pop() takes off the last item. What does this code show?
    let friends = ["Zoya", "Arjun", "Meera"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Arjun (b) Zoya (c) Meera
  8. 8.🖼️ In this wireframe (top to bottom), what is right above the Add button?
    [ search box ]
    [ Add button ]
    [ title text ]
    [ big picture ]
    (a) title text (b) big picture (c) search box
  9. 9.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) in the cloud (b) on the phone
  10. 10.Which of these is true of a tab bar? (a) switches main sections (b) goes to the last screen (c) opens a list of pages (d) undoes one move
  11. 11.🧪 How many of these test cases pass?
    🚚 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(500) → expected 40
    Test 2: delivery(800) → expected 0
    Test 3: delivery(950) → expected 0
  12. 12.💡 Does an app idea like a medicine reminder solve a real problem? (a) No (b) Yes
  13. 13.📱 Which one is installed on a phone: an app or a website? (a) an app (b) a website
  14. 14.🎯 Is this a user need or a feature: a dark mode switch? (a) a feature (b) a user need
  15. 15.💾 Which works with no internet at all? (a) a cloud backup (b) a cloud leaderboard (c) data saved on the phone (d) a shared chat
  16. 16.Which of these is true of a website? (a) has a home-screen icon (b) updates from the store (c) is installed on a phone (d) needs no installing
  17. 17.💡 Does an app idea like a library due-date alert solve a real problem? (a) No (b) Yes
  18. 18.🧩 In an app, what is the game-over page? (a) data (b) a button (c) an input (d) a screen
  19. 19.🔢 In a quiz-app flow, which comes first: “pick an answer” or “tap “Start quiz””? (a) pick an answer (b) tap “Start quiz”
  20. 20.🔀 What number does this shop app show?
    let total = 750;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  21. 21.🔢 In a quiz-app flow, which comes first: “read a question” or “tap “Start quiz””? (a) tap “Start quiz” (b) read a question
  22. 22.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 43; // start at 43
    line 2: stars = stars * 3; // double it
    line 3: stars = stars - 1; // take away 1
    line 4: stars = stars + 3; // add 3
    line 5: show(stars); // show it
  23. 23.🔢 In a sign-up flow, which comes first: “type name and email” or “make a password”? (a) type name and email (b) make a password
  24. 24.🔁 What number does this code show?
    let scores = [1, 3, 15, 19];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  25. 25.True or false: a date picker is an input. (a) True (b) False
  26. 26.🔐 Is this permission request fair or too much: map app → location? (a) too much (b) fair
  27. 27.True or false: a puzzle with levels is a health app. (a) False (b) True
  28. 28.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age <= 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(10) → expected 50
    Test 2: price(13) → expected 100
    Test 3: price(17) → expected 100
    (a) Test 3 (b) Test 1 (c) Test 2
  29. 29.🔢 In a photo-post flow, which comes first: “post the photo” or “take the photo”? (a) post the photo (b) take the photo
  30. 30.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Kabir"));
    (a) Kabir (b) Hello, name! (c) Hello, Kabir! (d) greet
  31. 31.🗒️ Version 1 of a homework planner must be ready in 10 days. How many days are left for extras after the must-haves?
    add a homework task: 1 days
    set a due date: 1 days
    see tasks by day: 4 days
  32. 32.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) show the balance (b) pie-chart colours (c) add money spent (d) add money received
  33. 33.Which colour pair is hard to read? (a) dark blue on white (b) red on green (c) white on dark green (d) black on yellow
  34. 34.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) set a due date (c) see tasks by day (d) pick a theme colour
  35. 35.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Title: 21 px
    Label: 12 px
    Menu: 16 px
  36. 36.Which of these is a button? (a) the game-over page (b) tap to Start (c) a switch for dark mode (d) today’s step count
  37. 37.🔢 When you make an app, what comes right after “test the app”? (a) get an idea (b) release it (c) build the app (d) plan the screens
  38. 38.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(6) → expected Pass
    Test 2: result(3) → expected Try again
    Test 3: result(7) → expected Pass
    (a) Test 2 (b) Test 1 (c) Test 3
  39. 39.📅 An app team plans for 5 days, builds for 11 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
  40. 40.Which of these is an output? (a) a buzz (vibration) (b) speaking a command (c) adding up a bill (d) sorting the scores

Answer key

  1. get an idea
  2. 50
  3. 41
  4. pick one of two actions
  5. hides extra links
  6. 6
  7. Arjun
  8. search box
  9. on the phone
  10. switches main sections
  11. 3
  12. Yes
  13. an app
  14. a feature
  15. data saved on the phone
  16. needs no installing
  17. Yes
  18. a screen
  19. tap “Start quiz”
  20. 700
  21. tap “Start quiz”
  22. 88
  23. type name and email
  24. 38
  25. True
  26. fair
  27. False
  28. Test 2
  29. take the photo
  30. Hello, Kabir!
  31. 4
  32. pie-chart colours
  33. red on green
  34. pick a theme colour
  35. 1
  36. tap to Start
  37. release it
  38. Test 1
  39. 19
  40. a buzz (vibration)

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