← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 874 · 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.📱 Where do people usually download phone apps from? (a) a printer (b) a web server (c) a charger (d) an app store
  2. 2.Which of these is an output? (a) tapping a button (b) working out a tip (c) a result on screen (d) adding up a bill
  3. 3.Which of these happens at the build stage? (a) add the buttons (b) try every button (c) talk to possible users (d) write down the bugs
  4. 4.🚀 Which of these versions is the NEWEST?
    2.12.1, 2.11.2, 2.17.8, 1.21.6
    (a) 2.17.8 (b) 2.11.2 (c) 1.21.6 (d) 2.12.1
  5. 5.🔀 What does this battery rule show?
    let battery = 51;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  6. 6.🔢 After an app is released, which comes first: “release an update” or “fix and improve”? (a) release an update (b) fix and improve
  7. 7.True or false: a box to type a name is a button. (a) False (b) True
  8. 8.🚀 What should an app ask for only when it really needs it? (a) its icon (b) its name (c) a permission (d) a font
  9. 9.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right > 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(9) → expected Pass
    Test 2: result(7) → expected Pass
    Test 3: result(5) → expected Try again
    (a) Test 1 (b) Test 2 (c) Test 3
  10. 10.🧭 Why should every screen show where you are? (a) to hide the menu (b) so users do not get lost (c) to look busy (d) to use more battery
  11. 11.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right > 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(4) → expected Try again
    Test 2: result(7) → expected Pass
    Test 3: result(9) → expected Pass
    (a) Test 1 (b) Test 3 (c) Test 2
  12. 12.Which of these is a user need? (a) a search bar (b) a reminder alarm (c) a dark mode switch (d) “I keep missing the bus”
  13. 13.💾 Where should the app save notes to read offline: on the phone or in the cloud? (a) in the cloud (b) on the phone
  14. 14.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hello, " + nameBox.text + "!";
    };
    (a) Hello, Meera! (b) Hello! (c) Meera (d) Hello, nameBox.text!
  15. 15.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(5));
  16. 16.Which of these is a screen? (a) the home page of an app (b) your high score (c) a date picker (d) tap to Start
  17. 17.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 480; // typed by the user
    line 2: let off = 30; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 2 (b) line 3 (c) line 1 (d) line 4
  18. 18.True or false: “tiny tap areas” helps everyone use the app. (a) True (b) False
  19. 19.Which colour pair is hard to read? (a) dark blue on white (b) red on green (c) black on pale grey (d) white on black
  20. 20.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 49; // start at 49
    line 2: lives = lives - 4; // take away 4
    line 3: lives = lives + 5; // take away 5
    line 4: lives = lives + 3; // add 3
    line 5: show(lives); // show it
  21. 21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 43; // start at 43
    line 2: stars = stars * 3; // double it
    line 3: stars = stars - 5; // take away 5
    line 4: stars = stars - 3; // take away 3
    line 5: show(stars); // show it
    (a) line 3 (b) line 4 (c) line 2 (d) line 1
  22. 22.♿ Showing right or wrong only in red and green is a problem for ___. (a) fast typists (b) the server (c) the battery (d) colour-blind users
  23. 23.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(4));
  24. 24.💾 What number does this code show?
    let points = 6;
    points = points - 6;
    points = points + 1;
    show(points);
  25. 25.✏️ Why draw a wireframe before coding? (a) it adds colours (b) it saves data (c) changes are quick (d) it runs the app
  26. 26.🔢 In a sign-up flow, which comes FIRST? (a) open the app (b) make a password (c) see the home screen (d) tap “Sign up”
  27. 27.🧩 Scores, notes and settings that an app keeps are called ___. (a) tabs (b) data (c) screens (d) buttons
  28. 28.🔢 In a food-order flow, what comes right after “pick a dish”? (a) add it to the cart (b) check the cart (c) open the menu (d) track the order
  29. 29.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Cancel button: 40 px tall
    Help button: 64 px tall
    Next button: 48 px tall
    (a) Help (b) Cancel (c) Next
  30. 30.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 36; // start at 34
    line 2: points = points * 2; // double it
    line 3: points = points + 3; // add 3
    line 4: points = points - 4; // take away 4
    line 5: show(points); // show it
  31. 31.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. tap the Search tab
    3. open “Score card”
    4. open “Help page”
    5. tap the Profile tab
    Which screen are you on now?
    (a) Score card (b) Help page (c) Edit photo (d) Profile
  32. 32.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a big redesign (b) a new feature (c) a bug fix (d) a new app
  33. 33.Which of these is true of a tab bar? (a) shows 3 to 5 icons (b) undoes one move (c) hides extra links (d) goes to the last screen
  34. 34.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age <= 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(15) → expected 100
    Test 2: price(7) → expected 50
    Test 3: price(10) → expected 100
    (a) Test 2 (b) Test 1 (c) Test 3
  35. 35.⚙️ What number does this app show?
    let price = 10; // typed by the user
    let qty = 2; // typed by the user
    let total = price * qty;
    show(total);
  36. 36.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right > 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(9) → expected Pass
    Test 2: result(6) → expected Try again
    Test 3: result(7) → expected Pass
    (a) Test 3 (b) Test 1 (c) Test 2
  37. 37.🛠️ At which stage do you draw the user flow? (a) the test stage (b) the build stage (c) the release stage (d) the plan stage
  38. 38.Which of these app ideas solves no real problem? (a) a lost-and-found board (b) a medicine reminder (c) a bill splitter (d) a page of random dots
  39. 39.🔘 Is this good or poor button design: a clear word like Save? (a) poor design (b) good design
  40. 40.Which of these makes the app harder to use? (a) labels on every icon (b) big touch targets (c) strong colour contrast (d) tiny tap areas

Answer key

  1. an app store
  2. a result on screen
  3. add the buttons
  4. 2.17.8
  5. Battery OK
  6. fix and improve
  7. False
  8. a permission
  9. Test 2
  10. so users do not get lost
  11. Test 2
  12. “I keep missing the bus”
  13. on the phone
  14. Hello, Meera!
  15. 110
  16. the home page of an app
  17. line 3
  18. False
  19. red on green
  20. 53
  21. line 2
  22. colour-blind users
  23. 70
  24. 1
  25. changes are quick
  26. open the app
  27. data
  28. add it to the cart
  29. Cancel
  30. 67
  31. Profile
  32. a bug fix
  33. shows 3 to 5 icons
  34. Test 3
  35. 20
  36. Test 3
  37. the plan stage
  38. a page of random dots
  39. good design
  40. tiny tap areas

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