← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 594 · 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.True or false: “fast-flashing lights” makes the app harder to use. (a) True (b) False
  2. 2.Which of these is true of an app? (a) opens in a web browser (b) opens from a link (c) needs no installing (d) is installed on a phone
  3. 3.🗒️ Version 1 of a water reminder must be ready in 9 days. How many days are left for extras after the must-haves?
    set a reminder time: 1 days
    log a glass of water: 3 days
    see today’s total: 2 days
  4. 4.🧩 What do we call one full page of an app? (a) a battery (b) a variable (c) a cable (d) a screen
  5. 5.🔁 What number does this code show?
    let marks = [63, 18, 89, 27];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  6. 6.Which of these makes the app harder to use? (a) colour as the only clue (b) big touch targets (c) strong colour contrast (d) labels on every icon
  7. 7.🛠️ At which stage do you let friends try it? (a) the test stage (b) the build stage (c) the release stage (d) the plan stage
  8. 8.💡 Which app idea solves this problem: projects pile up at once? (a) a medicine reminder (b) a bill splitter (c) a lost-and-found board (d) a homework planner
  9. 9.🔢 In a food-order flow, what comes right after “add it to the cart”? (a) pay for the order (b) pick a dish (c) check the cart (d) open the menu
  10. 10.🔁 What number does this code show?
    let steps = [18, 35, 37, 13];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  11. 11.🧪 What is the ACTUAL result of Test 1?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 0
    Test 2: delivery(550) → expected 40
    Test 3: delivery(750) → expected 0
  12. 12.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(30));
  13. 13.True or false: the font size is about UX (the experience). (a) True (b) False
  14. 14.Which of these helps everyone use the app? (a) fast-flashing lights (b) text that can grow (c) sudden loud sounds (d) icons with no labels
  15. 15.True or false: chat messages to friends fits saving on the phone. (a) True (b) False
  16. 16.🚀 In version 2.5.1, which number is the major version? (a) 5 (b) 251 (c) 1 (d) 2
  17. 17.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) show the balance (c) savings stickers (d) add money spent
  18. 18.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 32 px tall. How many px taller must it be?
  19. 19.🔍 Which is the odd one out? (a) working out a tip (b) checking a password (c) adding up a bill (d) a result on screen
  20. 20.🔁 What number does this code show?
    let runs = [2, 19, 1];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  21. 21.🧭 Which part of navigation opens a list of pages? (a) the back button (b) a menu button (c) a tab bar
  22. 22.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Zoya"));
    (a) Zoya (b) Hello, Zoya! (c) greet (d) Hello, name!
  23. 23.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting birthdays: 13 votes
    wasting pocket money: 22 votes
    losing water bottles: 4 votes
    (a) forgetting birthdays (b) wasting pocket money (c) losing water bottles
  24. 24.🧪 How many of these test cases pass?
    🚚 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(350) → expected 40
    Test 2: delivery(600) → expected 0
    Test 3: delivery(500) → expected 0
  25. 25.👆 The user taps the button 3 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  26. 26.🗒️ Version 1 of a pocket-money tracker must be ready in 6 days. How many days are left for extras after the must-haves?
    add money received: 3 days
    add money spent: 1 days
    show the balance: 2 days
  27. 27.🚀 Your app is at version 1.12.2. The next release adds a new feature. What is its version number? (a) 1.13.0 (b) 1.12.3 (c) 1.13.2 (d) 2.0.0
  28. 28.🔢 In a quiz-app flow, which comes LAST? (a) see if it is right (b) read a question (c) see the final score (d) tap “Start quiz”
  29. 29.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) see tasks by day (c) set a due date (d) earn stickers
  30. 30.👥 A school app has 95 students, 290 teachers and 155 parents as users. How many more teachers than students are there?
  31. 31.Which of these is a screen? (a) your friends list (b) the log-in page (c) tap to Send (d) your saved notes
  32. 32.🧭 Tapping a tab usually takes you to ___. (a) that tab’s main screen (b) the last app used (c) a random page (d) the phone settings
  33. 33.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 20; // typed by the user
    line 2: let qty = 4; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 2 (b) line 1 (c) line 3 (d) line 4
  34. 34.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 35; // start at 35
    line 2: points = points + 3; // take away 3
    line 3: points = points + 2; // add 2
    line 4: show(points); // show it
  35. 35.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Match report”
    2. open “Edit photo”
    3. tap the Profile tab
    4. open “Score card”
    5. open “Score card”
    How many times must you tap Back to reach the main screen of this tab?
  36. 36.🐞 Finding and fixing bugs is called ___. (a) downloading (b) decorating (c) designing (d) debugging
  37. 37.🔢 In a photo-post flow, what comes right after “write a caption”? (a) add a filter (b) take the photo (c) open the camera screen (d) post the photo
  38. 38.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 49; // start at 49
    line 2: points = points + 3; // add 3
    line 3: points = points - 4; // take away 1
    line 4: show(points); // show it
    (a) line 2 (b) line 1 (c) line 3
  39. 39.Which of these is true of the back button? (a) shows 3 to 5 icons (b) opens a list of pages (c) sits at the bottom (d) undoes one move
  40. 40.Which of these happens at the idea stage? (a) spot a problem to solve (b) write down the bugs (c) share the download link (d) write the store text

Answer key

  1. True
  2. is installed on a phone
  3. 3
  4. a screen
  5. 2
  6. colour as the only clue
  7. the test stage
  8. a homework planner
  9. check the cart
  10. 0
  11. 0
  12. 60
  13. False
  14. text that can grow
  15. False
  16. 2
  17. savings stickers
  18. 16
  19. a result on screen
  20. 22
  21. a menu button
  22. Hello, Zoya!
  23. wasting pocket money
  24. 3
  25. 3
  26. 0
  27. 1.13.0
  28. see the final score
  29. earn stickers
  30. 195
  31. the log-in page
  32. that tab’s main screen
  33. line 3
  34. 34
  35. 2
  36. debugging
  37. post the photo
  38. line 3
  39. undoes one move
  40. spot a problem to solve

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