← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 81 · 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.🔢 In a photo-post flow, what comes right after “write a caption”? (a) open the camera screen (b) add a filter (c) post the photo (d) take the photo
  2. 2.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 42; // start at 41
    line 2: stars = stars - 3; // take away 3
    line 3: stars = stars + 6; // add 6
    line 4: show(stars); // show it
    (a) line 3 (b) line 1 (c) line 2
  3. 3.Which of these app ideas solves no real problem? (a) a bill splitter (b) a page of random dots (c) a free study-room finder (d) a medicine reminder
  4. 4.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(300) → expected 0
    Test 2: delivery(400) → expected 0
    Test 3: delivery(100) → expected 40
    (a) Test 3 (b) Test 2 (c) Test 1
  5. 5.🔢 In a food-order flow, which comes first: “pay for the order” or “open the menu”? (a) pay for the order (b) open the menu
  6. 6.💡 Does an app idea like a blank grey screen solve a real problem? (a) No (b) Yes
  7. 7.Which of these is processing? (a) a beep sound (b) adding up a bill (c) tapping a button (d) taking a photo
  8. 8.💾 What does this code show? (Positions start at 0.)
    let notes = ["Sports", "Art", "Hindi", "Maths"];
    show(notes[0]);
    (a) Sports (b) Art (c) Hindi (d) Maths
  9. 9.🖼️ How many parts (boxes) does this wireframe have?
    [ big picture ]
    [ list of items ]
    [ title text ]
    [ Add button ]
    [ Save button ]
  10. 10.Which of these is a button? (a) your high score (b) the game-over page (c) the home page of an app (d) tap to Save
  11. 11.🧪 One test case fails. Which one?
    📝 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(8) → expected Pass
    Test 2: result(7) → expected Try again
    Test 3: result(9) → expected Pass
    (a) Test 1 (b) Test 3 (c) Test 2
  12. 12.🗒️ Version 1 of a water reminder must be ready in 13 days. How many days are left for extras after the must-haves?
    set a reminder time: 2 days
    log a glass of water: 4 days
    see today’s total: 3 days
  13. 13.Which of these is true of a final design? (a) uses plain grey boxes (b) shows where things go (c) uses the final pictures (d) has no real colours
  14. 14.🔁 What number does this code show?
    let steps = [7, 11, 17, 2];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  15. 15.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 35; // start at 32
    line 2: stars = stars - 1; // take away 1
    line 3: stars = stars - 2; // take away 2
    line 4: show(stars); // show it
    (a) line 2 (b) line 3 (c) line 1
  16. 16.📅 An app team plans for 2 days, builds for 10 days, tests for 3 days and releases on 1 more day. How many more days does building take than testing?
  17. 17.👆 Code that runs when an event happens is called a ___. (a) handler (b) hashtag (c) headline (d) header
  18. 18.🔢 When you make an app, what comes right after “build the app”? (a) plan the screens (b) release it (c) get an idea (d) test the app
  19. 19.👆 The user taps the button 2 times. What number does the label show now?
    let lives = 7;
    button.onTap = function () {
      lives = lives + 4;
      label.text = lives;
    };
  20. 20.🔐 Is this permission request fair or too much: calculator → location? (a) fair (b) too much
  21. 21.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(90, 4));
  22. 22.Which of these is true of the back button? (a) sits at the bottom (b) hides extra links (c) goes to the last screen (d) shows 3 to 5 icons
  23. 23.🎨 Who should you test the UX with? (a) real users (b) nobody (c) only yourself (d) the app icon
  24. 24.🔀 What does this battery rule show?
    let battery = 45;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  25. 25.🔍 Which is the odd one out? (a) the screen layout (b) the icon shapes (c) the font size (d) how fast a task is done
  26. 26.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 62; // typed by the user
    line 2: let friends = 2; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 3 (b) line 4 (c) line 1 (d) line 2
  27. 27.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Zoya", "Riya", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Riya (c) Hi, Kabir (d) Hi, Meera
  28. 28.📅 An app team plans for 2 days, builds for 12 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
  29. 29.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Me tab
    2. open “Video”
    3. open “Video”
    4. tap Back
    5. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  30. 30.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Caption: 19 px
    Body text: 10 px
    Footer: 17 px
  31. 31.🔢 When you make an app, which comes first: “test the app” or “build the app”? (a) test the app (b) build the app
  32. 32.True or false: the theme colours is about UX (the experience). (a) True (b) False
  33. 33.🧪 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(12) → expected Pass
    Test 2: result(10) → expected Pass
    Test 3: result(7) → expected Try again
  34. 34.🌗 Is black on pale grey easy or hard to read on a button? (a) hard to read (b) easy to read
  35. 35.🗒️ Version 1 of a pocket-money tracker must be ready in 9 days. How many days are left for extras after the must-haves?
    add money received: 2 days
    add money spent: 3 days
    show the balance: 2 days
  36. 36.⚙️ In an app, is adding up a bill an input, processing or an output? (a) input (b) output (c) processing
  37. 37.🔍 Which is the odd one out? (a) strong colour contrast (b) colour as the only clue (c) fast-flashing lights (d) icons with no labels
  38. 38.👆 An event in an app is ___. (a) a kind of list (b) something that happens (c) a colour theme (d) an app store
  39. 39.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(75, 5));
  40. 40.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Match report”
    2. tap the Settings tab
    3. open “Match report”
    4. open “Badges”
    5. open “Badges”
    Which screen are you on now?
    (a) Feed (b) Match report (c) Badges (d) Chat

Answer key

  1. post the photo
  2. line 1
  3. a page of random dots
  4. Test 1
  5. open the menu
  6. No
  7. adding up a bill
  8. Sports
  9. 5
  10. tap to Save
  11. Test 1
  12. 4
  13. uses the final pictures
  14. 37
  15. line 1
  16. 7
  17. handler
  18. test the app
  19. 15
  20. too much
  21. 360
  22. goes to the last screen
  23. real users
  24. Battery OK
  25. how fast a task is done
  26. line 3
  27. Hi, Meera
  28. 17
  29. 0
  30. 1
  31. build the app
  32. False
  33. 3
  34. easy to read
  35. 2
  36. processing
  37. strong colour contrast
  38. something that happens
  39. 375
  40. Badges

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