← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 921 · 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.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. tap the Me tab
    3. open “Edit photo”
    Which screen are you on now?
    (a) Lessons (b) Me (c) Edit photo (d) Quiz
  2. 2.🔀 What does this battery rule show?
    let battery = 26;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  3. 3.👥 A library app has 25 readers, 210 librarians and 165 volunteers as users. How many users does it have in all?
  4. 4.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. open “Map”
    3. tap Back
    4. open “Friend list”
    5. tap Back
    Which screen are you on now?
    (a) Friend list (b) Map (c) Quiz (d) Lessons
  5. 5.🗒️ Version 1 of a pocket-money tracker must be ready in 15 days. How many days are left for extras after the must-haves?
    add money received: 2 days
    add money spent: 4 days
    show the balance: 5 days
  6. 6.💾 pop() takes off the last item. What does this code show?
    let friends = ["Arjun", "Meera", "Zoya", "Aman"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Zoya (b) Aman (c) Meera (d) Arjun
  7. 7.Which of these is processing? (a) taking a photo (b) a beep sound (c) a buzz (vibration) (d) checking a password
  8. 8.Which of these is a feature? (a) a dark mode switch (b) “Small text is hard” (c) “What should I cook?” (d) “I forget my homework”
  9. 9.🔁 What number does this code show?
    let scores = [10, 9, 10, 16, 18];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  10. 10.Which of these happens at the test stage? (a) sketch the screens (b) add the buttons (c) list what users need (d) try every button
  11. 11.🔁 What number does this code show?
    let steps = [8, 1, 2];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  12. 12.👆 The user taps the button 3 times. What number does the label show now?
    let lives = 1;
    button.onTap = function () {
      lives = lives + 2;
      label.text = lives;
    };
  13. 13.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Video”
    2. tap the Chat tab
    3. open “Friend list”
    4. open “Edit photo”
    How many times must you tap Back to reach the main screen of this tab?
  14. 14.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
  15. 15.🔀 What number does this shop app show?
    let total = 640;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  16. 16.🔁 What number does this code show?
    let marks = [17, 9, 9, 1];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  17. 17.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
  18. 18.📅 An app team plans for 3 days, builds for 9 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  19. 19.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 39; // start at 39
    line 2: coins = coins - 2; // take away 2
    line 3: coins = coins * 3; // double it
    line 4: coins = coins * 2; // double it
    line 5: show(coins); // show it
    (a) line 1 (b) line 2 (c) line 4 (d) line 3
  20. 20.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Aman", "Zoya", "Arjun", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Kabir (c) Hi, Riya (d) Hi, Zoya
  21. 21.🗒️ Version 1 of a bus tracker must be ready in 7 days. How many days are left for extras after the must-haves?
    see where the bus is: 2 days
    show arrival time: 3 days
    pick your bus stop: 2 days
  22. 22.Which of these requests is fair? (a) camera app → camera (b) quiz app → microphone (c) torch → contacts (d) calculator → location
  23. 23.🔀 What does this PIN rule show?
    let pin = "821";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  24. 24.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) see where the bus is (b) a dark mode (c) show arrival time (d) pick your bus stop
  25. 25.👆 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!
  26. 26.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a wireframe (b) a final design
  27. 27.True or false: a step counter is a learning app. (a) False (b) True
  28. 28.♿ Accessibility means an app works for ___. (a) only the coder (b) only experts (c) nobody (d) everyone
  29. 29.📱 Which one opens in a web browser: an app or a website? (a) an app (b) a website
  30. 30.🔀 What does this PIN rule show?
    let pin = "684";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  31. 31.True or false: checking a password is an input. (a) True (b) False
  32. 32.True or false: a party-invite app for friends needs the camera. (a) True (b) False
  33. 33.👆 The user taps the button 7 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) ON (b) OFF
  34. 34.Which of these is true of the back button? (a) switches main sections (b) hides extra links (c) opens a list of pages (d) goes to the last screen
  35. 35.True or false: a final design looks like the real app. (a) True (b) False
  36. 36.💾 Which works with no internet at all? (a) a cloud backup (b) a shared chat (c) a cloud leaderboard (d) data saved on the phone
  37. 37.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) change the bus icon (c) a dark mode (d) see where the bus is
  38. 38.💡 Which is a problem statement? (a) “Use blue buttons” (b) “Add a logo” (c) “Make it fast” (d) “Kids forget homework”
  39. 39.True or false: a big, easy tap area is good button design. (a) True (b) False
  40. 40.🗂️ What kind of app is a racing challenge? (a) a health app (b) a game (c) a learning app (d) a tool app

Answer key

  1. Edit photo
  2. Battery OK
  3. 400
  4. Lessons
  5. 4
  6. Zoya
  7. checking a password
  8. a dark mode switch
  9. 18
  10. try every button
  11. 8
  12. 7
  13. 2
  14. an app
  15. 590
  16. 36
  17. an app
  18. 16
  19. line 3
  20. Hi, Kabir
  21. 0
  22. camera app → camera
  23. Use 4 digits
  24. a dark mode
  25. Welcome, Riya!
  26. a final design
  27. False
  28. everyone
  29. a website
  30. Use 4 digits
  31. False
  32. False
  33. ON
  34. goes to the last screen
  35. True
  36. data saved on the phone
  37. see where the bus is
  38. “Kids forget homework”
  39. True
  40. a game

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