← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 836 · 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 ACTUAL result of Test 1?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 0
    Test 2: delivery(850) → expected 0
    Test 3: delivery(450) → expected 40
  2. 2.💾 What number does this code show?
    let notes = ["Maths", "Science", "Hindi"];
    notes.push("Music");
    show(notes.length);
  3. 3.📱 Where do people usually download phone apps from? (a) a web server (b) a charger (c) a printer (d) an app store
  4. 4.🚀 Which of these versions is the NEWEST?
    3.6.8, 3.2.3, 3.8.8, 2.21.1
    (a) 2.21.1 (b) 3.2.3 (c) 3.8.8 (d) 3.6.8
  5. 5.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) add money received (c) savings stickers (d) export to a file
  6. 6.💾 Where should the app save your last game level: on the phone or in the cloud? (a) on the phone (b) in the cloud
  7. 7.💡 How can you check that people really have the problem? (a) just guess (b) pick a colour (c) copy another app (d) ask possible users
  8. 8.Which of these is true of a final design? (a) is a quick sketch (b) uses plain grey boxes (c) shows where things go (d) has the real colours
  9. 9.📱 Which one opens from a link: an app or a website? (a) a website (b) an app
  10. 10.Which of these is a screen? (a) your friends list (b) a date picker (c) today’s step count (d) the settings page
  11. 11.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 50; // start at 50
    line 2: points = points + 5; // add 5
    line 3: points = points + 3; // add 3
    line 4: points = points - 5; // take away 4
    line 5: show(points); // show it
  12. 12.🔁 What number does this code show?
    let marks = [9, 16, 10];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  13. 13.🚀 In version 2.5.1, which number is the major version? (a) 5 (b) 1 (c) 2 (d) 251
  14. 14.👆 An event in an app is ___. (a) something that happens (b) a colour theme (c) an app store (d) a kind of list
  15. 15.📅 An app team plans for 3 days, builds for 4 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
  16. 16.True or false: you put it on an app store at the idea stage. (a) False (b) True
  17. 17.Which of these is about UI (the look)? (a) the icon shapes (b) how easy sign-up is (c) how users feel after (d) how fast a task is done
  18. 18.🔀 What number does this shop app show?
    let total = 690;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  19. 19.🗒️ When should nice-to-have features be built? (a) on day one (b) never (c) after the must-haves (d) before anything
  20. 20.🔀 Which badge does this quiz app show?
    let marks = 79;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Silver (c) Bronze
  21. 21.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting birthdays: 8 votes
    forgetting homework: 5 votes
    no quiet study place: 13 votes
    (a) forgetting birthdays (b) no quiet study place (c) forgetting homework
  22. 22.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right >= 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(7) → expected Pass
    Test 2: result(4) → expected Try again
    Test 3: result(8) → expected Pass
  23. 23.True or false: a clear word like Save is good button design. (a) False (b) True
  24. 24.💡 Which app idea solves this problem: Grandpa forgets his tablets? (a) a medicine reminder (b) a homework planner (c) a bill splitter (d) a lost-and-found board
  25. 25.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [text box] Email
    [button] Help
    [slider] Volume
  26. 26.⚙️ What number does this app show?
    let km = 14; // typed by the user
    let metres = km * 1000;
    show(metres);
  27. 27.Which of these is a feature? (a) “I keep missing the bus” (b) “I forget my homework” (c) a share button (d) “What should I cook?”
  28. 28.🔐 Is this permission request fair or too much: camera app → camera? (a) too much (b) fair
  29. 29.True or false: a barcode scanner needs the camera. (a) False (b) True
  30. 30.True or false: a wireframe is a quick sketch. (a) False (b) True
  31. 31.Which colour pair is hard to read? (a) black on pale grey (b) white on dark green (c) pale pink on white (d) white on black
  32. 32.💡 A good app idea starts with ___. (a) a problem to solve (b) many colours (c) a cool logo (d) a long name
  33. 33.🔀 What does this sign-up rule show?
    let age = 10;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  34. 34.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 50; // start at 48
    line 2: lives = lives - 2; // take away 2
    line 3: lives = lives - 3; // take away 3
    line 4: lives = lives - 3; // take away 3
    line 5: show(lives); // show it
    (a) line 4 (b) line 3 (c) line 2 (d) line 1
  35. 35.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age <= 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(10) → expected 100
    Test 2: price(6) → expected 50
    Test 3: price(11) → expected 100
  36. 36.🧰 What is a function? (a) a screen size (b) a list of colours (c) a type of phone (d) a named block of code
  37. 37.True or false: “icons with no labels” helps everyone use the app. (a) False (b) True
  38. 38.🔁 What number does this code show?
    let steps = [1, 9, 5, 11, 11];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  39. 39.True or false: grey text on grey is poor button design. (a) True (b) False
  40. 40.🗒️ A to-do app with no “add a task” feature is ___. (a) well planned (b) missing a must-have (c) ready to release (d) a nice extra

Answer key

  1. 0
  2. 4
  3. an app store
  4. 3.8.8
  5. add money received
  6. on the phone
  7. ask possible users
  8. has the real colours
  9. a website
  10. the settings page
  11. 54
  12. 35
  13. 2
  14. something that happens
  15. 9
  16. False
  17. the icon shapes
  18. 640
  19. after the must-haves
  20. Silver
  21. no quiet study place
  22. 3
  23. True
  24. a medicine reminder
  25. 2
  26. 14000
  27. a share button
  28. fair
  29. True
  30. True
  31. pale pink on white
  32. a problem to solve
  33. Ask a parent
  34. line 1
  35. 2
  36. a named block of code
  37. False
  38. 37
  39. True
  40. missing a must-have

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