← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 846 · 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 return do in a function? (a) deletes the app (b) sends back a value (c) repeats the code (d) closes the screen
  2. 2.🐞 After fixing a bug you should ___. (a) never test (b) test it again (c) release at once (d) delete the test
  3. 3.True or false: a big, easy tap area is good button design. (a) False (b) True
  4. 4.🧩 What do we call one full page of an app? (a) a cable (b) a battery (c) a variable (d) a screen
  5. 5.👆 “On tap → do this” links an event to ___. (a) an action (b) a web address (c) a charger (d) a font
  6. 6.Which of these is true of an app? (a) has a home-screen icon (b) has a web address (c) opens in a web browser (d) needs no installing
  7. 7.🔁 What number does this code show?
    let marks = [79, 96, 69, 61, 50];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  8. 8.🔘 Is this good or poor button design: icons with no meaning? (a) poor design (b) good design
  9. 9.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Menu: 17 px
    Label: 12 px
    Title: 20 px
    (a) Label (b) Title (c) Menu
  10. 10.Which colour pair is easy to read? (a) dark blue on black (b) dark blue on white (c) light grey on white (d) pale pink on white
  11. 11.🗂️ What kind of app is a times-table quiz? (a) a tool app (b) a health app (c) a learning app (d) a game
  12. 12.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) old cases (b) edge cases (c) easy cases (d) phone cases
  13. 13.True or false: tap to Send is data. (a) False (b) True
  14. 14.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Sign Up
    [slider] Text size
    [button] Done
    [button] Help
    [button] Save
    [text box] City
  15. 15.🔢 In a sign-up flow, which comes first: “open the app” or “make a password”? (a) open the app (b) make a password
  16. 16.Which of these is an output? (a) typing your age (b) a buzz (vibration) (c) taking a photo (d) adding up a bill
  17. 17.👆 The user taps the button 5 times. What number does the label show now?
    let score = 6;
    button.onTap = function () {
      score = score + 4;
      label.text = score;
    };
  18. 18.👥 A library app has 235 readers, 290 librarians and 175 volunteers as users. How many users does it have in all?
  19. 19.🔀 What number does this shop app show?
    let total = 590;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  20. 20.🎨 Is this about UI or UX: the theme colours? (a) UI (b) UX
  21. 21.Which colour pair is hard to read? (a) yellow on white (b) black on yellow (c) white on dark green (d) black on pale grey
  22. 22.🔐 Is this permission request fair or too much: camera app → camera? (a) fair (b) too much
  23. 23.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 0
    Test 2: delivery(700) → expected 0
    Test 3: delivery(550) → expected 40
    (a) Test 3 (b) Test 1 (c) Test 2
  24. 24.🔢 In a photo-post flow, which comes FIRST? (a) post the photo (b) open the camera screen (c) write a caption (d) take the photo
  25. 25.🧰 In function tip(bill), what is bill? (a) an event (b) a loop (c) a screen (d) a parameter
  26. 26.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [text box] City
    [text box] Name
    [button] Save
    [button] Send
    [text box] Email
    [button] Next
  27. 27.🔁 What number does this code show?
    let steps = [6, 14, 18, 2];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  28. 28.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(0));
  29. 29.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “losing water bottles”?
    forgetting homework: 23 votes
    no quiet study place: 22 votes
    losing water bottles: 4 votes
  30. 30.🧩 In an app, what is tap to Start? (a) a button (b) data (c) an input (d) a screen
  31. 31.Which of these happens at the release stage? (a) talk to possible users (b) add the buttons (c) sketch the screens (d) put it on an app store
  32. 32.🎯 Which app would help this user most: a reader who finds small print hard? (a) a bus tracker (b) a homework planner (c) a big-text reader (d) a water reminder
  33. 33.True or false: your friends list is a button. (a) False (b) True
  34. 34.💾 What does this code show? (Positions start at 0.)
    let notes = ["Science", "Maths", "Sports"];
    show(notes[1]);
    (a) Sports (b) Science (c) Maths
  35. 35.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. tap Back
    3. open “Edit photo”
    Which screen are you on now?
    (a) Profile (b) Edit photo (c) Search (d) Home
  36. 36.🎯 What is the best first step to learn what users need? (a) pick the colours (b) write the code (c) ask and watch users (d) guess on your own
  37. 37.Which of these is true of a final design? (a) looks like the real app (b) has no real colours (c) shows where things go (d) uses plain grey boxes
  38. 38.True or false: you write the store text at the release stage. (a) True (b) False
  39. 39.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 30; // start at 30
    line 2: lives = lives * 3; // double it
    line 3: lives = lives - 4; // take away 4
    line 4: show(lives); // show it
    (a) line 1 (b) line 2 (c) line 3
  40. 40.🎨 Is this about UI or UX: the button colours? (a) UI (b) UX

Answer key

  1. sends back a value
  2. test it again
  3. True
  4. a screen
  5. an action
  6. has a home-screen icon
  7. 4
  8. poor design
  9. Label
  10. dark blue on white
  11. a learning app
  12. edge cases
  13. False
  14. 2
  15. open the app
  16. a buzz (vibration)
  17. 26
  18. 700
  19. 540
  20. UI
  21. yellow on white
  22. fair
  23. Test 1
  24. open the camera screen
  25. a parameter
  26. 3
  27. 40
  28. 60
  29. 19
  30. a button
  31. put it on an app store
  32. a big-text reader
  33. False
  34. Maths
  35. Edit photo
  36. ask and watch users
  37. looks like the real app
  38. True
  39. line 2
  40. UI

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