← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 682 · 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.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [text box] Subject
    [button] Start
    [slider] Volume
    [text box] Name
    [text box] Email
    [button] Done
  2. 2.True or false: a page of random dots solves no real problem. (a) False (b) True
  3. 3.🎯 Who are the users of an app? (a) the people who use it (b) the app icons (c) only the coders (d) only the testers
  4. 4.🔁 What number does this code show?
    let steps = [15, 5, 6, 7];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  5. 5.True or false: you list what users need at the build stage. (a) False (b) True
  6. 6.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Cancel button: 52 px tall
    Next button: 40 px tall
    Back button: 56 px tall
    Done button: 48 px tall
  7. 7.🗂️ What kind of app is a spelling coach? (a) a tool app (b) a game (c) a health app (d) a learning app
  8. 8.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Item → Search → Menu → Address → Pay
    Design B: Home → Shop → Offers
  9. 9.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 23 votes
    forgetting birthdays: 12 votes
    forgetting homework: 21 votes
    (a) no quiet study place (b) forgetting birthdays (c) forgetting homework
  10. 10.🧭 Tapping a tab usually takes you to ___. (a) the last app used (b) a random page (c) that tab’s main screen (d) the phone settings
  11. 11.🔁 What number does this code show?
    let runs = [14, 18, 46, 78];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  12. 12.🧪 What is the ACTUAL result of Test 3?
    🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
    function price(age) {
      if (age <= 12) {
        return 50;
      }
      return 100;
    }
    Test 1: price(17) → expected 100
    Test 2: price(12) → expected 100
    Test 3: price(9) → expected 50
  13. 13.🚀 Which version is newer: 2.6.1 or 2.17.3? (a) 2.17.3 (b) 2.6.1
  14. 14.✏️ Why draw a wireframe before coding? (a) changes are quick (b) it saves data (c) it adds colours (d) it runs the app
  15. 15.✏️ What is a wireframe? (a) the finished app (b) a charging cable (c) a simple screen sketch (d) a type of password
  16. 16.🗂️ What kind of app is a cricket run chase? (a) a game (b) a health app (c) a learning app (d) a tool app
  17. 17.🔢 In a quiz-app flow, which comes first: “see if it is right” or “see the final score”? (a) see the final score (b) see if it is right
  18. 18.🧰 What is a function? (a) a screen size (b) a named block of code (c) a list of colours (d) a type of phone
  19. 19.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Welcome, " + nameBox.text + "!";
    };
    (a) Welcome, nameBox.text! (b) Welcome, Riya! (c) Welcome! (d) Riya
  20. 20.True or false: the settings page is a button. (a) True (b) False
  21. 21.👆 What kind of event is this: a countdown hits zero? (a) a timer event (b) a load event (c) a text event (d) a tap event
  22. 22.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 63; // typed by the user
    line 2: let friends = 3; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 1 (b) line 2 (c) line 3 (d) line 4
  23. 23.🚀 Which of these versions is the OLDEST?
    0.20.9, 1.9.3, 1.3.9, 1.5.7
    (a) 1.3.9 (b) 1.9.3 (c) 0.20.9 (d) 1.5.7
  24. 24.🎯 Which app would help this user most: a reader who finds small print hard? (a) a homework planner (b) a bus tracker (c) a water reminder (d) a big-text reader
  25. 25.Which of these is true of a final design? (a) is a quick sketch (b) uses plain grey boxes (c) shows where things go (d) uses the final pictures
  26. 26.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 10; // typed by the user
    line 2: let qty = 4; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 1 (b) line 2 (c) line 3 (d) line 4
  27. 27.♿ A screen has 9 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
  28. 28.Which of these is true of an app? (a) has a home-screen icon (b) opens in a web browser (c) has a web address (d) opens from a link
  29. 29.Which of these happens at the idea stage? (a) list what users need (b) draw the user flow (c) connect the data (d) write the store text
  30. 30.🔀 What does this battery rule show?
    let battery = 74;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  31. 31.♿ Does this help everyone, or make the app harder to use: big touch targets? (a) makes it harder (b) helps everyone
  32. 32.True or false: you sketch the screens at the build stage. (a) False (b) True
  33. 33.🧪 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(6) → expected Pass
    Test 3: result(3) → expected Try again
    (a) Test 1 (b) Test 3 (c) Test 2
  34. 34.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(4));
  35. 35.🔔 What is a message an app shows on your lock screen called? (a) a web address (b) a wireframe (c) a variable (d) a notification
  36. 36.🚀 Your app is at version 2.3.6. The next release is a big redesign that changes how the app works. What is its version number? (a) 2.4.6 (b) 2.4.0 (c) 3.0.0 (d) 2.3.7
  37. 37.🧪 What is the actual result of a test? (a) the app’s name (b) what we hope for (c) what the app really does (d) the test’s number
  38. 38.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 4 (c) 5 (d) 1
  39. 39.🎯 Is this a user need or a feature: “What should I cook?”? (a) a user need (b) a feature
  40. 40.🔁 What number does this code show?
    let steps = [26, 63, 79, 62];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);

Answer key

  1. 2
  2. True
  3. the people who use it
  4. 33
  5. False
  6. 3
  7. a learning app
  8. 3
  9. no quiet study place
  10. that tab’s main screen
  11. 1
  12. 50
  13. 2.17.3
  14. changes are quick
  15. a simple screen sketch
  16. a game
  17. see if it is right
  18. a named block of code
  19. Welcome, Riya!
  20. False
  21. a timer event
  22. line 3
  23. 0.20.9
  24. a big-text reader
  25. uses the final pictures
  26. line 3
  27. 7
  28. has a home-screen icon
  29. list what users need
  30. Battery OK
  31. helps everyone
  32. False
  33. Test 1
  34. 80
  35. a notification
  36. 3.0.0
  37. what the app really does
  38. 5
  39. a user need
  40. 3

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