← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 681 · 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.🧩 Which of these is a button on this screen?
    [title] Sign Up
    [switch] Remind me
    [button] Start
    [slider] Brightness
    [text box] Age
    (a) Age (b) Start (c) Remind me (d) Brightness
  2. 2.💡 Which app idea solves this problem: pupils forget due dates? (a) a bill splitter (b) a lost-and-found board (c) a homework planner (d) a medicine reminder
  3. 3.♿ A screen has 9 icon buttons. Only 3 of them have a text label for screen readers. How many still need a label?
  4. 4.🔀 What does this sign-up rule show?
    let age = 8;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  5. 5.💾 Data saved only on the phone is lost when ___. (a) you send a message (b) the app is closed (c) the phone is lost (d) the screen turns off
  6. 6.🔁 What number does this code show?
    let marks = [6, 18, 6, 15];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  7. 7.🚀 Your app is at version 2.11.3. The next release fixes a small bug. What is its version number? (a) 3.0.0 (b) 2.11.4 (c) 2.12.3 (d) 2.12.0
  8. 8.🔁 Why use a loop to show 100 messages? (a) it hides them (b) less code to write (c) it is slower (d) it uses more lines
  9. 9.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
    function price(age) {
      if (age <= 12) {
        return 50;
      }
      return 100;
    }
    Test 1: price(8) → expected 50
    Test 2: price(12) → expected 100
    Test 3: price(15) → expected 100
    (a) Test 1 (b) Test 2 (c) Test 3
  10. 10.True or false: a word battle is a game. (a) False (b) True
  11. 11.🔢 In a sign-up flow, what comes right after “open the app”? (a) type name and email (b) enter the code sent (c) tap “Sign up” (d) make a password
  12. 12.🌗 Is white on dark green easy or hard to read on a button? (a) hard to read (b) easy to read
  13. 13.🔢 In a food-order flow, which comes FIRST? (a) pay for the order (b) check the cart (c) pick a dish (d) open the menu
  14. 14.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Footer: 10 px
    Body text: 16 px
    Menu: 23 px
    (a) Body text (b) Footer (c) Menu
  15. 15.🔀 What does this PIN rule show?
    let pin = "935";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  16. 16.🔘 Our rule: buttons are at least 48 px tall. The Help button is 32 px tall. How many px taller must it be?
  17. 17.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show the score (b) show a question (c) background music (d) check the answer
  18. 18.📅 An app team plans for 5 days, builds for 4 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
  19. 19.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) rate the driver (c) a dark mode (d) show arrival time
  20. 20.🔢 In a food-order flow, what comes right after “check the cart”? (a) add it to the cart (b) pick a dish (c) open the menu (d) pay for the order
  21. 21.🔍 Which is the odd one out? (a) labels on every icon (b) big touch targets (c) tiny tap areas (d) captions on videos
  22. 22.🔁 What number does this code show?
    let runs = [17, 4, 1];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  23. 23.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 30; // start at 30
    line 2: lives = lives + 8; // add 6
    line 3: lives = lives + 6; // add 6
    line 4: show(lives); // show it
  24. 24.🧭 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”
    Which screen are you on now?
    (a) Badges (b) Quiz (c) Lessons (d) Score card
  25. 25.🚀 Which of these versions is the OLDEST?
    2.15.3, 2.10.3, 2.8.8, 1.20.3
    (a) 2.10.3 (b) 2.15.3 (c) 2.8.8 (d) 1.20.3
  26. 26.👥 A clinic app has 100 patients, 235 doctors and 90 nurses as users. How many more patients than nurses are there?
  27. 27.Which of these is about UI (the look)? (a) how fast a task is done (b) whether users get lost (c) how users feel after (d) the font size
  28. 28.Which of these fits saving in the cloud? (a) the sound on/off setting (b) a shared to-do list (c) notes to read offline (d) a draft you are typing
  29. 29.True or false: a water reminder is the best fit for a parent waiting at the bus stop. (a) False (b) True
  30. 30.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 32; // start at 32
    line 2: lives = lives - 3; // take away 3
    line 3: lives = lives + 8; // add 6
    line 4: show(lives); // show it
    (a) line 1 (b) line 2 (c) line 3
  31. 31.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Riya"));
    (a) Hi, Riya! (b) Hi, name! (c) Riya (d) greet
  32. 32.🚀 Your app is at version 1.10.7. The next release fixes a small bug. What is its version number? (a) 1.11.7 (b) 1.10.8 (c) 2.0.0 (d) 1.11.0
  33. 33.Which of these requests asks for too much? (a) calling app → contacts (b) map app → location (c) calculator → location (d) camera app → camera
  34. 34.True or false: a racing challenge is a health app. (a) False (b) True
  35. 35.💡 Which is a problem statement? (a) “Add a logo” (b) “Kids forget homework” (c) “Make it fast” (d) “Use blue buttons”
  36. 36.🔀 What does this sign-up rule show?
    let age = 10;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  37. 37.⚙️ What number does this app show?
    let bill = 300; // typed by the user
    let friends = 4; // typed by the user
    let share = bill / friends;
    show(share);
  38. 38.🧪 What is the ACTUAL result of Test 2?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age <= 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 100
    Test 2: price(15) → expected 100
    Test 3: price(10) → expected 50
  39. 39.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(0));
  40. 40.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) a dark mode (c) see where the bus is (d) show arrival time

Answer key

  1. Start
  2. a homework planner
  3. 6
  4. Ask a parent
  5. the phone is lost
  6. 18
  7. 2.11.4
  8. less code to write
  9. Test 2
  10. True
  11. tap “Sign up”
  12. easy to read
  13. open the menu
  14. Footer
  15. Use 4 digits
  16. 16
  17. background music
  18. 12
  19. show arrival time
  20. pay for the order
  21. tiny tap areas
  22. 22
  23. 42
  24. Badges
  25. 1.20.3
  26. 10
  27. the font size
  28. a shared to-do list
  29. False
  30. line 3
  31. Hi, Riya!
  32. 1.10.8
  33. calculator → location
  34. False
  35. “Kids forget homework”
  36. Ask a parent
  37. 75
  38. 100
  39. 60
  40. a dark mode

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