← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 368 · 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.🧩 In an app, what is a switch for dark mode? (a) a screen (b) a button (c) data (d) an input
  2. 2.🔁 What number does this code show?
    let runs = [26, 71, 11];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  3. 3.📊 Survey: which problem bugs you most? How many students voted in all?
    no quiet study place: 11 votes
    wasting pocket money: 5 votes
    forgetting birthdays: 6 votes
  4. 4.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 15; // typed by the user
    line 2: let qty = 2; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 2 (b) line 3 (c) line 1 (d) line 4
  5. 5.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Save button: 64 px tall
    Send button: 56 px tall
    Cancel button: 48 px tall
    Done button: 52 px tall
  6. 6.🗒️ Why keep version 1 small? (a) to look bigger (b) to use up storage (c) to confuse users (d) to learn from users soon
  7. 7.Which of these is about UX (the experience)? (a) the screen layout (b) the icon shapes (c) the theme colours (d) how easy sign-up is
  8. 8.Which of these app ideas solves no real problem? (a) a lost-and-found board (b) a button with no action (c) a free study-room finder (d) a medicine reminder
  9. 9.🔍 Which is the odd one out? (a) how fast a task is done (b) how easy sign-up is (c) the font size (d) whether users get lost
  10. 10.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ tab bar ]
    [ search box ]
    [ title text ]
    [ list of items ]
    [ filter buttons ]
    (a) tab bar (b) title text (c) filter buttons (d) list of items
  11. 11.💾 pop() takes off the last item. What does this code show?
    let songs = ["Stars", "Ocean", "Rain", "Sunrise"];
    songs.pop();
    show(songs[songs.length - 1]);
    (a) Sunrise (b) Stars (c) Rain (d) Ocean
  12. 12.🗒️ When should nice-to-have features be built? (a) never (b) before anything (c) on day one (d) after the must-haves
  13. 13.True or false: a speak-to-type notes app needs the microphone. (a) False (b) True
  14. 14.🔁 What number does this code show?
    let marks = [14, 83, 14, 50, 61];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  15. 15.👆 The user taps the button 5 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
  16. 16.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting homework: 17 votes
    forgetting birthdays: 13 votes
    no quiet study place: 21 votes
    (a) forgetting homework (b) no quiet study place (c) forgetting birthdays
  17. 17.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Me tab
    2. open “Help page”
    3. open “Edit photo”
    How many times must you tap Back to reach the main screen of this tab?
  18. 18.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 32; // start at 32
    line 2: stars = stars * 2; // double it
    line 3: stars = stars - 6; // add 6
    line 4: stars = stars - 5; // take away 5
    line 5: show(stars); // show it
  19. 19.True or false: a website has a home-screen icon. (a) True (b) False
  20. 20.🔁 What number does this code show?
    let runs = [4, 1, 12, 1];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  21. 21.🔢 In a photo-post flow, what comes right after “take the photo”? (a) open the camera screen (b) post the photo (c) add a filter (d) write a caption
  22. 22.🔢 After an app is released, which comes LAST? (a) release an update (b) test it again (c) read user reviews (d) list what to fix
  23. 23.🔍 Which is the odd one out? (a) a result on screen (b) working out a tip (c) a pop-up message (d) a buzz (vibration)
  24. 24.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 42; // start at 42
    line 2: lives = lives + 3; // add 3
    line 3: lives = lives - 5; // add 5
    line 4: show(lives); // show it
  25. 25.🗒️ Version 1 of a homework planner must be ready in 8 days. How many days are left for extras after the must-haves?
    add a homework task: 1 days
    set a due date: 2 days
    see tasks by day: 3 days
  26. 26.True or false: a wireframe shows where things go. (a) True (b) False
  27. 27.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Edit Profile
    [text box] Email
    [switch] Show hints
    [button] Done
  28. 28.🔢 In a sign-up flow, which comes FIRST? (a) tap “Sign up” (b) open the app (c) see the home screen (d) make a password
  29. 29.🧰 In function tip(bill), what is bill? (a) an event (b) a loop (c) a screen (d) a parameter
  30. 30.🔁 What is the LAST line this code shows?
    let names = ["Zoya", "Kabir", "Riya", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Riya (c) Hi, Arjun (d) Hi, Kabir
  31. 31.True or false: icons with no meaning is good button design. (a) False (b) True
  32. 32.👥 A clinic app has 45 patients, 20 doctors and 100 nurses as users. How many users does it have in all?
  33. 33.🐞 After fixing a bug you should ___. (a) release at once (b) delete the test (c) test it again (d) never test
  34. 34.💡 Does an app idea like a library due-date alert solve a real problem? (a) No (b) Yes
  35. 35.True or false: a bill splitter solves no real problem. (a) False (b) True
  36. 36.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Body text: 17 px
    Hint: 20 px
    Menu: 14 px
    Label: 23 px
    Footer: 27 px
    (a) Hint (b) Body text (c) Label (d) Menu
  37. 37.True or false: you spot a problem to solve at the release stage. (a) False (b) True
  38. 38.🧪 How many of these test cases pass?
    🎟️ 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(14) → expected 100
    Test 2: price(9) → expected 50
    Test 3: price(12) → expected 100
  39. 39.True or false: “icons with no labels” makes the app harder to use. (a) True (b) False
  40. 40.Which of these is true of a final design? (a) uses plain grey boxes (b) looks like the real app (c) shows where things go (d) is a quick sketch

Answer key

  1. an input
  2. 1
  3. 22
  4. line 3
  5. 4
  6. to learn from users soon
  7. how easy sign-up is
  8. a button with no action
  9. the font size
  10. filter buttons
  11. Rain
  12. after the must-haves
  13. True
  14. 2
  15. ON
  16. no quiet study place
  17. 2
  18. 53
  19. False
  20. 18
  21. add a filter
  22. release an update
  23. working out a tip
  24. 50
  25. 2
  26. True
  27. 2
  28. open the app
  29. a parameter
  30. Hi, Arjun
  31. False
  32. 165
  33. test it again
  34. Yes
  35. False
  36. Menu
  37. False
  38. 3
  39. True
  40. looks like the real app

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