← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 965 · 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.Which of these happens at the test stage? (a) talk to possible users (b) add the buttons (c) pick the features (d) let friends try it
  2. 2.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Friend list”
    2. tap the Profile tab
    3. tap the Search tab
    4. open “Edit photo”
    How many times must you tap Back to reach the main screen of this tab?
  3. 3.💾 What number does this code show?
    let notes = ["Science", "Art", "Maths", "Hindi"];
    notes.push("Music");
    notes.push("Sports");
    show(notes.length);
  4. 4.🧩 In an app, what is a date picker? (a) a screen (b) an input (c) a button (d) data
  5. 5.🧰 What is a function? (a) a list of colours (b) a screen size (c) a named block of code (d) a type of phone
  6. 6.🔀 In a good flow, each screen should lead to ___. (a) the same screen (b) a random page (c) a dead end (d) a clear next step
  7. 7.💡 Which app idea solves this problem: friends argue over who pays? (a) a study-room finder (b) a medicine reminder (c) a bill splitter (d) a lost-and-found board
  8. 8.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Back button: 40 px tall
    Next button: 48 px tall
    Cancel button: 64 px tall
    Done button: 44 px tall
  9. 9.🧰 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(9));
  10. 10.True or false: an app has a home-screen icon. (a) True (b) False
  11. 11.🔢 In a photo-post flow, which comes first: “open the camera screen” or “take the photo”? (a) take the photo (b) open the camera screen
  12. 12.🧭 Which part of navigation undoes one move? (a) a tab bar (b) a menu button (c) the back button
  13. 13.👆 What kind of event is this: the user presses Save? (a) a text event (b) a load event (c) a tap event (d) a timer event
  14. 14.🐞 A comment in code (after //) is for ___. (a) the app store (b) the phone screen (c) the battery (d) people reading the code
  15. 15.🔘 Is this good or poor button design: space between buttons? (a) poor design (b) good design
  16. 16.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a library due-date alert (c) a button with no action (d) a blank grey screen
  17. 17.🎯 Is this a user need or a feature: “Small text is hard”? (a) a feature (b) a user need
  18. 18.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
  19. 19.🌗 Is black on yellow easy or hard to read on a button? (a) easy to read (b) hard to read
  20. 20.🔀 What does this PIN rule show?
    let pin = "45377";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  21. 21.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Help page”
    2. open “Help page”
    3. open “Edit photo”
    4. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  22. 22.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Match report”
    2. tap Back
    3. open “Badges”
    How many times must you tap Back to reach the main screen of this tab?
  23. 23.True or false: an app that just says hi solves no real problem. (a) False (b) True
  24. 24.🧪 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(9) → expected 50
    Test 2: price(10) → expected 100
    Test 3: price(11) → expected 100
  25. 25.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Save button: 68 px tall
    Cancel button: 60 px tall
    Done button: 28 px tall
    Next button: 52 px tall
    (a) Next (b) Save (c) Cancel (d) Done
  26. 26.🧩 In an app, what is your high score? (a) an input (b) a screen (c) a button (d) data
  27. 27.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Riya", "Zoya", "Aman", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Zoya (c) Hi, Arjun (d) Hi, Kabir
  28. 28.🔀 With if / else if / else, how many parts run? (a) only one (b) all of them (c) two (d) none
  29. 29.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Aman"));
    (a) Aman (b) Hello, Aman! (c) Hello, name! (d) greet
  30. 30.True or false: a finger hits Like is a load event. (a) False (b) True
  31. 31.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ big picture ]
    [ tab bar ]
    [ title text ]
    [ menu icon ]
    [ filter buttons ]
    [ Save button ]
    (a) big picture (b) menu icon (c) tab bar (d) Save button
  32. 32.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 20;
    }
    show(fee(8) + fee(8));
  33. 33.🔢 In a photo-post flow, which comes first: “open the camera screen” or “add a filter”? (a) add a filter (b) open the camera screen
  34. 34.🔢 In a food-order flow, what comes right after “pick a dish”? (a) pay for the order (b) open the menu (c) check the cart (d) add it to the cart
  35. 35.Which of these is true of a tab bar? (a) switches main sections (b) undoes one move (c) hides extra links (d) opens a list of pages
  36. 36.Which of these is about UX (the experience)? (a) the font size (b) how users feel after (c) the theme colours (d) the screen layout
  37. 37.🎯 Is this a user need or a feature: a search bar? (a) a feature (b) a user need
  38. 38.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a wireframe (b) a final design
  39. 39.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 65; // typed by the user
    line 2: let qty = 3; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 3 (b) line 2 (c) line 1 (d) line 4
  40. 40.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Send button: 44 px tall
    Next button: 48 px tall
    Help button: 52 px tall

Answer key

  1. let friends try it
  2. 1
  3. 6
  4. an input
  5. a named block of code
  6. a clear next step
  7. a bill splitter
  8. 2
  9. 40
  10. True
  11. open the camera screen
  12. the back button
  13. a tap event
  14. people reading the code
  15. good design
  16. a library due-date alert
  17. a user need
  18. hard to read
  19. easy to read
  20. Use 4 digits
  21. 2
  22. 1
  23. True
  24. 2
  25. Done
  26. data
  27. Hi, Kabir
  28. only one
  29. Hello, Aman!
  30. False
  31. Save button
  32. 40
  33. open the camera screen
  34. add it to the cart
  35. switches main sections
  36. how users feel after
  37. a feature
  38. a wireframe
  39. line 3
  40. 2

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