← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 942 · 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 shows 3 to 5 icons? (a) the back button (b) a menu button (c) a tab bar
  2. 2.True or false: a buzz (vibration) is an output. (a) False (b) True
  3. 3.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(40, 2));
  4. 4.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “see the home screen”? (a) see the home screen (b) tap “Sign up”
  5. 5.💡 Does an app idea like a blank grey screen solve a real problem? (a) Yes (b) No
  6. 6.🔀 What does this PIN rule show?
    let pin = "356";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  7. 7.💡 Which app idea solves this problem: Grandpa forgets his tablets? (a) a medicine reminder (b) a homework planner (c) a bill splitter (d) a study-room finder
  8. 8.True or false: notes to read offline fits saving on the phone. (a) False (b) True
  9. 9.👆 The user taps the button 7 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  10. 10.Which of these is a feature? (a) “I keep missing the bus” (b) “I forget my homework” (c) a search bar (d) “Small text is hard”
  11. 11.👆 What kind of event is this: a finger hits Like? (a) a tap event (b) a load event (c) a text event (d) a timer event
  12. 12.🔐 Which permission does a barcode scanner really need? (a) location (b) contacts (c) the microphone (d) the camera
  13. 13.Which of these helps everyone use the app? (a) captions on videos (b) icons with no labels (c) fast-flashing lights (d) colour as the only clue
  14. 14.🔀 What does this sign-up rule show?
    let age = 10;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  15. 15.🔍 Which is the odd one out? (a) fast-flashing lights (b) tiny tap areas (c) labels on every icon (d) sudden loud sounds
  16. 16.🗂️ What kind of app is a cricket run chase? (a) a health app (b) a learning app (c) a game (d) a tool app
  17. 17.💾 What does this code show? (Positions start at 0.)
    let friends = ["Riya", "Aman", "Zoya"];
    show(friends[0]);
    (a) Zoya (b) Aman (c) Riya
  18. 18.True or false: a beep sound is an output. (a) False (b) True
  19. 19.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(0));
  20. 20.🧪 How many of these test cases pass?
    🎟️ 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(7) → expected 50
    Test 2: price(11) → expected 100
    Test 3: price(8) → expected 100
  21. 21.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Search → Shop → Pay
    Design B: Home → Pay → Confirm
    (a) Design A (b) Design B
  22. 22.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Hint: 10 px
    Menu: 21 px
    Title: 17 px
  23. 23.🔘 Is this good or poor button design: a big, easy tap area? (a) poor design (b) good design
  24. 24.🛠️ At which stage do you write the store text? (a) the release stage (b) the test stage (c) the idea stage (d) the build stage
  25. 25.True or false: a calculator is a learning app. (a) True (b) False
  26. 26.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 47; // start at 46
    line 2: points = points * 2; // double it
    line 3: points = points - 3; // take away 3
    line 4: show(points); // show it
  27. 27.True or false: a shared to-do list fits saving in the cloud. (a) True (b) False
  28. 28.🔀 In this course’s code, which sign tests “is equal to”? (a) = (b) !== (c) === (d) =>
  29. 29.🔀 What does this battery rule show?
    let battery = 25;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  30. 30.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 60; // typed by the user
    line 2: let qty = 2; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 2 (b) line 1 (c) line 4 (d) line 3
  31. 31.📱 Which one is installed on a phone: an app or a website? (a) an app (b) a website
  32. 32.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Riya"));
    (a) Hello, Riya! (b) greet (c) Riya (d) Hello, name!
  33. 33.🔢 In a sign-up flow, what comes right after “type name and email”? (a) open the app (b) see the home screen (c) tap “Sign up” (d) make a password
  34. 34.True or false: a bus tracker is the best fit for a gamer who forgets to drink. (a) False (b) True
  35. 35.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 8; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 3 (b) line 2 (c) line 1
  36. 36.♿ What should every icon-only button have for screen readers? (a) a long animation (b) a sound (c) a bright colour (d) a text label
  37. 37.🔐 Which permission does a birthday list of friends really need? (a) the camera (b) the microphone (c) contacts (d) location
  38. 38.🔘 Our rule: buttons are at least 48 px tall. The Send button is 40 px tall. How many px taller must it be?
  39. 39.🧪 How many of these test cases pass?
    🚚 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(700) → expected 0
    Test 3: delivery(350) → expected 40
  40. 40.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting homework: 19 votes
    wasting pocket money: 5 votes
    no quiet study place: 8 votes
    (a) no quiet study place (b) wasting pocket money (c) forgetting homework

Answer key

  1. a tab bar
  2. True
  3. 80
  4. tap “Sign up”
  5. No
  6. Use 4 digits
  7. a medicine reminder
  8. True
  9. 5
  10. a search bar
  11. a tap event
  12. the camera
  13. captions on videos
  14. Ask a parent
  15. labels on every icon
  16. a game
  17. Riya
  18. True
  19. 40
  20. 3
  21. Design B
  22. 1
  23. good design
  24. the release stage
  25. False
  26. 89
  27. True
  28. ===
  29. Battery OK
  30. line 3
  31. an app
  32. Hello, Riya!
  33. make a password
  34. False
  35. line 2
  36. a text label
  37. contacts
  38. 8
  39. 3
  40. forgetting homework

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