← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 155 · 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.💡 A good app idea starts with ___. (a) a problem to solve (b) a long name (c) a cool logo (d) many colours
  2. 2.Which of these is true of a website? (a) has a home-screen icon (b) updates from the store (c) comes from an app store (d) needs no installing
  3. 3.Which of these is true of a wireframe? (a) uses plain grey boxes (b) looks like the real app (c) has the real colours (d) shows the real fonts
  4. 4.🗒️ Why keep version 1 small? (a) to use up storage (b) to look bigger (c) to confuse users (d) to learn from users soon
  5. 5.🧩 Which of these is a button on this screen?
    [title] Sign Up
    [button] Save
    [button] Send
    [text box] Subject
    [switch] Dark mode
    (a) Dark mode (b) Save (c) Subject
  6. 6.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 440; // typed by the user
    line 2: let off = 40; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 4 (b) line 2 (c) line 3 (d) line 1
  7. 7.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) check the answer (b) show the score (c) confetti effects (d) show a question
  8. 8.True or false: a cricket run chase is a game. (a) True (b) False
  9. 9.🐞 Finding and fixing bugs is called ___. (a) downloading (b) decorating (c) debugging (d) designing
  10. 10.💾 pop() takes off the last item. What does this code show?
    let notes = ["Art", "Hindi", "Sports", "Maths"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Art (b) Hindi (c) Sports (d) Maths
  11. 11.🧩 How many buttons does this app screen have?
    [title] Sign Up
    [slider] Text size
    [button] Help
    [button] Done
    [button] Save
    [text box] Email
  12. 12.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 15 votes
    forgetting homework: 21 votes
    forgetting birthdays: 16 votes
  13. 13.🔍 Which is the odd one out? (a) sketch the screens (b) draw the user flow (c) pick the features (d) talk to possible users
  14. 14.💾 pop() takes off the last item. What does this code show?
    let songs = ["Kites", "Rain", "Sunrise"];
    songs.pop();
    show(songs[songs.length - 1]);
    (a) Kites (b) Rain (c) Sunrise
  15. 15.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Item → Pay → Shop
    Design B: Home → Address → Pens
    (a) Design B (b) Design A
  16. 16.🧰 What is a function? (a) a list of colours (b) a named block of code (c) a screen size (d) a type of phone
  17. 17.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(650) → expected 0
    Test 2: delivery(500) → expected 0
    Test 3: delivery(450) → expected 40
  18. 18.🐞 A comment in code (after //) is for ___. (a) the battery (b) the app store (c) the phone screen (d) people reading the code
  19. 19.👆 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
  20. 20.True or false: a tiny 20 px button is poor button design. (a) True (b) False
  21. 21.🔀 What does this PIN rule show?
    let pin = "682";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  22. 22.True or false: your last game level fits saving on the phone. (a) False (b) True
  23. 23.💾 What is a variable? (a) a phone setting (b) a type of screen (c) a picture (d) a named box for a value
  24. 24.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 49; // start at 46
    line 2: coins = coins - 4; // take away 4
    line 3: coins = coins - 3; // take away 3
    line 4: show(coins); // show it
  25. 25.💾 What does this code show? (Positions start at 0.)
    let friends = ["Aman", "Arjun", "Riya", "Kabir", "Meera"];
    show(friends[3]);
    (a) Aman (b) Kabir (c) Riya (d) Arjun
  26. 26.Which of these requests is fair? (a) calculator → location (b) torch → contacts (c) timer → your photos (d) camera app → camera
  27. 27.True or false: an app is installed on a phone. (a) False (b) True
  28. 28.🧪 How many of these test cases pass?
    🎟️ 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(10) → expected 100
    Test 2: price(9) → expected 100
    Test 3: price(8) → expected 50
  29. 29.🔍 Which is the odd one out? (a) strong colour contrast (b) big touch targets (c) labels on every icon (d) fast-flashing lights
  30. 30.🧪 What is the ACTUAL result of Test 1?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(450) → expected 0
    Test 2: delivery(150) → expected 40
    Test 3: delivery(300) → expected 0
  31. 31.🔀 What does this PIN rule show?
    let pin = "1326";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  32. 32.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Chat tab
    2. open “Score card”
    3. open “Badges”
    4. open “Match report”
    Which screen are you on now?
    (a) Feed (b) Badges (c) Score card (d) Match report
  33. 33.👥 A library app has 280 readers, 255 librarians and 185 volunteers as users. Which user group is the biggest? (a) librarians (b) volunteers (c) readers
  34. 34.Which of these happens at the plan stage? (a) write the code (b) put it on an app store (c) draw the user flow (d) spot a problem to solve
  35. 35.👆 The user taps the button 2 times. What number does the label show now?
    let score = 9;
    button.onTap = function () {
      score = score + 2;
      label.text = score;
    };
  36. 36.🧪 What is the ACTUAL result of Test 1?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age <= 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(14) → expected 100
    Test 2: price(13) → expected 100
    Test 3: price(9) → expected 50
  37. 37.🔐 Which permission does a homework photo scanner really need? (a) the camera (b) the microphone (c) location (d) contacts
  38. 38.Which of these is a button? (a) the settings page (b) tap to Send (c) your high score (d) a date picker
  39. 39.🧪 A test case is an input together with its ___. (a) expected result (b) screen colour (c) font size (d) app icon
  40. 40.🧭 Where is a tab bar usually placed in a phone app? (a) in the middle (b) inside a button (c) at the bottom (d) nowhere

Answer key

  1. a problem to solve
  2. needs no installing
  3. uses plain grey boxes
  4. to learn from users soon
  5. Save
  6. line 3
  7. confetti effects
  8. True
  9. debugging
  10. Sports
  11. 3
  12. 52
  13. talk to possible users
  14. Rain
  15. Design B
  16. a named block of code
  17. 2
  18. people reading the code
  19. ON
  20. True
  21. Use 4 digits
  22. True
  23. a named box for a value
  24. 39
  25. Kabir
  26. camera app → camera
  27. True
  28. 2
  29. fast-flashing lights
  30. 0
  31. PIN saved
  32. Match report
  33. readers
  34. draw the user flow
  35. 13
  36. 100
  37. the camera
  38. tap to Send
  39. expected result
  40. at the bottom

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