← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 336 · 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.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) rate the driver (c) a dark mode (d) pick your bus stop
  2. 2.💾 Where should the app save your last game level: on the phone or in the cloud? (a) in the cloud (b) on the phone
  3. 3.👆 The user taps the button 4 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
  4. 4.🧩 In an app, what is a box to type a name? (a) a button (b) data (c) an input (d) a screen
  5. 5.🗒️ Version 1 of a bus tracker must be ready in 8 days. How many days are left for extras after the must-haves?
    see where the bus is: 3 days
    show arrival time: 1 days
    pick your bus stop: 3 days
  6. 6.🖼️ In this wireframe (top to bottom), what is right above the title text?
    [ big picture ]
    [ Add button ]
    [ search box ]
    [ top bar ]
    [ title text ]
    (a) search box (b) top bar (c) Add button (d) big picture
  7. 7.⚙️ What number does this app show?
    let price = 20; // typed by the user
    let qty = 3; // typed by the user
    let total = price * qty;
    show(total);
  8. 8.🧰 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(4) + fee(8));
  9. 9.🧪 What is the ACTUAL result of Test 1?
    🚚 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(700) → expected 40
    Test 2: delivery(1050) → expected 0
    Test 3: delivery(800) → expected 0
  10. 10.🔍 Which is the odd one out? (a) whether users get lost (b) how fast a task is done (c) how users feel after (d) the button colours
  11. 11.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show a question (b) show the score (c) background music (d) check the answer
  12. 12.💡 After a survey, which need should version 1 solve? (a) a random need (b) the rarest need (c) the most common need (d) the newest trend
  13. 13.🧪 A test fails when ___. (a) actual is not expected (b) the font is big (c) the app is new (d) both are the same
  14. 14.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Item → Shop
    Design B: Home → Address → Cart → Pens → Search → Size
    (a) Design B (b) Design A
  15. 15.♿ What does a screen reader do? (a) plays music (b) reads the screen aloud (c) makes text tiny (d) takes photos
  16. 16.Which of these app ideas solves no real problem? (a) a medicine reminder (b) a free study-room finder (c) a library due-date alert (d) a blank grey screen
  17. 17.Which of these is a user need? (a) a dark mode switch (b) “I forget my homework” (c) a reminder alarm (d) a search bar
  18. 18.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Search → Pay → Pens
    Design B: Home → Confirm → Menu
  19. 19.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a final design (b) a wireframe
  20. 20.🔘 Our rule: buttons are at least 48 px tall. The Next button is 20 px tall. How many px taller must it be?
  21. 21.🔀 What is a user flow? (a) a type of font (b) the path through screens (c) a charging cable (d) a colour theme
  22. 22.🔁 Why use a loop to show 100 messages? (a) it uses more lines (b) it hides them (c) less code to write (d) it is slower
  23. 23.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Cart → Item
    Design B: Home → Search → Cart → Menu → Offers
  24. 24.🐞 After fixing a bug you should ___. (a) delete the test (b) never test (c) release at once (d) test it again
  25. 25.🔁 What number does this code show?
    let scores = [30, 95, 62];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  26. 26.🔢 In a photo-post flow, which comes FIRST? (a) add a filter (b) take the photo (c) open the camera screen (d) write a caption
  27. 27.Which of these is an input? (a) checking a password (b) adding up a bill (c) a buzz (vibration) (d) typing your age
  28. 28.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Cart → Menu → Shop
    Design B: Home → Search → Pens → Shop → Confirm
  29. 29.True or false: chat messages to friends fits saving on the phone. (a) False (b) True
  30. 30.✏️ Is this true of a wireframe or of a final design: has the real colours? (a) a wireframe (b) a final design
  31. 31.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
  32. 32.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 570; // 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 1 (b) line 2 (c) line 4 (d) line 3
  33. 33.♿ Accessibility means an app works for ___. (a) everyone (b) nobody (c) only the coder (d) only experts
  34. 34.🔀 In a good flow, each screen should lead to ___. (a) a clear next step (b) a random page (c) the same screen (d) a dead end
  35. 35.👆 The user types Arjun in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Well done, " + nameBox.text + "!";
    };
    (a) Arjun (b) Well done, Arjun! (c) Well done! (d) Well done, nameBox.text!
  36. 36.🔢 In a photo-post flow, which comes LAST? (a) add a filter (b) write a caption (c) take the photo (d) post the photo
  37. 37.💾 Data saved only on the phone is lost when ___. (a) the app is closed (b) you send a message (c) the screen turns off (d) the phone is lost
  38. 38.💾 pop() takes off the last item. What does this code show?
    let songs = ["Kites", "Monsoon", "Stars", "Rain"];
    songs.pop();
    show(songs[songs.length - 1]);
    (a) Monsoon (b) Rain (c) Kites (d) Stars
  39. 39.Which of these fits saving on the phone? (a) chat messages to friends (b) photos on two devices (c) a class leaderboard (d) the sound on/off setting
  40. 40.Which of these makes the app harder to use? (a) captions on videos (b) labels on every icon (c) text that can grow (d) colour as the only clue

Answer key

  1. pick your bus stop
  2. on the phone
  3. OFF
  4. an input
  5. 1
  6. top bar
  7. 60
  8. 40
  9. 40
  10. the button colours
  11. background music
  12. the most common need
  13. actual is not expected
  14. Design A
  15. reads the screen aloud
  16. a blank grey screen
  17. “I forget my homework”
  18. 2
  19. a final design
  20. 28
  21. the path through screens
  22. less code to write
  23. 2
  24. test it again
  25. 2
  26. open the camera screen
  27. typing your age
  28. 3
  29. False
  30. a final design
  31. No
  32. line 3
  33. everyone
  34. a clear next step
  35. Well done, Arjun!
  36. post the photo
  37. the phone is lost
  38. Stars
  39. the sound on/off setting
  40. colour as the only clue

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