← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 849 · 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(55, 2));
  2. 2.💾 What does this code show? (Positions start at 0.)
    let songs = ["Sunrise", "Monsoon", "Stars"];
    show(songs[2]);
    (a) Sunrise (b) Stars (c) Monsoon
  3. 3.🔀 Which badge does this quiz app show?
    let marks = 100;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  4. 4.True or false: a bill splitter solves a real problem. (a) True (b) False
  5. 5.🔁 What number does this code show?
    let marks = [1, 18, 5];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  6. 6.🔍 Which is the odd one out? (a) a pop-up message (b) working out a tip (c) a result on screen (d) a buzz (vibration)
  7. 7.👆 The user taps the button 5 times. What number does the label show now?
    let score = 2;
    button.onTap = function () {
      score = score + 4;
      label.text = score;
    };
  8. 8.🔍 Which is the odd one out? (a) fast-flashing lights (b) colour as the only clue (c) tiny tap areas (d) big touch targets
  9. 9.🔢 In a photo-post flow, which comes first: “write a caption” or “open the camera screen”? (a) open the camera screen (b) write a caption
  10. 10.🧩 Which of these is a button on this screen?
    [title] New Note
    [slider] Volume
    [text box] Age
    [button] Help
    [button] Save
    [button] Back
    (a) Back (b) Volume (c) Age
  11. 11.🌗 Is yellow on white easy or hard to read on a button? (a) easy to read (b) hard to read
  12. 12.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Cart → Address → Size → Results → Menu
    Design B: Home → Size → Cart → Menu → Search → Pens → Results
  13. 13.True or false: a homework planner is the best fit for a student who keeps forgetting due dates. (a) True (b) False
  14. 14.👆 The user taps the button 7 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) OFF (b) ON
  15. 15.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Welcome, " + nameBox.text + "!";
    };
    (a) Welcome, nameBox.text! (b) Welcome, Meera! (c) Welcome! (d) Meera
  16. 16.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 38; // start at 38
    line 2: lives = lives * 3; // double it
    line 3: lives = lives * 2; // double it
    line 4: show(lives); // show it
  17. 17.🔢 In a food-order flow, which comes first: “track the order” or “pick a dish”? (a) track the order (b) pick a dish
  18. 18.📅 An app team plans for 3 days, builds for 12 days, tests for 2 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  19. 19.🎨 UI stands for user ___. (a) idea (b) internet (c) input (d) interface
  20. 20.True or false: the game-over page is a screen. (a) False (b) True
  21. 21.🗒️ Version 1 of a pocket-money tracker must be ready in 6 days. How many days are left for extras after the must-haves?
    add money received: 2 days
    add money spent: 2 days
    show the balance: 2 days
  22. 22.🔍 Which is the odd one out? (a) connect the data (b) list what users need (c) talk to possible users (d) spot a problem to solve
  23. 23.🔢 In a food-order flow, which comes first: “pay for the order” or “pick a dish”? (a) pay for the order (b) pick a dish
  24. 24.True or false: a library due-date alert solves no real problem. (a) True (b) False
  25. 25.🧩 Which input is best for typing your name? (a) a switch (b) a slider (c) a picture (d) a text box
  26. 26.🔢 In a photo-post flow, what comes right after “take the photo”? (a) open the camera screen (b) add a filter (c) post the photo (d) write a caption
  27. 27.🔀 What does this PIN rule show?
    let pin = "3309";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  28. 28.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. tap Back
    3. tap the Profile tab
    4. tap the Home tab
    Which screen are you on now?
    (a) Edit photo (b) Home (c) Search (d) Profile
  29. 29.🎨 Is this about UI or UX: the button colours? (a) UX (b) UI
  30. 30.🔍 Which is the odd one out? (a) the icon shapes (b) the button colours (c) the theme colours (d) how fast a task is done
  31. 31.🗒️ Why keep version 1 small? (a) to confuse users (b) to learn from users soon (c) to look bigger (d) to use up storage
  32. 32.True or false: you write down the bugs at the test stage. (a) True (b) False
  33. 33.🔍 Which is the odd one out? (a) a result on screen (b) a pop-up message (c) tapping a button (d) a beep sound
  34. 34.True or false: an app that just says hi solves a real problem. (a) True (b) False
  35. 35.🔀 What does this battery rule show?
    let battery = 92;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  36. 36.💾 What number does this code show?
    let songs = ["Monsoon", "Rain"];
    songs.push("Ocean");
    songs.push("Kites");
    show(songs.length);
  37. 37.🔐 Which permission does a homework photo scanner really need? (a) location (b) contacts (c) the camera (d) the microphone
  38. 38.🎯 A short made-up profile of a typical user is called a ___. (a) password (b) protocol (c) persona (d) pixel
  39. 39.🎯 Which app would help this user most: a reader who finds small print hard? (a) a recipe finder (b) a water reminder (c) a pocket-money tracker (d) a big-text reader
  40. 40.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 33; // start at 33
    line 2: coins = coins - 1; // take away 1
    line 3: coins = coins + 2; // double it
    line 4: show(coins); // show it
    (a) line 2 (b) line 3 (c) line 1

Answer key

  1. 110
  2. Stars
  3. Gold
  4. True
  5. 18
  6. working out a tip
  7. 22
  8. big touch targets
  9. open the camera screen
  10. Back
  11. hard to read
  12. 1
  13. True
  14. ON
  15. Welcome, Meera!
  16. 228
  17. pick a dish
  18. 15
  19. interface
  20. True
  21. 0
  22. connect the data
  23. pick a dish
  24. False
  25. a text box
  26. add a filter
  27. PIN saved
  28. Home
  29. UI
  30. how fast a task is done
  31. to learn from users soon
  32. True
  33. tapping a button
  34. False
  35. Battery OK
  36. 4
  37. the camera
  38. persona
  39. a big-text reader
  40. line 3

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