← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 200 · 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.👥 A cricket club app has 160 players, 185 coaches and 295 fans as users. Which user group is the biggest? (a) coaches (b) fans (c) players
  2. 2.True or false: photos on two devices fits saving on the phone. (a) False (b) True
  3. 3.🔍 Which is the odd one out? (a) a water reminder (b) a torch (c) an alarm clock (d) a unit converter
  4. 4.True or false: a homework photo scanner needs your location. (a) False (b) True
  5. 5.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(14));
  6. 6.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Confirm → Size → Menu
    Design B: Home → Confirm → Address → Menu → Offers → Shop
    (a) Design A (b) Design B
  7. 7.🔁 What number does this code show?
    let marks = [3, 4, 8, 12, 5];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  8. 8.💾 What number does this code show?
    let songs = ["Rain", "Ocean"];
    songs.push("Monsoon");
    songs.push("Kites");
    show(songs.length);
  9. 9.👆 The user taps the button 4 times. What number does the label show now?
    let score = 0;
    button.onTap = function () {
      score = score + 4;
      label.text = score;
    };
  10. 10.📱 Which one comes from an app store: an app or a website? (a) an app (b) a website
  11. 11.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 33; // start at 31
    line 2: score = score * 2; // double it
    line 3: score = score - 2; // take away 2
    line 4: score = score * 2; // double it
    line 5: show(score); // show it
    (a) line 2 (b) line 3 (c) line 1 (d) line 4
  12. 12.True or false: a countdown hits zero is a load event. (a) False (b) True
  13. 13.🔁 What number does this code show?
    let scores = [40, 94, 59];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  14. 14.🔀 What does >= mean? (a) smaller or equal (b) greater than or equal (c) less than (d) not equal
  15. 15.True or false: a walking map needs your location. (a) False (b) True
  16. 16.🔁 What number does this code show?
    let scores = [39, 28, 12];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  17. 17.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) share tasks to friends (b) see tasks by day (c) add a homework task (d) set a due date
  18. 18.♿ What does a screen reader do? (a) plays music (b) reads the screen aloud (c) takes photos (d) makes text tiny
  19. 19.💾 Which works with no internet at all? (a) data saved on the phone (b) a cloud leaderboard (c) a cloud backup (d) a shared chat
  20. 20.♿ Why add captions to videos? (a) to add colour (b) to hide the sound (c) so anyone can follow (d) to slow them down
  21. 21.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Aman"));
    (a) greet (b) Aman (c) Hi, name! (d) Hi, Aman!
  22. 22.🔢 In a food-order flow, which comes LAST? (a) check the cart (b) track the order (c) pick a dish (d) add it to the cart
  23. 23.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 34; // start at 34
    line 2: score = score - 2; // add 2
    line 3: score = score * 2; // double it
    line 4: show(score); // show it
  24. 24.🧩 In an app, what is today’s step count? (a) a button (b) a screen (c) an input (d) data
  25. 25.True or false: an app is installed on a phone. (a) False (b) True
  26. 26.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Size → Pay → Shop
    Design B: Home → Cart → Confirm
    (a) Design B (b) Design A
  27. 27.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Shop → Cart
    Design B: Home → Address → Pens → Shop
  28. 28.💡 Does an app idea like a library due-date alert solve a real problem? (a) No (b) Yes
  29. 29.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 44; // start at 44
    line 2: stars = stars + 2; // add 2
    line 3: stars = stars - 5; // add 5
    line 4: stars = stars * 2; // double it
    line 5: show(stars); // show it
  30. 30.🔘 Is this good or poor button design: a tiny 20 px button? (a) good design (b) poor design
  31. 31.True or false: a library due-date alert solves a real problem. (a) True (b) False
  32. 32.True or false: a unit converter is a learning app. (a) True (b) False
  33. 33.👆 What kind of event is this: a 5-minute alarm ends? (a) a tap event (b) a load event (c) a text event (d) a timer event
  34. 34.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 34; // start at 31
    line 2: lives = lives + 3; // add 3
    line 3: lives = lives - 4; // take away 4
    line 4: lives = lives * 2; // double it
    line 5: show(lives); // show it
  35. 35.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a bus tracker (b) a big-text reader (c) a pocket-money tracker (d) a water reminder
  36. 36.💡 Which app idea solves this problem: friends argue over who pays? (a) a study-room finder (b) a homework planner (c) a bill splitter (d) a medicine reminder
  37. 37.🔁 What number does this code show?
    let scores = [93, 98, 88];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  38. 38.🎯 What is a user need? (a) a colour theme (b) a problem a user has (c) a type of button (d) a phone setting
  39. 39.True or false: a clear word like Save is good button design. (a) False (b) True
  40. 40.Which of these is about UX (the experience)? (a) how users feel after (b) the icon shapes (c) the font size (d) the screen layout

Answer key

  1. fans
  2. False
  3. a water reminder
  4. False
  5. 42
  6. Design A
  7. 32
  8. 4
  9. 16
  10. an app
  11. line 1
  12. False
  13. 1
  14. greater than or equal
  15. True
  16. 0
  17. share tasks to friends
  18. reads the screen aloud
  19. data saved on the phone
  20. so anyone can follow
  21. Hi, Aman!
  22. track the order
  23. 64
  24. data
  25. True
  26. Design B
  27. 1
  28. Yes
  29. 82
  30. poor design
  31. True
  32. False
  33. a timer event
  34. 60
  35. a bus tracker
  36. a bill splitter
  37. 3
  38. a problem a user has
  39. True
  40. how users feel after

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