← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 999 · 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.🔢 When you make an app, which comes first: “get an idea” or “release it”? (a) release it (b) get an idea
  2. 2.💡 After a survey, which need should version 1 solve? (a) a random need (b) the most common need (c) the newest trend (d) the rarest need
  3. 3.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(0));
  4. 4.💾 What number does this code show?
    let friends = ["Riya", "Aman", "Zoya"];
    friends.push("Kabir");
    show(friends.length);
  5. 5.🎨 Is this about UI or UX: how users feel after? (a) UX (b) UI
  6. 6.🔀 What does this battery rule show?
    let battery = 5;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  7. 7.🔁 What number does this code show?
    let marks = [11, 16, 17, 19, 6];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  8. 8.🖼️ How many parts (boxes) does this wireframe have?
    [ list of items ]
    [ tab bar ]
    [ title text ]
    [ top bar ]
    [ Add button ]
  9. 9.👆 An event in an app is ___. (a) a kind of list (b) an app store (c) a colour theme (d) something that happens
  10. 10.♿ A screen has 5 icon buttons. Only 3 of them have a text label for screen readers. How many still need a label?
  11. 11.🔢 After an app is released, which comes FIRST? (a) test it again (b) release an update (c) read user reviews (d) list what to fix
  12. 12.👆 The user taps the button 5 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  13. 13.🧰 What is a function? (a) a screen size (b) a type of phone (c) a list of colours (d) a named block of code
  14. 14.True or false: a website is installed on a phone. (a) False (b) True
  15. 15.Which of these helps everyone use the app? (a) sudden loud sounds (b) fast-flashing lights (c) colour as the only clue (d) captions on videos
  16. 16.Which of these is an input? (a) a switch for dark mode (b) tap to Save (c) tap to go Next (d) tap to Send
  17. 17.True or false: tap to Start is a button. (a) True (b) False
  18. 18.👆 What kind of event is this: the app starts up? (a) a tap event (b) a timer event (c) a load event (d) a text event
  19. 19.🔀 What number does this shop app show?
    let total = 580;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  20. 20.🧪 How many of these test cases pass?
    🚚 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(800) → expected 0
    Test 2: delivery(700) → expected 40
    Test 3: delivery(850) → expected 0
  21. 21.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Riya"));
    (a) greet (b) Hello, Riya! (c) Riya (d) Hello, name!
  22. 22.🐞 Finding and fixing bugs is called ___. (a) designing (b) downloading (c) debugging (d) decorating
  23. 23.🖼️ How many parts (boxes) does this wireframe have?
    [ title text ]
    [ Save button ]
    [ big picture ]
    [ filter buttons ]
    [ Add button ]
  24. 24.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [text box] City
    [button] Next
    [text box] Due date
    [button] Cancel
    [text box] Phone
  25. 25.👆 What kind of event is this: a countdown hits zero? (a) a text event (b) a tap event (c) a load event (d) a timer event
  26. 26.👆 “On tap → do this” links an event to ___. (a) a font (b) a charger (c) an action (d) a web address
  27. 27.👆 The user types Arjun in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Welcome, " + nameBox.text + "!";
    };
    (a) Arjun (b) Welcome, nameBox.text! (c) Welcome! (d) Welcome, Arjun!
  28. 28.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(1));
  29. 29.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) a dark mode (c) show arrival time (d) change the bus icon
  30. 30.🐞 A comment in code (after //) is for ___. (a) the app store (b) the phone screen (c) the battery (d) people reading the code
  31. 31.🔀 What does this sign-up rule show?
    let age = 12;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  32. 32.💾 What number does this code show?
    let score = 9;
    score = score - 5;
    score = score + 3;
    show(score);
  33. 33.🎯 Which app would help this user most: a student who often misses the school bus? (a) a pocket-money tracker (b) a bus tracker (c) a water reminder (d) a homework planner
  34. 34.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Back button: 60 px tall
    Next button: 44 px tall
    Start button: 32 px tall
    Help button: 56 px tall
  35. 35.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Video”
    2. tap the Me tab
    3. open “Badges”
    Which screen are you on now?
    (a) Video (b) Quiz (c) Badges (d) Lessons
  36. 36.🎯 Which app would help this user most: a teen learning to make snacks? (a) a pocket-money tracker (b) a water reminder (c) a big-text reader (d) a recipe finder
  37. 37.True or false: a medicine reminder solves a real problem. (a) True (b) False
  38. 38.🔀 What does this sign-up rule show?
    let age = 16;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  39. 39.True or false: chat messages to friends fits saving on the phone. (a) True (b) False
  40. 40.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 44 px tall. How many px taller must it be?

Answer key

  1. get an idea
  2. the most common need
  3. 40
  4. 4
  5. UX
  6. Low battery
  7. 69
  8. 5
  9. something that happens
  10. 2
  11. read user reviews
  12. 4
  13. a named block of code
  14. False
  15. captions on videos
  16. a switch for dark mode
  17. True
  18. a load event
  19. 530
  20. 3
  21. Hello, Riya!
  22. debugging
  23. 5
  24. 2
  25. a timer event
  26. an action
  27. Welcome, Arjun!
  28. 50
  29. show arrival time
  30. people reading the code
  31. Ask a parent
  32. 7
  33. a bus tracker
  34. 2
  35. Badges
  36. a recipe finder
  37. True
  38. Welcome!
  39. False
  40. 4

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