← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 897 · 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: how users feel after is about UI (the look). (a) False (b) True
  2. 2.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Zoya", "Aman", "Riya", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Kabir (c) Hi, Aman (d) Hi, Meera
  3. 3.🔀 What is a user flow? (a) a colour theme (b) the path through screens (c) a charging cable (d) a type of font
  4. 4.Which of these is processing? (a) a beep sound (b) working out a tip (c) a result on screen (d) typing your age
  5. 5.True or false: you let friends try it at the release stage. (a) True (b) False
  6. 6.🔢 When you make an app, what comes right after “test the app”? (a) plan the screens (b) get an idea (c) build the app (d) release it
  7. 7.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Friend list”
    2. tap Back
    3. tap the Feed tab
    4. tap the Feed tab
    Which screen are you on now?
    (a) Feed (b) Chat (c) Settings (d) Friend list
  8. 8.🔀 Which badge does this quiz app show?
    let marks = 21;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  9. 9.🔁 What number does this code show?
    let scores = [17, 17, 4];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  10. 10.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “see the home screen”? (a) see the home screen (b) tap “Sign up”
  11. 11.🔢 In a photo-post flow, which comes first: “open the camera screen” or “post the photo”? (a) post the photo (b) open the camera screen
  12. 12.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) delete the app (c) find where it goes wrong (d) buy a new phone
  13. 13.🔍 Which is the odd one out? (a) a buzz (vibration) (b) a result on screen (c) a beep sound (d) adding up a bill
  14. 14.True or false: a pocket-money tracker is the best fit for a runner who forgets to sip water. (a) True (b) False
  15. 15.🔁 What number does this code show?
    let scores = [18, 4, 3, 14, 20];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  16. 16.🧪 Who else should try an app before release? (a) the app icon (b) only the coder (c) real users (d) nobody
  17. 17.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) share tasks to friends (c) pick a theme colour (d) see tasks by day
  18. 18.🖼️ In this wireframe (top to bottom), what is right below the tab bar?
    [ tab bar ]
    [ title text ]
    [ menu icon ]
    [ Add button ]
    [ top bar ]
    (a) title text (b) menu icon (c) Add button (d) top bar
  19. 19.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
    function price(age) {
      if (age <= 8) {
        return 50;
      }
      return 100;
    }
    Test 1: price(8) → expected 100
    Test 2: price(10) → expected 100
    Test 3: price(7) → expected 50
    (a) Test 2 (b) Test 3 (c) Test 1
  20. 20.👆 What kind of event is this: one second passes? (a) a timer event (b) a text event (c) a tap event (d) a load event
  21. 21.🚀 Your app is at version 1.1.1. The next release fixes a small bug. What is its version number? (a) 1.1.2 (b) 1.2.0 (c) 1.2.1 (d) 2.0.0
  22. 22.Which of these is a screen? (a) the settings page (b) a slider for volume (c) a date picker (d) your friends list
  23. 23.👆 The user taps the button 7 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  24. 24.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 5 votes
    missing the bus: 24 votes
    wasting pocket money: 9 votes
    (a) missing the bus (b) wasting pocket money (c) no quiet study place
  25. 25.🗒️ What is a must-have feature? (a) a sound effect (b) one the app cannot skip (c) a nice extra (d) a colour theme
  26. 26.🔀 What does this battery rule show?
    let battery = 41;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  27. 27.🧪 How many of these test cases pass?
    🎟️ 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(12) → expected 100
    Test 2: price(10) → expected 50
    Test 3: price(16) → expected 100
  28. 28.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 240; // typed by the user
    line 2: let off = 20; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 1 (b) line 2 (c) line 4 (d) line 3
  29. 29.🔁 What number does this code show?
    let steps = [7, 2, 15, 12, 2];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  30. 30.🚀 What should an app ask for only when it really needs it? (a) its icon (b) its name (c) a font (d) a permission
  31. 31.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Help page”
    2. tap Back
    3. open “Score card”
    How many times must you tap Back to reach the main screen of this tab?
  32. 32.🔁 What number does this code show?
    let scores = [17, 9, 9, 2, 15];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  33. 33.✏️ A box with a cross in a wireframe usually means ___. (a) an error (b) a closed app (c) a picture goes here (d) delete this
  34. 34.🧰 What is a function? (a) a screen size (b) a type of phone (c) a list of colours (d) a named block of code
  35. 35.🔍 Which is the odd one out? (a) speaking a command (b) taking a photo (c) typing your age (d) a buzz (vibration)
  36. 36.🎨 Is this about UI or UX: whether users get lost? (a) UX (b) UI
  37. 37.🧩 How many buttons does this app screen have?
    [title] New Note
    [button] Send
    [slider] Volume
    [text box] Subject
    [text box] Phone
  38. 38.🧭 Which part of navigation hides extra links? (a) a tab bar (b) a menu button (c) the back button
  39. 39.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
    function price(age) {
      if (age < 8) {
        return 50;
      }
      return 100;
    }
    Test 1: price(11) → expected 100
    Test 2: price(6) → expected 50
    Test 3: price(8) → expected 100
  40. 40.🗒️ Why keep version 1 small? (a) to look bigger (b) to use up storage (c) to learn from users soon (d) to confuse users

Answer key

  1. False
  2. Hi, Meera
  3. the path through screens
  4. working out a tip
  5. False
  6. release it
  7. Feed
  8. Bronze
  9. 38
  10. tap “Sign up”
  11. open the camera screen
  12. find where it goes wrong
  13. adding up a bill
  14. False
  15. 59
  16. real users
  17. see tasks by day
  18. title text
  19. Test 1
  20. a timer event
  21. 1.1.2
  22. the settings page
  23. 5
  24. missing the bus
  25. one the app cannot skip
  26. Battery OK
  27. 3
  28. line 3
  29. 38
  30. a permission
  31. 1
  32. 17
  33. a picture goes here
  34. a named block of code
  35. a buzz (vibration)
  36. UX
  37. 1
  38. a menu button
  39. 3
  40. to learn from users soon

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