← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 95 · 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.🖼️ In this wireframe (top to bottom), what is right above the Save button?
    [ title text ]
    [ big picture ]
    [ tab bar ]
    [ menu icon ]
    [ Save button ]
    [ top bar ]
    (a) top bar (b) big picture (c) title text (d) menu icon
  2. 2.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) in the cloud (b) on the phone
  3. 3.True or false: a puzzle with levels is a learning app. (a) True (b) False
  4. 4.🎯 Is this a user need or a feature: “Small text is hard”? (a) a user need (b) a feature
  5. 5.🔁 What number does this code show?
    let runs = [2, 13, 13];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  6. 6.💾 Data saved only on the phone is lost when ___. (a) the screen turns off (b) you send a message (c) the phone is lost (d) the app is closed
  7. 7.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Zoya"));
    (a) Hello, name! (b) Zoya (c) greet (d) Hello, Zoya!
  8. 8.🔁 What number does this code show?
    let steps = [56, 56, 57, 60, 41];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  9. 9.♿ What does a screen reader do? (a) makes text tiny (b) takes photos (c) plays music (d) reads the screen aloud
  10. 10.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Menu → Pay → Pens → Shop
    Design B: Home → Shop → Menu → Pens
  11. 11.🧰 What does this code show?
    function greet(name) {
      return "Well done, " + name + "!";
    }
    show(greet("Meera"));
    (a) Well done, name! (b) Meera (c) greet (d) Well done, Meera!
  12. 12.🧰 What is a function? (a) a list of colours (b) a screen size (c) a named block of code (d) a type of phone
  13. 13.🔢 In a quiz-app flow, what comes right after “read a question”? (a) tap “Start quiz” (b) see the final score (c) pick an answer (d) see if it is right
  14. 14.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Help button: 64 px tall
    Send button: 52 px tall
    Done button: 56 px tall
    Next button: 52 px tall
  15. 15.🔁 What number does this code show?
    let scores = [9, 17, 3];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  16. 16.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Kabir", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Riya (c) Hi, Kabir
  17. 17.🔍 Which is the odd one out? (a) a pop-up message (b) a result on screen (c) adding up a bill (d) a beep sound
  18. 18.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 30; // typed by the user
    line 2: let qty = 5; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 4 (b) line 1 (c) line 2 (d) line 3
  19. 19.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age <= 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(10) → expected 50
    Test 2: price(14) → expected 100
    Test 3: price(13) → expected 100
    (a) Test 1 (b) Test 2 (c) Test 3
  20. 20.🔐 Which permission does a barcode scanner really need? (a) the microphone (b) contacts (c) the camera (d) location
  21. 21.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a bill splitter (c) a lost-and-found board (d) a blank grey screen
  22. 22.🔢 In a quiz-app flow, which comes FIRST? (a) see the final score (b) read a question (c) pick an answer (d) tap “Start quiz”
  23. 23.🎨 Is this about UI or UX: the theme colours? (a) UI (b) UX
  24. 24.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a recipe finder (b) a homework planner (c) a pocket-money tracker (d) a bus tracker
  25. 25.🧩 Which part lets the user give the app information? (a) an icon (b) an input (c) a title (d) a logo
  26. 26.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 700) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(750) → expected 0
    Test 2: delivery(700) → expected 0
    Test 3: delivery(500) → expected 40
    (a) Test 1 (b) Test 2 (c) Test 3
  27. 27.Which of these is about UX (the experience)? (a) the button colours (b) the screen layout (c) the font size (d) whether users get lost
  28. 28.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 11 votes
    forgetting birthdays: 17 votes
    missing the bus: 5 votes
    (a) missing the bus (b) forgetting birthdays (c) no quiet study place
  29. 29.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(20, 5));
  30. 30.🧩 How many buttons does this app screen have?
    [title] Settings
    [button] Help
    [button] Save
    [text box] Age
    [slider] Volume
    [button] Back
    [switch] Sound
  31. 31.🌗 Is red on green easy or hard to read on a button? (a) easy to read (b) hard to read
  32. 32.🗒️ Version 1 of a bus tracker must be ready in 12 days. How many days are left for extras after the must-haves?
    see where the bus is: 3 days
    show arrival time: 4 days
    pick your bus stop: 2 days
  33. 33.🎨 Is this about UI or UX: the button colours? (a) UX (b) UI
  34. 34.🧩 In an app, what is the game-over page? (a) a button (b) data (c) an input (d) a screen
  35. 35.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age <= 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(7) → expected 50
    Test 2: price(12) → expected 100
    Test 3: price(9) → expected 100
    (a) Test 2 (b) Test 3 (c) Test 1
  36. 36.🔀 What does this sign-up rule show?
    let age = 15;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  37. 37.👆 The user taps the button 2 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  38. 38.True or false: grey text on grey is good button design. (a) True (b) False
  39. 39.💾 What number does this code show?
    let songs = ["Kites", "Stars"];
    songs.push("Monsoon");
    show(songs.length);
  40. 40.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Help page”
    2. tap Back
    3. open “Match report”
    Which screen are you on now?
    (a) Chat (b) Help page (c) Feed (d) Match report

Answer key

  1. menu icon
  2. in the cloud
  3. False
  4. a user need
  5. 28
  6. the phone is lost
  7. Hello, Zoya!
  8. 1
  9. reads the screen aloud
  10. 3
  11. Well done, Meera!
  12. a named block of code
  13. pick an answer
  14. 4
  15. 29
  16. Hi, Riya
  17. adding up a bill
  18. line 3
  19. Test 3
  20. the camera
  21. a blank grey screen
  22. tap “Start quiz”
  23. UI
  24. a pocket-money tracker
  25. an input
  26. Test 2
  27. whether users get lost
  28. forgetting birthdays
  29. 100
  30. 3
  31. hard to read
  32. 3
  33. UI
  34. a screen
  35. Test 3
  36. Welcome!
  37. 2
  38. False
  39. 3
  40. Match report

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