← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 699 · 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.📅 An app team plans for 2 days, builds for 4 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
  2. 2.True or false: a spelling coach is a health app. (a) False (b) True
  3. 3.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 51; // start at 50
    line 2: stars = stars * 2; // double it
    line 3: stars = stars + 4; // add 4
    line 4: show(stars); // show it
  4. 4.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) in the cloud (b) on the phone
  5. 5.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 34; // start at 34
    line 2: points = points + 4; // add 4
    line 3: points = points - 5; // add 5
    line 4: show(points); // show it
    (a) line 3 (b) line 1 (c) line 2
  6. 6.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Settings tab
    2. open “Video”
    3. tap the Feed tab
    4. open “Map”
    How many times must you tap Back to reach the main screen of this tab?
  7. 7.👥 A library app has 100 readers, 195 librarians and 145 volunteers as users. Which user group is the biggest? (a) readers (b) librarians (c) volunteers
  8. 8.🔢 In a photo-post flow, which comes first: “add a filter” or “take the photo”? (a) take the photo (b) add a filter
  9. 9.True or false: tap to go Next is a button. (a) False (b) True
  10. 10.🔍 Which is the odd one out? (a) write down the bugs (b) let friends try it (c) put it on an app store (d) try every button
  11. 11.💾 pop() takes off the last item. What does this code show?
    let friends = ["Kabir", "Meera", "Arjun", "Zoya"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Kabir (b) Meera (c) Arjun (d) Zoya
  12. 12.🔍 Which is the odd one out? (a) typing your age (b) tapping a button (c) a beep sound (d) speaking a command
  13. 13.Which of these makes the app harder to use? (a) strong colour contrast (b) captions on videos (c) big touch targets (d) colour as the only clue
  14. 14.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age <= 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(15) → expected 100
    Test 2: price(11) → expected 100
    Test 3: price(9) → expected 50
    (a) Test 1 (b) Test 3 (c) Test 2
  15. 15.True or false: a guitar tuner needs the microphone. (a) True (b) False
  16. 16.🔀 Which badge does this quiz app show?
    let marks = 76;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Bronze (c) Silver
  17. 17.💡 Does an app idea like a free study-room finder solve a real problem? (a) No (b) Yes
  18. 18.📱 The word “app” is short for ___. (a) appointment (b) application (c) apparatus (d) appetite
  19. 19.🔐 A torch app asks for your contacts. What should you do? (a) share them all (b) deny it (c) allow it (d) post them online
  20. 20.⚙️ In an app, is a buzz (vibration) an input, processing or an output? (a) processing (b) input (c) output
  21. 21.Which of these helps everyone use the app? (a) colour as the only clue (b) big touch targets (c) sudden loud sounds (d) fast-flashing lights
  22. 22.🎯 Is this a user need or a feature: “Small text is hard”? (a) a feature (b) a user need
  23. 23.📱 Which one needs no installing: an app or a website? (a) an app (b) a website
  24. 24.👥 A cricket club app has 20 players, 90 coaches and 160 fans as users. How many users does it have in all?
  25. 25.🔁 What number does this code show?
    let scores = [19, 2, 8, 2];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  26. 26.Which of these app ideas solves a real problem? (a) a page of random dots (b) a library due-date alert (c) a blank grey screen (d) an app that just says hi
  27. 27.Which of these makes the app harder to use? (a) strong colour contrast (b) sudden loud sounds (c) text that can grow (d) labels on every icon
  28. 28.🔀 What does this PIN rule show?
    let pin = "7362";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  29. 29.🔀 What does this sign-up rule show?
    let age = 14;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  30. 30.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(30));
  31. 31.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Menu: 10 px
    Hint: 11 px
    Label: 21 px
    Footer: 12 px
  32. 32.True or false: a page of random dots solves a real problem. (a) True (b) False
  33. 33.👥 A school app has 90 students, 205 teachers and 60 parents as users. How many more students than parents are there?
  34. 34.🔁 list.length tells you ___. (a) the last item (b) the first item (c) the biggest item (d) how many items it has
  35. 35.🎯 Who are the users of an app? (a) only the testers (b) only the coders (c) the app icons (d) the people who use it
  36. 36.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 36 px tall. How many px taller must it be?
  37. 37.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) home screen (c) dead end (d) tab bar
  38. 38.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 9; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 2 (b) line 3 (c) line 1
  39. 39.🖼️ In this wireframe (top to bottom), what is right below the title text?
    [ filter buttons ]
    [ title text ]
    [ list of items ]
    [ Save button ]
    [ menu icon ]
    [ search box ]
    (a) Save button (b) menu icon (c) filter buttons (d) list of items
  40. 40.🧩 What do we call one full page of an app? (a) a variable (b) a screen (c) a battery (d) a cable

Answer key

  1. 3
  2. False
  3. 104
  4. on the phone
  5. line 3
  6. 1
  7. librarians
  8. take the photo
  9. True
  10. put it on an app store
  11. Arjun
  12. a beep sound
  13. colour as the only clue
  14. Test 2
  15. True
  16. Silver
  17. Yes
  18. application
  19. deny it
  20. output
  21. big touch targets
  22. a user need
  23. a website
  24. 270
  25. 31
  26. a library due-date alert
  27. sudden loud sounds
  28. PIN saved
  29. Welcome!
  30. 90
  31. 3
  32. False
  33. 30
  34. how many items it has
  35. the people who use it
  36. 12
  37. dead end
  38. line 2
  39. list of items
  40. a screen

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