← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 216 · 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: 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(13) → expected 100
    Test 2: price(9) → expected 50
    Test 3: price(16) → expected 100
    (a) Test 2 (b) Test 3 (c) Test 1
  2. 2.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Item → Search
    Design B: Home → Address → Menu → Confirm
  3. 3.♿ Showing right or wrong only in red and green is a problem for ___. (a) the battery (b) fast typists (c) colour-blind users (d) the server
  4. 4.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) show a question (c) background music (d) an avatar shop
  5. 5.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “make a password”? (a) make a password (b) tap “Sign up”
  6. 6.🔀 Which badge does this quiz app show?
    let marks = 100;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Silver (c) Gold
  7. 7.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ list of items ]
    [ title text ]
    [ Add button ]
    [ big picture ]
    [ Save button ]
    [ filter buttons ]
    (a) title text (b) Add button (c) list of items (d) filter buttons
  8. 8.📱 The word “app” is short for ___. (a) application (b) appetite (c) apparatus (d) appointment
  9. 9.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a bug fix (b) a new feature (c) a new app (d) a big redesign
  10. 10.True or false: how many taps it takes is about UX (the experience). (a) True (b) False
  11. 11.⚙️ What number does this app show?
    let bill = 40; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  12. 12.👆 A tap handler runs how many times if the user taps 4 times? (a) 8 (b) 0 (c) 4 (d) 1
  13. 13.⚙️ What number does this app show?
    let price = 290; // typed by the user
    let off = 20; // typed by the user
    let pay = price - off;
    show(pay);
  14. 14.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 5 or more right answers.
    function result(right) {
      if (right > 5) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(3) → expected Try again
    Test 2: result(5) → expected Pass
    Test 3: result(7) → expected Pass
    (a) Test 3 (b) Test 1 (c) Test 2
  15. 15.Which of these is an output? (a) taking a photo (b) typing your age (c) working out a tip (d) a result on screen
  16. 16.Which of these is true of an app? (a) needs no installing (b) opens in a web browser (c) has a web address (d) has a home-screen icon
  17. 17.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) a dark mode (b) show arrival time (c) pick your bus stop (d) see where the bus is
  18. 18.🎨 UX stands for user ___. (a) experience (b) example (c) extra (d) express
  19. 19.👆 The user taps the button 8 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  20. 20.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Size → Search → Results → Shop → Pay → Cart
    Design B: Home → Menu → Cart → Results → Confirm → Pay
    (a) Design A (b) Design B
  21. 21.Which colour pair is easy to read? (a) dark blue on black (b) yellow on white (c) light grey on white (d) black on yellow
  22. 22.Which of these is a screen? (a) a switch for dark mode (b) your friends list (c) a date picker (d) the game-over page
  23. 23.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Start button: 32 px tall
    Save button: 64 px tall
    Help button: 60 px tall
    Send button: 44 px tall
  24. 24.🧩 In an app, what is your friends list? (a) an input (b) data (c) a button (d) a screen
  25. 25.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Back button: 52 px tall
    Save button: 60 px tall
    Send button: 60 px tall
  26. 26.True or false: you talk to possible users at the idea stage. (a) False (b) True
  27. 27.🗒️ What is a must-have feature? (a) a colour theme (b) a sound effect (c) one the app cannot skip (d) a nice extra
  28. 28.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(33));
  29. 29.🐞 What is a bug? (a) a nice icon (b) a new feature (c) a fast phone (d) a mistake in the code
  30. 30.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
  31. 31.🔢 In a quiz-app flow, which comes first: “see if it is right” or “pick an answer”? (a) pick an answer (b) see if it is right
  32. 32.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 31; // start at 31
    line 2: stars = stars + 6; // add 6
    line 3: stars = stars + 7; // add 6
    line 4: show(stars); // show it
    (a) line 1 (b) line 3 (c) line 2
  33. 33.💾 What number does this code show?
    let friends = ["Riya", "Kabir"];
    friends.push("Arjun");
    friends.push("Meera");
    show(friends.length);
  34. 34.Which of these makes the app harder to use? (a) big touch targets (b) tiny tap areas (c) labels on every icon (d) captions on videos
  35. 35.♿ Does this help everyone, or make the app harder to use: tiny tap areas? (a) helps everyone (b) makes it harder
  36. 36.💡 Does an app idea like a lost-and-found board solve a real problem? (a) No (b) Yes
  37. 37.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) change the bus icon (c) see where the bus is (d) show arrival time
  38. 38.🗒️ Version 1 of a quiz app must be ready in 13 days. How many days are left for extras after the must-haves?
    show a question: 3 days
    check the answer: 2 days
    show the score: 2 days
  39. 39.True or false: you sketch the screens at the release stage. (a) False (b) True
  40. 40.True or false: tapping a button is an input. (a) False (b) True

Answer key

  1. Test 1
  2. 1
  3. colour-blind users
  4. show a question
  5. tap “Sign up”
  6. Gold
  7. filter buttons
  8. application
  9. a bug fix
  10. True
  11. 20
  12. 4
  13. 270
  14. Test 2
  15. a result on screen
  16. has a home-screen icon
  17. a dark mode
  18. experience
  19. 5
  20. Design B
  21. black on yellow
  22. the game-over page
  23. 2
  24. data
  25. 3
  26. True
  27. one the app cannot skip
  28. 66
  29. a mistake in the code
  30. Yes
  31. pick an answer
  32. line 3
  33. 4
  34. tiny tap areas
  35. makes it harder
  36. Yes
  37. change the bus icon
  38. 6
  39. False
  40. True

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