← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 301 · 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 is the LAST line this code shows?
    let names = ["Riya", "Aman", "Zoya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Zoya (c) Hi, Aman
  2. 2.🛠️ At which stage do you put it on an app store? (a) the idea stage (b) the release stage (c) the plan stage (d) the test stage
  3. 3.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) add a homework task (c) share tasks to friends (d) see tasks by day
  4. 4.🔀 What does if / else let an app do? (a) draw a screen (b) pick one of two actions (c) save a photo (d) repeat forever
  5. 5.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Help button: 24 px tall
    Save button: 52 px tall
    Start button: 68 px tall
    (a) Help (b) Save (c) Start
  6. 6.💾 What number does this code show?
    let points = 8;
    points = points - 3;
    points = points + 2;
    show(points);
  7. 7.🧩 In an app, what is the game-over page? (a) a screen (b) an input (c) data (d) a button
  8. 8.🔁 What is the LAST line this code shows?
    let names = ["Zoya", "Riya", "Arjun", "Aman"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Riya (c) Hi, Arjun (d) Hi, Aman
  9. 9.♿ Does this help everyone, or make the app harder to use: big touch targets? (a) helps everyone (b) makes it harder
  10. 10.🗒️ The first small, working version of an app is often called an ___. (a) URL (b) CPU (c) FAQ (d) MVP
  11. 11.🧭 About how many tabs suit a tab bar best? (a) 10 to 12 (b) 20 (c) 3 to 5 (d) 1
  12. 12.Which of these helps everyone use the app? (a) captions on videos (b) colour as the only clue (c) fast-flashing lights (d) tiny tap areas
  13. 13.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “losing water bottles”?
    missing the bus: 25 votes
    losing water bottles: 20 votes
    forgetting homework: 23 votes
  14. 14.🧪 What is the ACTUAL result of Test 1?
    🎟️ 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(17) → expected 100
    Test 2: price(12) → expected 50
    Test 3: price(14) → expected 100
  15. 15.⚙️ What number does this app show?
    let price = 520; // typed by the user
    let off = 40; // typed by the user
    let pay = price - off;
    show(pay);
  16. 16.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 37; // start at 37
    line 2: score = score - 2; // take away 2
    line 3: score = score + 2; // double it
    line 4: score = score + 3; // add 3
    line 5: show(score); // show it
  17. 17.♿ What should every icon-only button have for screen readers? (a) a sound (b) a long animation (c) a bright colour (d) a text label
  18. 18.Which of these is true of an app? (a) opens from a link (b) has a web address (c) is installed on a phone (d) opens in a web browser
  19. 19.True or false: a recipe finder is the best fit for a student who often misses the school bus. (a) False (b) True
  20. 20.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
  21. 21.Which of these fits saving in the cloud? (a) a class leaderboard (b) a draft you are typing (c) the sound on/off setting (d) your last game level
  22. 22.Which of these is true of a wireframe? (a) shows the real fonts (b) shows where things go (c) uses the final pictures (d) looks like the real app
  23. 23.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Aman", "Zoya", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Aman (c) Hi, Kabir (d) Hi, Arjun
  24. 24.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Zoya", "Kabir", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Arjun (c) Hi, Meera (d) Hi, Kabir
  25. 25.🎨 Fewer taps to finish a task usually means ___. (a) worse UX (b) a bigger app (c) better UX (d) more colours
  26. 26.🔀 In a good flow, each screen should lead to ___. (a) a dead end (b) the same screen (c) a random page (d) a clear next step
  27. 27.👥 A cricket club app has 220 players, 100 coaches and 195 fans as users. How many users does it have in all?
  28. 28.True or false: a flashcard trainer is a learning app. (a) False (b) True
  29. 29.🔍 Which is the odd one out? (a) the font size (b) how easy sign-up is (c) the icon shapes (d) the theme colours
  30. 30.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) on the phone (b) in the cloud
  31. 31.True or false: “labels on every icon” makes the app harder to use. (a) False (b) True
  32. 32.🔍 Which is the odd one out? (a) a flashcard trainer (b) a times-table quiz (c) a puzzle with levels (d) a spelling coach
  33. 33.🔁 Why use a loop to show 100 messages? (a) it is slower (b) it uses more lines (c) it hides them (d) less code to write
  34. 34.True or false: you sketch the screens at the release stage. (a) True (b) False
  35. 35.🔍 Which is the odd one out? (a) tapping a button (b) working out a tip (c) typing your age (d) taking a photo
  36. 36.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(11) + fee(4));
  37. 37.🗂️ What kind of app is a sleep tracker? (a) a game (b) a learning app (c) a tool app (d) a health app
  38. 38.👆 The user taps the button 4 times. What number does the label show now?
    let stars = 6;
    button.onTap = function () {
      stars = stars + 2;
      label.text = stars;
    };
  39. 39.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 30; // start at 30
    line 2: lives = lives * 2; // double it
    line 3: lives = lives - 5; // add 5
    line 4: show(lives); // show it
    (a) line 1 (b) line 3 (c) line 2
  40. 40.🎨 Is this about UI or UX: how users feel after? (a) UI (b) UX

Answer key

  1. Hi, Zoya
  2. the release stage
  3. share tasks to friends
  4. pick one of two actions
  5. Help
  6. 7
  7. a screen
  8. Hi, Aman
  9. helps everyone
  10. MVP
  11. 3 to 5
  12. captions on videos
  13. 5
  14. 100
  15. 480
  16. 40
  17. a text label
  18. is installed on a phone
  19. False
  20. a user need
  21. a class leaderboard
  22. shows where things go
  23. Hi, Arjun
  24. Hi, Meera
  25. better UX
  26. a clear next step
  27. 515
  28. True
  29. how easy sign-up is
  30. on the phone
  31. False
  32. a puzzle with levels
  33. less code to write
  34. False
  35. working out a tip
  36. 60
  37. a health app
  38. 14
  39. line 3
  40. UX

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