← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 726 · 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 comment in code (after //) is for ___. (a) the app store (b) people reading the code (c) the battery (d) the phone screen
  2. 2.🔘 Is this good or poor button design: a big, easy tap area? (a) poor design (b) good design
  3. 3.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Meera", "Zoya", "Riya", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Zoya (c) Hi, Meera (d) Hi, Arjun
  4. 4.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 31; // start at 31
    line 2: points = points * 2; // double it
    line 3: points = points * 2; // double it
    line 4: points = points + 5; // add 4
    line 5: show(points); // show it
    (a) line 2 (b) line 1 (c) line 3 (d) line 4
  5. 5.🔍 Which is the odd one out? (a) colour as the only clue (b) tiny tap areas (c) fast-flashing lights (d) captions on videos
  6. 6.✏️ A box with a cross in a wireframe usually means ___. (a) a picture goes here (b) an error (c) a closed app (d) delete this
  7. 7.👆 The user taps the button 5 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  8. 8.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a wireframe (b) a final design
  9. 9.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Riya", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Meera (c) Hi, Aman
  10. 10.🧩 Which of these is a button on this screen?
    [title] Settings
    [button] Save
    [switch] Dark mode
    [button] Start
    [text box] Phone
    [text box] City
    (a) Phone (b) Start (c) Dark mode (d) City
  11. 11.🔘 Is this good or poor button design: a tiny 20 px button? (a) poor design (b) good design
  12. 12.🧭 Which part of navigation sits at the bottom? (a) the back button (b) a menu button (c) a tab bar
  13. 13.👆 The user taps the button 5 times. What number does the label show now?
    let coins = 5;
    button.onTap = function () {
      coins = coins + 1;
      label.text = coins;
    };
  14. 14.True or false: an app needs no installing. (a) False (b) True
  15. 15.🧪 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(13) → expected 100
    Test 2: price(9) → expected 50
    Test 3: price(17) → expected 100
    (a) Test 2 (b) Test 3 (c) Test 1
  16. 16.True or false: a buzz (vibration) is an output. (a) False (b) True
  17. 17.🧩 In an app, what is tap to go Next? (a) an input (b) a button (c) data (d) a screen
  18. 18.📱 Which one opens from a link: an app or a website? (a) a website (b) an app
  19. 19.🎯 Is this a user need or a feature: a search bar? (a) a user need (b) a feature
  20. 20.🚀 Which version is newer: 1.1.16 or 1.1.4? (a) 1.1.16 (b) 1.1.4
  21. 21.🔁 What number does this code show?
    let steps = [81, 97, 46, 99];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  22. 22.🎨 A beautiful app that confuses everyone has ___. (a) good UI but poor UX (b) good UX but poor UI (c) perfect UX (d) no UI at all
  23. 23.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Map”
    2. tap Back
    3. open “Help page”
    4. tap Back
    Which screen are you on now?
    (a) Map (b) Chat (c) Feed (d) Help page
  24. 24.👥 A library app has 190 readers, 265 librarians and 250 volunteers as users. Which user group is the biggest? (a) volunteers (b) readers (c) librarians
  25. 25.🧩 In an app, what is your saved notes? (a) a screen (b) a button (c) data (d) an input
  26. 26.🛠️ At which stage do you try every button? (a) the release stage (b) the test stage (c) the plan stage (d) the build stage
  27. 27.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 48; // start at 48
    line 2: stars = stars + 7; // add 6
    line 3: stars = stars - 5; // take away 5
    line 4: stars = stars - 1; // take away 1
    line 5: show(stars); // show it
  28. 28.🔁 What number does this code show?
    let runs = [64, 90, 40, 61, 25];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  29. 29.💡 Does an app idea like a bill splitter solve a real problem? (a) Yes (b) No
  30. 30.True or false: your last game level fits saving in the cloud. (a) True (b) False
  31. 31.🧰 In function tip(bill), what is bill? (a) a loop (b) a screen (c) an event (d) a parameter
  32. 32.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(70, 2));
  33. 33.⚙️ In an app, is a buzz (vibration) an input, processing or an output? (a) input (b) processing (c) output
  34. 34.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) see where the bus is (b) pick your bus stop (c) change the bus icon (d) show arrival time
  35. 35.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Add button ]
    [ top bar ]
    [ menu icon ]
    [ search box ]
    (a) top bar (b) Add button (c) search box (d) menu icon
  36. 36.👆 The user taps the button 5 times. What number does the label show now?
    let stars = 8;
    button.onTap = function () {
      stars = stars + 2;
      label.text = stars;
    };
  37. 37.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) on the phone (b) in the cloud
  38. 38.True or false: tap to go Next is a button. (a) False (b) True
  39. 39.🔐 A torch app asks for your contacts. What should you do? (a) post them online (b) deny it (c) allow it (d) share them all
  40. 40.True or false: checking a password is an input. (a) True (b) False

Answer key

  1. people reading the code
  2. good design
  3. Hi, Arjun
  4. line 4
  5. captions on videos
  6. a picture goes here
  7. 2
  8. a wireframe
  9. Hi, Meera
  10. Start
  11. poor design
  12. a tab bar
  13. 10
  14. False
  15. Test 1
  16. True
  17. a button
  18. a website
  19. a feature
  20. 1.1.16
  21. 3
  22. good UI but poor UX
  23. Feed
  24. librarians
  25. data
  26. the test stage
  27. 49
  28. 4
  29. Yes
  30. False
  31. a parameter
  32. 140
  33. output
  34. change the bus icon
  35. search box
  36. 18
  37. in the cloud
  38. True
  39. deny it
  40. False

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