← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 717 · 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.Which of these is true of an app? (a) opens in a web browser (b) needs no installing (c) has a home-screen icon (d) opens from a link
  2. 2.Which of these is an input? (a) tap to Send (b) a date picker (c) the game-over page (d) tap to go Next
  3. 3.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Map”
    2. tap Back
    3. open “Friend list”
    4. tap Back
    Which screen are you on now?
    (a) Lessons (b) Friend list (c) Map (d) Quiz
  4. 4.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Match report”
    2. tap Back
    3. open “Match report”
    4. open “Map”
    Which screen are you on now?
    (a) Quiz (b) Match report (c) Map (d) Lessons
  5. 5.👥 A clinic app has 85 patients, 300 doctors and 260 nurses as users. How many users does it have in all?
  6. 6.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 33; // start at 32
    line 2: stars = stars - 1; // take away 1
    line 3: stars = stars + 5; // add 5
    line 4: stars = stars * 2; // double it
    line 5: show(stars); // show it
    (a) line 1 (b) line 2 (c) line 4 (d) line 3
  7. 7.👆 The user taps the button 2 times. What number does the label show now?
    let lives = 6;
    button.onTap = function () {
      lives = lives + 1;
      label.text = lives;
    };
  8. 8.💾 pop() takes off the last item. What does this code show?
    let friends = ["Riya", "Kabir", "Arjun", "Aman"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Aman (b) Kabir (c) Riya (d) Arjun
  9. 9.👆 What kind of event is this: the search box changes? (a) a tap event (b) a timer event (c) a load event (d) a text event
  10. 10.💾 What number does this code show?
    let coins = 8;
    coins = coins - 3;
    coins = coins + 2;
    show(coins);
  11. 11.🎯 Who are the users of an app? (a) the people who use it (b) only the testers (c) only the coders (d) the app icons
  12. 12.💾 Where should the app save your last game level: on the phone or in the cloud? (a) on the phone (b) in the cloud
  13. 13.True or false: the user types a letter is a text event. (a) True (b) False
  14. 14.True or false: your last game level fits saving on the phone. (a) False (b) True
  15. 15.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) edge cases (b) old cases (c) easy cases (d) phone cases
  16. 16.🔢 When you make an app, what comes right after “test the app”? (a) release it (b) build the app (c) plan the screens (d) get an idea
  17. 17.♿ A screen has 8 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
  18. 18.True or false: you connect the data at the build stage. (a) True (b) False
  19. 19.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age < 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(12) → expected 100
    Test 2: price(13) → expected 100
    Test 3: price(8) → expected 50
  20. 20.🔍 Which is the odd one out? (a) the font size (b) the theme colours (c) how easy sign-up is (d) the icon shapes
  21. 21.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [button] Send
    [text box] Phone
    [text box] Notes
    [text box] Age
    [slider] Text size
  22. 22.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(4));
  23. 23.🔀 What number does this shop app show?
    let total = 800;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  24. 24.💾 pop() takes off the last item. What does this code show?
    let songs = ["Stars", "Monsoon", "Sunrise", "Rain", "Ocean"];
    songs.pop();
    show(songs[songs.length - 1]);
    (a) Stars (b) Rain (c) Monsoon (d) Sunrise
  25. 25.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(1));
  26. 26.💡 Which is a problem statement? (a) “Add a logo” (b) “Make it fast” (c) “Use blue buttons” (d) “Kids forget homework”
  27. 27.💾 Saving data in the cloud lets you ___. (a) use it on any device (b) shrink the app (c) skip the internet (d) never need a password
  28. 28.🧩 Which input is best for typing your name? (a) a switch (b) a text box (c) a picture (d) a slider
  29. 29.🐞 After fixing a bug you should ___. (a) release at once (b) delete the test (c) test it again (d) never test
  30. 30.🧩 Which input is best for turning something ON or OFF? (a) a text box (b) a switch (c) a slider (d) a title
  31. 31.🔁 What number does this code show?
    let scores = [2, 10, 16, 4];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  32. 32.🖼️ How many parts (boxes) does this wireframe have?
    [ Add button ]
    [ search box ]
    [ filter buttons ]
    [ big picture ]
    [ top bar ]
  33. 33.💡 After a survey, which need should version 1 solve? (a) the rarest need (b) the newest trend (c) a random need (d) the most common need
  34. 34.🔁 What number does this code show?
    let scores = [13, 18, 17, 13, 6];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  35. 35.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 30; // start at 30
    line 2: score = score + 6; // add 6
    line 3: score = score * 3; // double it
    line 4: score = score - 1; // take away 1
    line 5: show(score); // show it
    (a) line 2 (b) line 3 (c) line 1 (d) line 4
  36. 36.🗂️ What kind of app is a unit converter? (a) a game (b) a learning app (c) a tool app (d) a health app
  37. 37.🖼️ How many parts (boxes) does this wireframe have?
    [ search box ]
    [ menu icon ]
    [ Add button ]
    [ tab bar ]
    [ list of items ]
  38. 38.True or false: the home page of an app is a button. (a) True (b) False
  39. 39.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Cart → Shop → Pens → Menu → Offers
    Design B: Home → Offers → Size → Results → Search → Pens → Confirm
  40. 40.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) helps everyone (b) makes it harder

Answer key

  1. has a home-screen icon
  2. a date picker
  3. Lessons
  4. Map
  5. 645
  6. line 1
  7. 8
  8. Arjun
  9. a text event
  10. 7
  11. the people who use it
  12. on the phone
  13. True
  14. True
  15. edge cases
  16. release it
  17. 6
  18. True
  19. 3
  20. how easy sign-up is
  21. 1
  22. 80
  23. 750
  24. Rain
  25. 50
  26. “Kids forget homework”
  27. use it on any device
  28. a text box
  29. test it again
  30. a switch
  31. 16
  32. 5
  33. the most common need
  34. 18
  35. line 3
  36. a tool app
  37. 5
  38. False
  39. 1
  40. helps everyone

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