← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 493 · 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.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Menu → Item → Pay → Pens → Search
    Design B: Home → Offers → Confirm → Pens → Shop
  2. 2.💾 pop() takes off the last item. What does this code show?
    let notes = ["Art", "Hindi", "Music", "Maths", "Sports"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Maths (b) Art (c) Music (d) Hindi
  3. 3.True or false: a barcode scanner needs the microphone. (a) True (b) False
  4. 4.🧪 A test fails when ___. (a) the font is big (b) actual is not expected (c) the app is new (d) both are the same
  5. 5.👆 What kind of event is this: the app starts up? (a) a load event (b) a tap event (c) a text event (d) a timer event
  6. 6.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [text box] Age
    [button] Done
    [button] Send
    [text box] Email
    (a) Email (b) Done (c) Age
  7. 7.🚀 A privacy policy tells users ___. (a) the app’s colours (b) the screen size (c) what data is collected (d) the app’s price
  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.🖼️ In this wireframe (top to bottom), what is right above the Add button?
    [ top bar ]
    [ menu icon ]
    [ Add button ]
    [ search box ]
    (a) top bar (b) menu icon (c) search box
  10. 10.💡 An app that tries to do everything at once is usually ___. (a) easy to build (b) finished fast (c) very small (d) hard to use
  11. 11.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) makes it harder (b) helps everyone
  12. 12.⚙️ In an app, is a result on screen an input, processing or an output? (a) processing (b) input (c) output
  13. 13.True or false: tap to Save is a button. (a) True (b) False
  14. 14.💾 Which can hold many values in order? (a) a switch (b) a single number (c) a list (d) a button
  15. 15.🔢 In a food-order flow, which comes first: “pay for the order” or “pick a dish”? (a) pick a dish (b) pay for the order
  16. 16.🧪 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(14) → expected 100
    Test 3: price(5) → expected 50
    (a) Test 1 (b) Test 2 (c) Test 3
  17. 17.👥 A library app has 120 readers, 195 librarians and 20 volunteers as users. How many more librarians than readers are there?
  18. 18.🧪 A test case is an input together with its ___. (a) screen colour (b) font size (c) app icon (d) expected result
  19. 19.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Video”
    2. open “Score card”
    3. tap the Settings tab
    4. tap the Feed tab
    How many times must you tap Back to reach the main screen of this tab?
  20. 20.Which of these happens at the idea stage? (a) sketch the screens (b) spot a problem to solve (c) write the code (d) let friends try it
  21. 21.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 8 or more right answers.
    function result(right) {
      if (right > 8) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(5) → expected Try again
    Test 2: result(13) → expected Pass
    Test 3: result(10) → expected Pass
  22. 22.👆 “On tap → do this” links an event to ___. (a) a font (b) a web address (c) an action (d) a charger
  23. 23.📅 An app team plans for 4 days, builds for 4 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  24. 24.💾 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
  25. 25.Which colour pair is easy to read? (a) light grey on white (b) red on green (c) white on black (d) pale pink on white
  26. 26.True or false: the theme colours is about UI (the look). (a) True (b) False
  27. 27.Which of these is true of a menu button? (a) sits at the bottom (b) shows 3 to 5 icons (c) switches main sections (d) opens a list of pages
  28. 28.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
  29. 29.True or false: sorting the scores is processing. (a) False (b) True
  30. 30.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) see tasks by day (c) earn stickers (d) pick a theme colour
  31. 31.True or false: icons with no meaning is good button design. (a) True (b) False
  32. 32.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 48; // start at 48
    line 2: score = score + 9; // add 6
    line 3: score = score + 5; // add 5
    line 4: show(score); // show it
  33. 33.👆 The user taps the button 2 times. What number does the label show now?
    let stars = 1;
    button.onTap = function () {
      stars = stars + 1;
      label.text = stars;
    };
  34. 34.Which of these is an input? (a) adding up a bill (b) a buzz (vibration) (c) taking a photo (d) sorting the scores
  35. 35.True or false: adding up a bill is an input. (a) False (b) True
  36. 36.🔍 Which is the odd one out? (a) try every button (b) write the store text (c) put it on an app store (d) share the download link
  37. 37.🖼️ In this wireframe (top to bottom), what is right above the search box?
    [ tab bar ]
    [ search box ]
    [ top bar ]
    [ menu icon ]
    (a) tab bar (b) top bar (c) menu icon
  38. 38.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(10) + fee(6));
  39. 39.🔀 When does the else part run? (a) when the test is false (b) always (c) when the test is true (d) never
  40. 40.🛠️ At which stage do you write down the bugs? (a) the plan stage (b) the idea stage (c) the test stage (d) the release stage

Answer key

  1. 1
  2. Maths
  3. False
  4. actual is not expected
  5. a load event
  6. Done
  7. what data is collected
  8. take the photo
  9. menu icon
  10. hard to use
  11. helps everyone
  12. output
  13. True
  14. a list
  15. pick a dish
  16. Test 1
  17. 75
  18. expected result
  19. 0
  20. spot a problem to solve
  21. 3
  22. an action
  23. 8
  24. on the phone
  25. white on black
  26. True
  27. opens a list of pages
  28. a wireframe
  29. True
  30. see tasks by day
  31. False
  32. 62
  33. 3
  34. taking a photo
  35. False
  36. try every button
  37. tab bar
  38. 120
  39. when the test is false
  40. the test stage

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