← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 188 · 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.⚙️ In an app, is typing your age an input, processing or an output? (a) output (b) input (c) processing
  2. 2.⚙️ In an app, is a beep sound an input, processing or an output? (a) input (b) processing (c) output
  3. 3.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a wireframe (b) a final design
  4. 4.💾 Where should the app save the sound on/off setting: on the phone or in the cloud? (a) in the cloud (b) on the phone
  5. 5.🧰 Why write a function? (a) to make code longer (b) to slow the app (c) to reuse code (d) to hide errors
  6. 6.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(3));
  7. 7.💾 What does this code show? (Positions start at 0.)
    let notes = ["Art", "Sports", "Maths", "Music", "Hindi"];
    show(notes[1]);
    (a) Sports (b) Maths (c) Art (d) Music
  8. 8.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting birthdays: 20 votes
    no quiet study place: 23 votes
    losing water bottles: 12 votes
    (a) no quiet study place (b) forgetting birthdays (c) losing water bottles
  9. 9.💡 Does an app idea like a blank grey screen solve a real problem? (a) Yes (b) No
  10. 10.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 35; // start at 35
    line 2: stars = stars - 6; // add 6
    line 3: stars = stars * 2; // double it
    line 4: show(stars); // show it
  11. 11.⚙️ What number does this app show?
    let km = 10; // typed by the user
    let metres = km * 1000;
    show(metres);
  12. 12.♿ A screen has 11 icon buttons. Only 6 of them have a text label for screen readers. How many still need a label?
  13. 13.👥 A clinic app has 35 patients, 160 doctors and 155 nurses as users. How many more doctors than nurses are there?
  14. 14.👆 What kind of event is this: the app starts up? (a) a text event (b) a load event (c) a tap event (d) a timer event
  15. 15.🔁 What number does this code show?
    let runs = [19, 6, 18];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  16. 16.🎯 Why learn about users before you build? (a) to pick a logo (b) to build what they need (c) to slow it down (d) to make it longer
  17. 17.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 32; // start at 31
    line 2: lives = lives + 5; // add 5
    line 3: lives = lives + 5; // add 5
    line 4: show(lives); // show it
    (a) line 1 (b) line 2 (c) line 3
  18. 18.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) check the answer (b) an avatar shop (c) show the score (d) show a question
  19. 19.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Video”
    2. open “Help page”
    3. tap the Quiz tab
    How many times must you tap Back to reach the main screen of this tab?
  20. 20.🧪 One test case fails. Which one?
    📝 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(7) → expected Pass
    Test 2: result(4) → expected Try again
    Test 3: result(8) → expected Pass
    (a) Test 2 (b) Test 3 (c) Test 1
  21. 21.🔐 Which permission does a selfie sticker app really need? (a) contacts (b) location (c) the microphone (d) the camera
  22. 22.♿ A screen has 6 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
  23. 23.♿ What does a screen reader do? (a) takes photos (b) reads the screen aloud (c) makes text tiny (d) plays music
  24. 24.👆 The user taps the button 5 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
  25. 25.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) a dark mode (c) show arrival time (d) rate the driver
  26. 26.🔁 What is the LAST line this code shows?
    let names = ["Meera", "Riya", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Meera (c) Hi, Riya
  27. 27.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Friend list”
    2. open “Friend list”
    3. open “Match report”
    4. tap Back
    5. open “Friend list”
    Which screen are you on now?
    (a) Feed (b) Match report (c) Chat (d) Friend list
  28. 28.Which colour pair is easy to read? (a) pale pink on white (b) yellow on white (c) white on black (d) light grey on white
  29. 29.🔀 What does this sign-up rule show?
    let age = 12;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  30. 30.Which of these is about UI (the look)? (a) how fast a task is done (b) how easy sign-up is (c) the screen layout (d) whether users get lost
  31. 31.True or false: you sketch the screens at the plan stage. (a) True (b) False
  32. 32.🔀 What number does this shop app show?
    let total = 650;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  33. 33.📅 An app team plans for 5 days, builds for 10 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  34. 34.🚀 Which version is newer: 1.9.2 or 1.18.0? (a) 1.9.2 (b) 1.18.0
  35. 35.🔀 Which badge does this quiz app show?
    let marks = 78;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  36. 36.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 40;
    }
    show(fee(1) + fee(8));
  37. 37.🧭 Tapping a tab usually takes you to ___. (a) the phone settings (b) a random page (c) that tab’s main screen (d) the last app used
  38. 38.💡 After a survey, which need should version 1 solve? (a) the rarest need (b) a random need (c) the newest trend (d) the most common need
  39. 39.🧪 One test case fails. Which one?
    📝 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(5) → expected Try again
    Test 2: result(7) → expected Pass
    Test 3: result(8) → expected Pass
    (a) Test 3 (b) Test 2 (c) Test 1
  40. 40.🗒️ A to-do app with no “add a task” feature is ___. (a) well planned (b) missing a must-have (c) a nice extra (d) ready to release

Answer key

  1. input
  2. output
  3. a final design
  4. on the phone
  5. to reuse code
  6. 6
  7. Sports
  8. no quiet study place
  9. No
  10. 58
  11. 10000
  12. 5
  13. 5
  14. a load event
  15. 19
  16. to build what they need
  17. line 1
  18. an avatar shop
  19. 0
  20. Test 1
  21. the camera
  22. 5
  23. reads the screen aloud
  24. ON
  25. show arrival time
  26. Hi, Kabir
  27. Friend list
  28. white on black
  29. Ask a parent
  30. the screen layout
  31. True
  32. 600
  33. 15
  34. 1.18.0
  35. Silver
  36. 40
  37. that tab’s main screen
  38. the most common need
  39. Test 2
  40. missing a must-have

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