← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 862 · 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.🛠️ At which stage do you write the code? (a) the test stage (b) the plan stage (c) the build stage (d) the release stage
  2. 2.🔀 What does this sign-up rule show?
    let age = 17;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  3. 3.⚙️ What number does this app show?
    let price = 70; // typed by the user
    let qty = 3; // typed by the user
    let total = price * qty;
    show(total);
  4. 4.📅 An app team plans for 4 days, builds for 8 days, tests for 2 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  5. 5.🔀 What does this sign-up rule show?
    let age = 15;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  6. 6.True or false: “icons with no labels” helps everyone use the app. (a) True (b) False
  7. 7.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Done button: 52 px tall
    Next button: 28 px tall
    Cancel button: 52 px tall
    Save button: 48 px tall
    (a) Save (b) Cancel (c) Next (d) Done
  8. 8.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Meera"));
    (a) Hi, Meera! (b) Hi, name! (c) greet (d) Meera
  9. 9.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 400) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(300) → expected 40
    Test 2: delivery(450) → expected 0
    Test 3: delivery(400) → expected 0
    (a) Test 3 (b) Test 2 (c) Test 1
  10. 10.True or false: one second passes is a timer event. (a) False (b) True
  11. 11.🔍 Which is the odd one out? (a) talk to possible users (b) list what users need (c) write down the bugs (d) spot a problem to solve
  12. 12.🔢 In a food-order flow, what comes right after “pick a dish”? (a) track the order (b) add it to the cart (c) open the menu (d) check the cart
  13. 13.⚙️ What number does this app show?
    let price = 550; // typed by the user
    let off = 20; // typed by the user
    let pay = price - off;
    show(pay);
  14. 14.True or false: a recipe finder is the best fit for a reader who finds small print hard. (a) True (b) False
  15. 15.🔁 What number does this code show?
    let steps = [12, 14, 16];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  16. 16.♿ Does this help everyone, or make the app harder to use: tiny tap areas? (a) helps everyone (b) makes it harder
  17. 17.🌗 Is dark blue on white easy or hard to read on a button? (a) easy to read (b) hard to read
  18. 18.Which of these is a feature? (a) “I keep missing the bus” (b) “I forget my homework” (c) “What should I cook?” (d) a reminder alarm
  19. 19.👥 A school app has 100 students, 245 teachers and 155 parents as users. How many more parents than students are there?
  20. 20.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 0, 1, 2 (b) 1, 2, 3 (c) 0, 1, 2, 3 (d) 3
  21. 21.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Title: 24 px
    Hint: 26 px
    Caption: 9 px
    Body text: 17 px
    (a) Title (b) Caption (c) Body text (d) Hint
  22. 22.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show a question (b) check the answer (c) confetti effects (d) show the score
  23. 23.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Settings tab
    2. open “Friend list”
    3. open “Help page”
    Which screen are you on now?
    (a) Help page (b) Chat (c) Friend list (d) Feed
  24. 24.💡 Which app idea solves this problem: bottles go missing at school? (a) a bill splitter (b) a homework planner (c) a medicine reminder (d) a lost-and-found board
  25. 25.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Score card”
    2. tap the Me tab
    3. tap the Lessons tab
    4. open “Badges”
    5. open “Score card”
    Which screen are you on now?
    (a) Lessons (b) Badges (c) Score card (d) Quiz
  26. 26.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(35, 6));
  27. 27.Which colour pair is easy to read? (a) dark blue on black (b) white on dark green (c) yellow on white (d) pale pink on white
  28. 28.👆 The user taps the button 6 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
  29. 29.🔍 Which is the odd one out? (a) talk to possible users (b) connect the data (c) add the buttons (d) write the code
  30. 30.👆 An event in an app is ___. (a) a kind of list (b) a colour theme (c) an app store (d) something that happens
  31. 31.🐞 Finding and fixing bugs is called ___. (a) decorating (b) downloading (c) designing (d) debugging
  32. 32.🔁 What number does this code show?
    let steps = [22, 53, 31, 59, 93];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  33. 33.🔍 Which is the odd one out? (a) sudden loud sounds (b) icons with no labels (c) big touch targets (d) tiny tap areas
  34. 34.👥 A school app has 70 students, 95 teachers and 290 parents as users. Which user group is the biggest? (a) teachers (b) students (c) parents
  35. 35.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 7; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 3 (b) line 1 (c) line 2
  36. 36.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) helps everyone (b) makes it harder
  37. 37.True or false: a website needs no installing. (a) False (b) True
  38. 38.🧪 A test case is an input together with its ___. (a) expected result (b) app icon (c) font size (d) screen colour
  39. 39.🧰 What does this code show?
    function greet(name) {
      return "Well done, " + name + "!";
    }
    show(greet("Riya"));
    (a) Well done, Riya! (b) greet (c) Riya (d) Well done, name!
  40. 40.True or false: you put it on an app store at the test stage. (a) True (b) False

Answer key

  1. the build stage
  2. Welcome!
  3. 210
  4. 12
  5. Welcome!
  6. False
  7. Next
  8. Hi, Meera!
  9. Test 3
  10. True
  11. write down the bugs
  12. add it to the cart
  13. 530
  14. False
  15. 42
  16. makes it harder
  17. easy to read
  18. a reminder alarm
  19. 55
  20. 0, 1, 2
  21. Caption
  22. confetti effects
  23. Help page
  24. a lost-and-found board
  25. Score card
  26. 210
  27. white on dark green
  28. OFF
  29. talk to possible users
  30. something that happens
  31. debugging
  32. 1
  33. big touch targets
  34. parents
  35. line 2
  36. makes it harder
  37. True
  38. expected result
  39. Well done, Riya!
  40. False

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