← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 609 · 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.🧭 Which part of navigation hides extra links? (a) a menu button (b) a tab bar (c) the back button
  2. 2.🚀 Your app is at version 4.5.9. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.6.0 (b) 5.0.0 (c) 4.6.9 (d) 4.5.10
  3. 3.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Map”
    2. tap Back
    3. tap the Lessons tab
    4. open “Match report”
    Which screen are you on now?
    (a) Quiz (b) Map (c) Match report (d) Lessons
  4. 4.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Shop → Pay → Results → Search → Cart
    Design B: Home → Item → Size → Search
  5. 5.🎯 Who are the users of an app? (a) the app icons (b) only the coders (c) only the testers (d) the people who use it
  6. 6.⚙️ What number does this app show?
    let price = 340; // typed by the user
    let off = 10; // typed by the user
    let pay = price - off;
    show(pay);
  7. 7.✏️ A box with a cross in a wireframe usually means ___. (a) an error (b) delete this (c) a picture goes here (d) a closed app
  8. 8.🎯 Is this a user need or a feature: “What should I cook?”? (a) a user need (b) a feature
  9. 9.🧪 What is the ACTUAL result of Test 1?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age <= 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(18) → expected 100
    Test 2: price(9) → expected 50
    Test 3: price(15) → expected 100
  10. 10.🔀 In this course’s code, which sign tests “is equal to”? (a) = (b) !== (c) === (d) =>
  11. 11.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Arjun"));
    (a) Arjun (b) Hi, Arjun! (c) Hi, name! (d) greet
  12. 12.🔢 When you make an app, which comes first: “get an idea” or “build the app”? (a) build the app (b) get an idea
  13. 13.🔁 What number does this code show?
    let marks = [85, 28, 68, 96];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  14. 14.True or false: tap to Save is a button. (a) False (b) True
  15. 15.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 48; // start at 47
    line 2: coins = coins - 3; // take away 3
    line 3: coins = coins - 1; // take away 1
    line 4: coins = coins - 5; // take away 5
    line 5: show(coins); // show it
  16. 16.🔁 What number does this code show?
    let scores = [38, 66, 12];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  17. 17.🔐 Is this permission request fair or too much: camera app → camera? (a) too much (b) fair
  18. 18.True or false: a word battle is a learning app. (a) True (b) False
  19. 19.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) add more colours (c) find where it goes wrong (d) buy a new phone
  20. 20.💾 What is a variable? (a) a picture (b) a phone setting (c) a type of screen (d) a named box for a value
  21. 21.Which of these makes the app harder to use? (a) labels on every icon (b) fast-flashing lights (c) big touch targets (d) text that can grow
  22. 22.🔢 In a sign-up flow, which comes LAST? (a) make a password (b) enter the code sent (c) open the app (d) see the home screen
  23. 23.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) savings stickers (c) add money spent (d) pie-chart colours
  24. 24.🔘 Our rule: buttons are at least 48 px tall. The Back button is 36 px tall. How many px taller must it be?
  25. 25.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 35; // start at 35
    line 2: score = score - 4; // take away 3
    line 3: score = score * 2; // double it
    line 4: score = score + 3; // add 3
    line 5: show(score); // show it
  26. 26.💾 What number does this code show?
    let coins = 3;
    coins = coins - 1;
    coins = coins + 1;
    show(coins);
  27. 27.🚀 In version 2.5.1, which number is the major version? (a) 1 (b) 5 (c) 251 (d) 2
  28. 28.🧪 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(5) → expected Pass
    Test 2: result(4) → expected Try again
    Test 3: result(7) → expected Pass
    (a) Test 1 (b) Test 3 (c) Test 2
  29. 29.💡 A good app idea starts with ___. (a) a long name (b) many colours (c) a cool logo (d) a problem to solve
  30. 30.🔁 What number does this code show?
    let scores = [18, 4, 20];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  31. 31.🐞 After fixing a bug you should ___. (a) release at once (b) test it again (c) delete the test (d) never test
  32. 32.Which of these helps everyone use the app? (a) icons with no labels (b) sudden loud sounds (c) strong colour contrast (d) fast-flashing lights
  33. 33.True or false: a bus tracker needs the camera. (a) False (b) True
  34. 34.♿ A screen has 10 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
  35. 35.🔀 What does this sign-up rule show?
    let age = 15;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  36. 36.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show the score (b) check the answer (c) show a question (d) confetti effects
  37. 37.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 700) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(500) → expected 40
    Test 2: delivery(800) → expected 0
    Test 3: delivery(700) → expected 0
  38. 38.True or false: an app comes from an app store. (a) True (b) False
  39. 39.🖼️ In this wireframe (top to bottom), what is right above the Add button?
    [ menu icon ]
    [ tab bar ]
    [ search box ]
    [ Add button ]
    (a) search box (b) tab bar (c) menu icon
  40. 40.Which of these is true of a website? (a) has a home-screen icon (b) is installed on a phone (c) has a web address (d) updates from the store

Answer key

  1. a menu button
  2. 5.0.0
  3. Match report
  4. 5
  5. the people who use it
  6. 330
  7. a picture goes here
  8. a user need
  9. 100
  10. ===
  11. Hi, Arjun!
  12. get an idea
  13. 3
  14. True
  15. 38
  16. 0
  17. fair
  18. False
  19. find where it goes wrong
  20. a named box for a value
  21. fast-flashing lights
  22. see the home screen
  23. add money spent
  24. 12
  25. 67
  26. 3
  27. 2
  28. Test 1
  29. a problem to solve
  30. 20
  31. test it again
  32. strong colour contrast
  33. False
  34. 6
  35. Welcome!
  36. confetti effects
  37. 40
  38. True
  39. search box
  40. has a web address

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