← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 8 · 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 this wireframe (top to bottom), what is right above the menu icon?
    [ list of items ]
    [ big picture ]
    [ filter buttons ]
    [ Add button ]
    [ menu icon ]
    (a) list of items (b) Add button (c) big picture (d) filter buttons
  2. 2.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
  3. 3.🔁 What does a loop do? (a) saves photos (b) repeats code (c) deletes code (d) draws icons
  4. 4.🧰 In function tip(bill), what is bill? (a) a parameter (b) an event (c) a screen (d) a loop
  5. 5.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
  6. 6.🖼️ In this wireframe (top to bottom), what is right below the Add button?
    [ top bar ]
    [ Add button ]
    [ tab bar ]
    [ filter buttons ]
    (a) filter buttons (b) tab bar (c) top bar
  7. 7.📅 An app team plans for 5 days, builds for 9 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  8. 8.True or false: tap to Start is a button. (a) True (b) False
  9. 9.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 36; // start at 36
    line 2: score = score * 2; // double it
    line 3: score = score - 5; // add 5
    line 4: score = score * 2; // double it
    line 5: show(score); // show it
  10. 10.🧭 Tapping a tab usually takes you to ___. (a) the last app used (b) that tab’s main screen (c) the phone settings (d) a random page
  11. 11.True or false: an app needs no installing. (a) True (b) False
  12. 12.💾 What does this code show? (Positions start at 0.)
    let notes = ["Maths", "Sports", "Hindi", "Art"];
    show(notes[1]);
    (a) Art (b) Hindi (c) Sports (d) Maths
  13. 13.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 20 px tall. How many px taller must it be?
  14. 14.🔀 What does this PIN rule show?
    let pin = "57984";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  15. 15.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) phone cases (b) easy cases (c) edge cases (d) old cases
  16. 16.🧰 How do you run (call) a function called greet? (a) #greet (b) greet() (c) greet[] (d) run greet
  17. 17.Which of these is data? (a) the log-in page (b) tap to go Next (c) your friends list (d) a slider for volume
  18. 18.🔐 Which permission does a homework photo scanner really need? (a) the camera (b) the microphone (c) contacts (d) location
  19. 19.🖼️ In this wireframe (top to bottom), what is right above the top bar?
    [ Add button ]
    [ tab bar ]
    [ top bar ]
    [ big picture ]
    (a) tab bar (b) Add button (c) big picture
  20. 20.🔁 What number does this code show?
    let scores = [17, 5, 18];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  21. 21.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Score card”
    2. tap Back
    3. tap the Settings tab
    Which screen are you on now?
    (a) Score card (b) Feed (c) Settings (d) Chat
  22. 22.🔀 What does this sign-up rule show?
    let age = 10;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  23. 23.🔢 After an app is released, what comes right after “fix and improve”? (a) list what to fix (b) read user reviews (c) release an update (d) test it again
  24. 24.🔁 What number does this code show?
    let steps = [47, 40, 16];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  25. 25.🔍 Which is the odd one out? (a) the button colours (b) the font size (c) the theme colours (d) how fast a task is done
  26. 26.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(45, 4));
  27. 27.🔁 What number does this code show?
    let marks = [16, 9, 17, 11];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  28. 28.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ title text ]
    [ Save button ]
    [ Add button ]
    [ list of items ]
    (a) title text (b) Save button (c) list of items (d) Add button
  29. 29.Which of these is processing? (a) a pop-up message (b) a beep sound (c) taking a photo (d) checking a password
  30. 30.🗂️ What kind of app is a word battle? (a) a learning app (b) a health app (c) a tool app (d) a game
  31. 31.💾 Which can hold many values in order? (a) a list (b) a single number (c) a button (d) a switch
  32. 32.💾 What is a variable? (a) a type of screen (b) a named box for a value (c) a picture (d) a phone setting
  33. 33.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right > 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(5) → expected Try again
    Test 2: result(7) → expected Pass
    Test 3: result(9) → expected Pass
    (a) Test 2 (b) Test 3 (c) Test 1
  34. 34.🔍 Which is the odd one out? (a) let friends try it (b) write down the bugs (c) try every button (d) pick the features
  35. 35.🧭 Which part of navigation sits at the bottom? (a) the back button (b) a menu button (c) a tab bar
  36. 36.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(0));
  37. 37.🔐 Is this permission request fair or too much: calculator → location? (a) fair (b) too much
  38. 38.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 39; // start at 39
    line 2: score = score - 5; // take away 5
    line 3: score = score - 4; // add 4
    line 4: show(score); // show it
    (a) line 2 (b) line 3 (c) line 1
  39. 39.💡 Does an app idea like an app that just says hi solve a real problem? (a) Yes (b) No
  40. 40.🔁 What number does this code show?
    let steps = [16, 11, 5, 10, 1];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);

Answer key

  1. Add button
  2. No
  3. repeats code
  4. a parameter
  5. hard to read
  6. tab bar
  7. 14
  8. True
  9. 134
  10. that tab’s main screen
  11. False
  12. Sports
  13. 28
  14. Use 4 digits
  15. edge cases
  16. greet()
  17. your friends list
  18. the camera
  19. tab bar
  20. 40
  21. Settings
  22. Ask a parent
  23. test it again
  24. 0
  25. how fast a task is done
  26. 180
  27. 53
  28. list of items
  29. checking a password
  30. a game
  31. a list
  32. a named box for a value
  33. Test 2
  34. pick the features
  35. a tab bar
  36. 30
  37. too much
  38. line 3
  39. No
  40. 16

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