← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 396 · 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.👆 A tap handler runs how many times if the user taps 4 times? (a) 1 (b) 8 (c) 0 (d) 4
  2. 2.👆 The user taps the button 6 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) ON (b) OFF
  3. 3.💾 What does this code show? (Positions start at 0.)
    let notes = ["Music", "Art", "Hindi", "Maths"];
    show(notes[2]);
    (a) Art (b) Hindi (c) Maths (d) Music
  4. 4.🔁 What number does this code show?
    let steps = [8, 12, 19];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  5. 5.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Home tab
    2. open “Help page”
    3. tap Back
    4. tap the Search tab
    5. open “Edit photo”
    Which screen are you on now?
    (a) Home (b) Help page (c) Search (d) Edit photo
  6. 6.👆 The user taps the button 6 times. What number does the label show now?
    let score = 0;
    button.onTap = function () {
      score = score + 1;
      label.text = score;
    };
  7. 7.⚙️ What number does this app show?
    let bill = 350; // typed by the user
    let friends = 5; // typed by the user
    let share = bill / friends;
    show(share);
  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) ON (b) OFF
  9. 9.👆 The user taps the button 3 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) ON (b) OFF
  10. 10.True or false: buttons almost touching is poor button design. (a) True (b) False
  11. 11.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) export to a file (c) add money spent (d) show the balance
  12. 12.🧑 Who is an app really made for? (a) its charger (b) its coder only (c) its users (d) its icon
  13. 13.🧩 In an app, what is a box to type a name? (a) an input (b) data (c) a screen (d) a button
  14. 14.Which of these helps everyone use the app? (a) text that can grow (b) icons with no labels (c) tiny tap areas (d) colour as the only clue
  15. 15.🔢 When you make an app, which comes first: “build the app” or “test the app”? (a) test the app (b) build the app
  16. 16.🗒️ 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: 3 days
    see tasks by day: 4 days
  17. 17.🚀 Your app is at version 1.3.3. The next release is a big redesign that changes how the app works. What is its version number? (a) 1.3.4 (b) 1.4.0 (c) 1.4.3 (d) 2.0.0
  18. 18.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a study-room finder (b) a medicine reminder (c) a bill splitter (d) a lost-and-found board
  19. 19.True or false: a weather-near-me app needs the microphone. (a) False (b) True
  20. 20.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Confirm → Pay → Address → Size
    Design B: Home → Pay → Confirm → Shop → Cart → Menu → Offers
  21. 21.Which of these is true of a wireframe? (a) shows where things go (b) looks like the real app (c) has the real colours (d) shows the real fonts
  22. 22.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [button] Next
    [text box] Phone
    [slider] Volume
    [text box] Email
  23. 23.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Cart → Shop
    Design B: Home → Search → Menu → Size
    (a) Design B (b) Design A
  24. 24.💡 Which app idea solves this problem: friends argue over who pays? (a) a study-room finder (b) a lost-and-found board (c) a homework planner (d) a bill splitter
  25. 25.🧩 How many buttons does this app screen have?
    [title] Sign Up
    [button] Done
    [button] Cancel
    [text box] Notes
    [button] Start
  26. 26.True or false: a lost-and-found board solves a real problem. (a) True (b) False
  27. 27.🛠️ At which stage do you write the store text? (a) the build stage (b) the idea stage (c) the release stage (d) the plan stage
  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 20;
    }
    show(fee(8) + fee(4));
  29. 29.🧰 What is a function? (a) a type of phone (b) a named block of code (c) a screen size (d) a list of colours
  30. 30.Which of these fits saving on the phone? (a) chat messages to friends (b) a class leaderboard (c) photos on two devices (d) the sound on/off setting
  31. 31.🧩 How many buttons does this app screen have?
    [title] Settings
    [button] Send
    [switch] Show hints
    [text box] Due date
    [button] Back
  32. 32.🧪 A test fails when ___. (a) the app is new (b) the font is big (c) actual is not expected (d) both are the same
  33. 33.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “missing the bus”?
    forgetting homework: 6 votes
    forgetting birthdays: 21 votes
    missing the bus: 14 votes
  34. 34.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(55, 3));
  35. 35.🗒️ Version 1 of a water reminder must be ready in 6 days. How many days are left for extras after the must-haves?
    set a reminder time: 1 days
    log a glass of water: 1 days
    see today’s total: 3 days
  36. 36.True or false: a party-invite app for friends needs your contacts. (a) True (b) False
  37. 37.🔁 What number does this code show?
    let scores = [16, 20, 10, 14];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  38. 38.True or false: a final design has no real colours. (a) True (b) False
  39. 39.🔀 Which badge does this quiz app show?
    let marks = 71;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Bronze (c) Silver
  40. 40.⚙️ What number does this app show?
    let price = 500; // typed by the user
    let off = 10; // typed by the user
    let pay = price - off;
    show(pay);

Answer key

  1. 4
  2. OFF
  3. Hindi
  4. 39
  5. Edit photo
  6. 6
  7. 70
  8. ON
  9. ON
  10. True
  11. export to a file
  12. its users
  13. an input
  14. text that can grow
  15. build the app
  16. 2
  17. 2.0.0
  18. a study-room finder
  19. False
  20. 6
  21. shows where things go
  22. 3
  23. Design A
  24. a bill splitter
  25. 3
  26. True
  27. the release stage
  28. 20
  29. a named block of code
  30. the sound on/off setting
  31. 2
  32. actual is not expected
  33. 7
  34. 165
  35. 1
  36. True
  37. 60
  38. False
  39. Silver
  40. 490

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