← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 844 · 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 number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(60, 2));
  2. 2.True or false: a wireframe uses the final pictures. (a) True (b) False
  3. 3.🔢 In a quiz-app flow, which comes first: “see the final score” or “pick an answer”? (a) pick an answer (b) see the final score
  4. 4.🛠️ At which stage do you connect the data? (a) the build stage (b) the plan stage (c) the release stage (d) the idea stage
  5. 5.🧩 In an app, what is a switch for dark mode? (a) data (b) a button (c) a screen (d) an input
  6. 6.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Settings
    [button] Done
    [text box] Age
    [text box] Name
    [text box] Phone
    [button] Back
    [slider] Volume
    [switch] Dark mode
    [button] Cancel
  7. 7.🎯 Is this a user need or a feature: “Small text is hard”? (a) a user need (b) a feature
  8. 8.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Arjun", "Meera", "Zoya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Riya (c) Hi, Meera (d) Hi, Zoya
  9. 9.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Pens → Shop → Confirm
    Design B: Home → Pay → Menu → Offers → Search
    (a) Design A (b) Design B
  10. 10.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Menu: 19 px
    Label: 10 px
    Caption: 16 px
    (a) Menu (b) Caption (c) Label
  11. 11.True or false: a website is installed on a phone. (a) True (b) False
  12. 12.🚀 Which version is newer: 1.4.3 or 1.4.19? (a) 1.4.3 (b) 1.4.19
  13. 13.Which of these is an output? (a) a buzz (vibration) (b) sorting the scores (c) taking a photo (d) working out a tip
  14. 14.🔢 In a food-order flow, which comes first: “pick a dish” or “open the menu”? (a) pick a dish (b) open the menu
  15. 15.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
  16. 16.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. tap the Search tab
    3. open “Video”
    4. tap Back
    Which screen are you on now?
    (a) Video (b) Home (c) Edit photo (d) Search
  17. 17.🛠️ At which stage do you put it on an app store? (a) the build stage (b) the plan stage (c) the idea stage (d) the release stage
  18. 18.Which of these is true of the back button? (a) hides extra links (b) opens a list of pages (c) shows 3 to 5 icons (d) goes to the last screen
  19. 19.🗒️ A to-do app with no “add a task” feature is ___. (a) ready to release (b) well planned (c) missing a must-have (d) a nice extra
  20. 20.True or false: space between buttons is poor button design. (a) True (b) False
  21. 21.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Edit Profile
    [button] Send
    [button] Back
    [switch] Dark mode
    [button] Save
    [text box] Age
  22. 22.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) custom alert sounds (b) set a reminder time (c) share your streak (d) water animations
  23. 23.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Confirm → Shop → Address → Pay → Results
    Design B: Home → Search → Offers → Pay → Cart → Item → Confirm
  24. 24.True or false: the font size is about UI (the look). (a) False (b) True
  25. 25.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 47; // start at 45
    line 2: score = score + 3; // add 3
    line 3: score = score - 5; // take away 5
    line 4: score = score - 4; // take away 4
    line 5: show(score); // show it
  26. 26.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Save button: 36 px tall
    Cancel button: 60 px tall
    Back button: 48 px tall
  27. 27.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 34; // start at 34
    line 2: coins = coins + 6; // add 6
    line 3: coins = coins * 3; // double it
    line 4: show(coins); // show it
    (a) line 3 (b) line 2 (c) line 1
  28. 28.Which colour pair is hard to read? (a) white on dark green (b) black on yellow (c) light grey on white (d) black on pale grey
  29. 29.Which of these requests asks for too much? (a) torch → contacts (b) map app → location (c) camera app → camera (d) voice notes → microphone
  30. 30.True or false: the search box changes is a text event. (a) True (b) False
  31. 31.Which of these is a user need? (a) “What should I cook?” (b) a search bar (c) a reminder alarm (d) a dark mode switch
  32. 32.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) check the answer (b) show a question (c) show the score (d) an avatar shop
  33. 33.🔀 What does this battery rule show?
    let battery = 42;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  34. 34.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(7) → expected Pass
    Test 2: result(3) → expected Try again
    Test 3: result(6) → expected Pass
    (a) Test 3 (b) Test 1 (c) Test 2
  35. 35.👆 What kind of event is this: the user types a letter? (a) a timer event (b) a tap event (c) a text event (d) a load event
  36. 36.🧩 What do we call one full page of an app? (a) a cable (b) a screen (c) a variable (d) a battery
  37. 37.True or false: a recipe finder is the best fit for a parent waiting at the bus stop. (a) False (b) True
  38. 38.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Quiz tab
    2. tap the Me tab
    3. tap the Lessons tab
    How many times must you tap Back to reach the main screen of this tab?
  39. 39.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 30;
    }
    show(fee(8) + fee(8));
  40. 40.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 14 votes
    losing water bottles: 7 votes
    forgetting birthdays: 16 votes
    (a) losing water bottles (b) no quiet study place (c) forgetting birthdays

Answer key

  1. 120
  2. False
  3. pick an answer
  4. the build stage
  5. an input
  6. 5
  7. a user need
  8. Hi, Zoya
  9. Design A
  10. Label
  11. False
  12. 1.4.19
  13. a buzz (vibration)
  14. open the menu
  15. No
  16. Search
  17. the release stage
  18. goes to the last screen
  19. missing a must-have
  20. False
  21. 2
  22. set a reminder time
  23. 5
  24. True
  25. 39
  26. 2
  27. line 3
  28. light grey on white
  29. torch → contacts
  30. True
  31. “What should I cook?”
  32. an avatar shop
  33. Battery OK
  34. Test 3
  35. a text event
  36. a screen
  37. False
  38. 0
  39. 60
  40. forgetting birthdays

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