← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 986 · 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.🔀 When does the else part run? (a) when the test is true (b) when the test is false (c) never (d) always
  2. 2.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Shop → Cart → Offers → Confirm → Menu → Search
    Design B: Home → Shop → Address
    (a) Design A (b) Design B
  3. 3.True or false: the screen first opens is a timer event. (a) True (b) False
  4. 4.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(38));
  5. 5.🔢 After an app is released, which comes LAST? (a) fix and improve (b) test it again (c) read user reviews (d) release an update
  6. 6.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [text box] Age
    [text box] Subject
    [button] Done
    [button] Back
    [text box] Notes
    [button] Start
  7. 7.💾 What is a variable? (a) a picture (b) a named box for a value (c) a type of screen (d) a phone setting
  8. 8.🔘 Is this good or poor button design: strong colour contrast? (a) good design (b) poor design
  9. 9.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Meera", "Arjun", "Zoya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Arjun (c) Hi, Aman (d) Hi, Meera
  10. 10.👆 The user taps the button 1 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
  11. 11.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right > 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(8) → expected Pass
    Test 2: result(5) → expected Try again
    Test 3: result(7) → expected Pass
  12. 12.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(4) + points(1));
  13. 13.🚀 Which version is newer: 3.11.0 or 3.2.1? (a) 3.2.1 (b) 3.11.0
  14. 14.🗒️ In MVP, the M stands for ___. (a) maximum (b) music (c) minimum (d) mobile
  15. 15.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 32; // start at 31
    line 2: lives = lives * 2; // double it
    line 3: lives = lives * 2; // double it
    line 4: show(lives); // show it
  16. 16.🔍 Which is the odd one out? (a) the theme colours (b) how fast a task is done (c) how many taps it takes (d) how easy sign-up is
  17. 17.🎯 An app for “everyone” with no clear user usually ___. (a) helps nobody well (b) is easy to build (c) needs no testing (d) wins every prize
  18. 18.🔁 What number does this code show?
    let scores = [2, 4, 17];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  19. 19.👆 The user taps the button 5 times. What number does the label show now?
    let lives = 9;
    button.onTap = function () {
      lives = lives + 5;
      label.text = lives;
    };
  20. 20.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Welcome, " + nameBox.text + "!";
    };
    (a) Welcome, nameBox.text! (b) Riya (c) Welcome, Riya! (d) Welcome!
  21. 21.🔢 When you make an app, which comes LAST? (a) release it (b) plan the screens (c) get an idea (d) test the app
  22. 22.💡 Which app idea solves this problem: pupils forget due dates? (a) a homework planner (b) a lost-and-found board (c) a bill splitter (d) a medicine reminder
  23. 23.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(1) + points(2));
  24. 24.👥 A school app has 40 students, 85 teachers and 270 parents as users. Which user group is the biggest? (a) students (b) parents (c) teachers
  25. 25.True or false: a final design uses plain grey boxes. (a) True (b) False
  26. 26.🔀 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
  27. 27.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [slider] Brightness
    [button] Save
    [text box] City
    [text box] Age
    [button] Help
    [button] Start
  28. 28.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a final design (b) a wireframe
  29. 29.Which colour pair is easy to read? (a) light grey on white (b) black on pale grey (c) dark blue on black (d) yellow on white
  30. 30.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hi, " + nameBox.text + "!";
    };
    (a) Kabir (b) Hi, nameBox.text! (c) Hi! (d) Hi, Kabir!
  31. 31.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 9 votes
    forgetting birthdays: 5 votes
    losing water bottles: 12 votes
  32. 32.👆 What kind of event is this: the screen first opens? (a) a timer event (b) a text event (c) a tap event (d) a load event
  33. 33.♿ Does this help everyone, or make the app harder to use: tiny tap areas? (a) helps everyone (b) makes it harder
  34. 34.True or false: notes to read offline fits saving on the phone. (a) False (b) True
  35. 35.True or false: the search box changes is a text event. (a) True (b) False
  36. 36.🔀 What does this battery rule show?
    let battery = 42;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  37. 37.🔁 list.length tells you ___. (a) the first item (b) how many items it has (c) the biggest item (d) the last item
  38. 38.🧩 How many buttons does this app screen have?
    [title] Settings
    [text box] Subject
    [text box] Due date
    [text box] City
    [button] Cancel
    [button] Next
  39. 39.Which of these makes the app harder to use? (a) fast-flashing lights (b) big touch targets (c) text that can grow (d) labels on every icon
  40. 40.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “forgetting homework”?
    forgetting homework: 13 votes
    wasting pocket money: 14 votes
    losing water bottles: 7 votes

Answer key

  1. when the test is false
  2. Design B
  3. False
  4. 76
  5. release an update
  6. 3
  7. a named box for a value
  8. good design
  9. Hi, Zoya
  10. ON
  11. 2
  12. 60
  13. 3.11.0
  14. minimum
  15. 128
  16. the theme colours
  17. helps nobody well
  18. 23
  19. 34
  20. Welcome, Riya!
  21. release it
  22. a homework planner
  23. 40
  24. parents
  25. False
  26. Welcome!
  27. 3
  28. a wireframe
  29. black on pale grey
  30. Hi, Kabir!
  31. 26
  32. a load event
  33. makes it harder
  34. True
  35. True
  36. Battery OK
  37. how many items it has
  38. 2
  39. fast-flashing lights
  40. 1

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