← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 246 · 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.🔀 What does if / else let an app do? (a) repeat forever (b) pick one of two actions (c) draw a screen (d) save a photo
  2. 2.🧭 Where is a tab bar usually placed in a phone app? (a) at the bottom (b) inside a button (c) in the middle (d) nowhere
  3. 3.🌗 Is dark blue on black easy or hard to read on a button? (a) easy to read (b) hard to read
  4. 4.🧩 In an app, what is the home page of an app? (a) a button (b) a screen (c) an input (d) data
  5. 5.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a wireframe (b) a final design
  6. 6.💾 Where should the app save photos on two devices: on the phone or in the cloud? (a) in the cloud (b) on the phone
  7. 7.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 43; // start at 43
    line 2: score = score - 2; // add 2
    line 3: score = score + 4; // add 4
    line 4: score = score * 2; // double it
    line 5: show(score); // show it
    (a) line 2 (b) line 4 (c) line 1 (d) line 3
  8. 8.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 37; // start at 37
    line 2: score = score + 4; // add 3
    line 3: score = score * 2; // double it
    line 4: score = score * 2; // double it
    line 5: show(score); // show it
    (a) line 2 (b) line 1 (c) line 3 (d) line 4
  9. 9.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Menu → Offers → Pens
    Design B: Home → Item → Cart → Pens → Results → Address
  10. 10.True or false: you write the code at the release stage. (a) False (b) True
  11. 11.🧰 How do you run (call) a function called greet? (a) run greet (b) #greet (c) greet() (d) greet[]
  12. 12.🖼️ In this wireframe (top to bottom), what is right below the Save button?
    [ Save button ]
    [ Add button ]
    [ title text ]
    [ search box ]
    [ tab bar ]
    (a) search box (b) tab bar (c) Add button (d) title text
  13. 13.👥 A clinic app has 290 patients, 40 doctors and 195 nurses as users. Which user group is the biggest? (a) nurses (b) doctors (c) patients
  14. 14.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) a dark mode (c) see where the bus is (d) change the bus icon
  15. 15.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 32 px tall. How many px taller must it be?
  16. 16.📊 Survey: which problem bugs you most? How many students voted in all?
    wasting pocket money: 7 votes
    missing the bus: 22 votes
    forgetting birthdays: 19 votes
  17. 17.💡 Which app idea solves this problem: pupils forget due dates? (a) a bill splitter (b) a homework planner (c) a study-room finder (d) a medicine reminder
  18. 18.🧪 What is the ACTUAL result of Test 2?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(800) → expected 0
    Test 2: delivery(750) → expected 40
    Test 3: delivery(950) → expected 0
  19. 19.🔁 What number does this code show?
    let marks = [73, 99, 72, 58];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  20. 20.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 39; // start at 39
    line 2: points = points * 2; // double it
    line 3: points = points + 6; // add 6
    line 4: points = points - 4; // add 4
    line 5: show(points); // show it
  21. 21.👥 A library app has 255 readers, 185 librarians and 210 volunteers as users. Which user group is the biggest? (a) volunteers (b) readers (c) librarians
  22. 22.True or false: icons with no meaning is good button design. (a) True (b) False
  23. 23.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 46; // start at 46
    line 2: stars = stars - 2; // take away 2
    line 3: stars = stars * 2; // double it
    line 4: stars = stars - 2; // add 2
    line 5: show(stars); // show it
    (a) line 4 (b) line 1 (c) line 2 (d) line 3
  24. 24.🔢 In a sign-up flow, which comes FIRST? (a) open the app (b) see the home screen (c) tap “Sign up” (d) enter the code sent
  25. 25.True or false: notes to read offline fits saving in the cloud. (a) False (b) True
  26. 26.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) background music (b) show the score (c) show a question (d) check the answer
  27. 27.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) pick your bus stop (b) rate the driver (c) a dark mode (d) change the bus icon
  28. 28.Which of these makes the app harder to use? (a) text that can grow (b) icons with no labels (c) captions on videos (d) strong colour contrast
  29. 29.🗒️ Why keep version 1 small? (a) to use up storage (b) to look bigger (c) to confuse users (d) to learn from users soon
  30. 30.True or false: the icon shapes is about UX (the experience). (a) True (b) False
  31. 31.👆 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) OFF (b) ON
  32. 32.🧰 What is a function? (a) a named block of code (b) a screen size (c) a list of colours (d) a type of phone
  33. 33.👆 The user taps the button 6 times. What number does the label show now?
    let points = 0;
    button.onTap = function () {
      points = points + 3;
      label.text = points;
    };
  34. 34.🧩 In an app, what is tap to Send? (a) a screen (b) an input (c) data (d) a button
  35. 35.💡 Does an app idea like a blank grey screen solve a real problem? (a) Yes (b) No
  36. 36.📅 An app team plans for 3 days, builds for 5 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  37. 37.👆 The user types Zoya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hi, " + nameBox.text + "!";
    };
    (a) Hi, Zoya! (b) Hi! (c) Hi, nameBox.text! (d) Zoya
  38. 38.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Address → Pay
    Design B: Home → Shop → Pens → Results → Size
    (a) Design A (b) Design B
  39. 39.Which of these is a user need? (a) a reminder alarm (b) a search bar (c) a dark mode switch (d) “Small text is hard”
  40. 40.🔍 Which is the odd one out? (a) typing your age (b) tapping a button (c) sorting the scores (d) taking a photo

Answer key

  1. pick one of two actions
  2. at the bottom
  3. hard to read
  4. a screen
  5. a final design
  6. in the cloud
  7. line 2
  8. line 2
  9. 2
  10. False
  11. greet()
  12. Add button
  13. patients
  14. see where the bus is
  15. 16
  16. 48
  17. a homework planner
  18. 40
  19. 4
  20. 88
  21. readers
  22. False
  23. line 4
  24. open the app
  25. False
  26. background music
  27. pick your bus stop
  28. icons with no labels
  29. to learn from users soon
  30. False
  31. ON
  32. a named block of code
  33. 18
  34. a button
  35. No
  36. 12
  37. Hi, Zoya!
  38. Design A
  39. “Small text is hard”
  40. sorting the scores

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