← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 139 · 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.True or false: “fast-flashing lights” helps everyone use the app. (a) False (b) True
  2. 2.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [button] Back
    [button] Next
    [text box] Name
    [text box] City
  3. 3.💾 What does this code show? (Positions start at 0.)
    let notes = ["Art", "Hindi", "Maths", "Science", "Music"];
    show(notes[0]);
    (a) Art (b) Science (c) Maths (d) Hindi
  4. 4.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 38; // start at 38
    line 2: points = points + 2; // add 2
    line 3: points = points + 4; // take away 4
    line 4: show(points); // show it
    (a) line 1 (b) line 2 (c) line 3
  5. 5.True or false: a speak-to-type notes app needs your location. (a) True (b) False
  6. 6.🖼️ In this wireframe (top to bottom), what is right above the Add button?
    [ filter buttons ]
    [ big picture ]
    [ list of items ]
    [ Add button ]
    [ tab bar ]
    [ Save button ]
    (a) filter buttons (b) Save button (c) tab bar (d) list of items
  7. 7.♿ What should every icon-only button have for screen readers? (a) a long animation (b) a text label (c) a bright colour (d) a sound
  8. 8.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 47; // start at 47
    line 2: score = score - 4; // take away 1
    line 3: score = score + 5; // add 5
    line 4: show(score); // show it
  9. 9.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(5));
  10. 10.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 40;
    }
    show(fee(10) + fee(5));
  11. 11.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Aman"));
    (a) Hi, name! (b) Hi, Aman! (c) greet (d) Aman
  12. 12.✏️ Do wireframes usually show the final colours? (a) No (b) Yes
  13. 13.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 45; // start at 45
    line 2: stars = stars + 3; // add 2
    line 3: stars = stars + 5; // add 5
    line 4: show(stars); // show it
    (a) line 2 (b) line 3 (c) line 1
  14. 14.🔍 Which is the odd one out? (a) tiny tap areas (b) big touch targets (c) strong colour contrast (d) text that can grow
  15. 15.🔁 What number does this code show?
    let runs = [17, 12, 4];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  16. 16.🔢 In a photo-post flow, which comes FIRST? (a) post the photo (b) take the photo (c) add a filter (d) open the camera screen
  17. 17.👆 The user taps the button 2 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
  18. 18.🔢 In a food-order flow, what comes right after “add it to the cart”? (a) open the menu (b) track the order (c) check the cart (d) pay for the order
  19. 19.🗂️ What kind of app is a puzzle with levels? (a) a tool app (b) a game (c) a health app (d) a learning app
  20. 20.True or false: a selfie sticker app needs the camera. (a) True (b) False
  21. 21.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 3 (b) 0, 1, 2, 3 (c) 0, 1, 2 (d) 1, 2, 3
  22. 22.🖼️ In this wireframe (top to bottom), what is right below the menu icon?
    [ Add button ]
    [ title text ]
    [ filter buttons ]
    [ search box ]
    [ menu icon ]
    [ Save button ]
    (a) filter buttons (b) Add button (c) Save button (d) title text
  23. 23.🔀 What does this PIN rule show?
    let pin = "23776";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  24. 24.🚀 Your app is at version 4.12.9. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.13.9 (b) 4.13.0 (c) 4.12.10 (d) 5.0.0
  25. 25.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) rate the driver (c) show arrival time (d) see where the bus is
  26. 26.🧩 Which input is best for turning something ON or OFF? (a) a switch (b) a text box (c) a slider (d) a title
  27. 27.🗒️ Version 1 of a pocket-money tracker must be ready in 7 days. How many days are left for extras after the must-haves?
    add money received: 2 days
    add money spent: 3 days
    show the balance: 2 days
  28. 28.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(26));
  29. 29.👥 A clinic app has 200 patients, 25 doctors and 290 nurses as users. Which user group is the biggest? (a) patients (b) doctors (c) nurses
  30. 30.Which colour pair is hard to read? (a) white on black (b) white on dark green (c) dark blue on black (d) black on pale grey
  31. 31.🔢 In a sign-up flow, which comes first: “make a password” or “see the home screen”? (a) see the home screen (b) make a password
  32. 32.True or false: a selfie sticker app needs the microphone. (a) False (b) True
  33. 33.💡 Which app idea solves this problem: a team shares one snack bill? (a) a homework planner (b) a bill splitter (c) a study-room finder (d) a medicine reminder
  34. 34.True or false: tapping a button is an output. (a) False (b) True
  35. 35.Which of these is a screen? (a) tap to go Next (b) today’s step count (c) your saved notes (d) the home page of an app
  36. 36.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Home tab
    2. open “Friend list”
    3. tap Back
    4. open “Edit photo”
    5. tap the Home tab
    How many times must you tap Back to reach the main screen of this tab?
  37. 37.True or false: an app updates from the store. (a) False (b) True
  38. 38.True or false: a bus tracker needs your location. (a) False (b) True
  39. 39.📅 An app team plans for 3 days, builds for 7 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
  40. 40.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “forgetting homework”?
    no quiet study place: 7 votes
    forgetting homework: 3 votes
    losing water bottles: 10 votes

Answer key

  1. False
  2. 2
  3. Art
  4. line 3
  5. False
  6. list of items
  7. a text label
  8. 48
  9. 80
  10. 80
  11. Hi, Aman!
  12. No
  13. line 2
  14. tiny tap areas
  15. 17
  16. open the camera screen
  17. OFF
  18. check the cart
  19. a game
  20. True
  21. 0, 1, 2
  22. Save button
  23. Use 4 digits
  24. 5.0.0
  25. rate the driver
  26. a switch
  27. 0
  28. 78
  29. nurses
  30. dark blue on black
  31. make a password
  32. False
  33. a bill splitter
  34. False
  35. the home page of an app
  36. 0
  37. True
  38. True
  39. 6
  40. 7

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