← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 85 · 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 a final design? (a) shows where things go (b) has no real colours (c) is a quick sketch (d) shows the real fonts
  2. 2.True or false: a pop-up message is an output. (a) True (b) False
  3. 3.Which of these is about UI (the look)? (a) the button colours (b) whether users get lost (c) how users feel after (d) how easy sign-up is
  4. 4.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Hint: 27 px
    Caption: 16 px
    Footer: 25 px
    Title: 13 px
    (a) Hint (b) Footer (c) Caption (d) Title
  5. 5.🔍 Which is the odd one out? (a) the button colours (b) the font size (c) the theme colours (d) how many taps it takes
  6. 6.🗒️ In MVP, the M stands for ___. (a) minimum (b) maximum (c) music (d) mobile
  7. 7.🔐 Which permission does a homework photo scanner really need? (a) the microphone (b) contacts (c) the camera (d) location
  8. 8.🔐 Is this permission request fair or too much: calculator → location? (a) too much (b) fair
  9. 9.🔐 Which permission does a walking map really need? (a) the camera (b) location (c) the microphone (d) contacts
  10. 10.🧪 What is the ACTUAL result of Test 2?
    🚚 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(200) → expected 40
    Test 2: delivery(500) → expected 0
    Test 3: delivery(550) → expected 0
  11. 11.⚙️ In an app, is speaking a command an input, processing or an output? (a) processing (b) output (c) input
  12. 12.🔁 What number does this code show?
    let marks = [7, 17, 15, 2, 15];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  13. 13.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Match report”
    2. open “Friend list”
    3. tap the Quiz tab
    4. tap the Lessons tab
    5. open “Friend list”
    How many times must you tap Back to reach the main screen of this tab?
  14. 14.💾 What does this code show? (Positions start at 0.)
    let songs = ["Sunrise", "Kites", "Ocean"];
    show(songs[2]);
    (a) Sunrise (b) Kites (c) Ocean
  15. 15.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Zoya", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Arjun (c) Hi, Zoya
  16. 16.🚀 What should an app ask for only when it really needs it? (a) its icon (b) its name (c) a permission (d) a font
  17. 17.🚀 Your app is at version 4.5.3. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.6.3 (b) 4.6.0 (c) 5.0.0 (d) 4.5.4
  18. 18.Which of these is a screen? (a) a slider for volume (b) a box to type a name (c) the settings page (d) your friends list
  19. 19.🔢 In a photo-post flow, what comes right after “add a filter”? (a) post the photo (b) write a caption (c) open the camera screen (d) take the photo
  20. 20.True or false: a finger hits Like is a tap event. (a) True (b) False
  21. 21.🚀 Which version is newer: 1.4.3 or 1.14.3? (a) 1.14.3 (b) 1.4.3
  22. 22.🔀 What does this PIN rule show?
    let pin = "686";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  23. 23.🧪 What is the actual result of a test? (a) the test’s number (b) the app’s name (c) what the app really does (d) what we hope for
  24. 24.👥 A clinic app has 80 patients, 100 doctors and 170 nurses as users. Which user group is the biggest? (a) doctors (b) patients (c) nurses
  25. 25.♿ Showing right or wrong only in red and green is a problem for ___. (a) colour-blind users (b) the battery (c) the server (d) fast typists
  26. 26.True or false: a water reminder is the best fit for a student who often misses the school bus. (a) False (b) True
  27. 27.⚙️ In an app, is sorting the scores an input, processing or an output? (a) processing (b) input (c) output
  28. 28.True or false: a water reminder is a game. (a) False (b) True
  29. 29.🔁 What number does this code show?
    let scores = [20, 20, 15, 10];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  30. 30.🌐 Which program do you need to open a website? (a) a calculator (b) a web browser (c) a camera app (d) an app store
  31. 31.True or false: a button with no action solves no real problem. (a) False (b) True
  32. 32.🔢 In a food-order flow, which comes first: “check the cart” or “open the menu”? (a) open the menu (b) check the cart
  33. 33.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 42; // start at 42
    line 2: score = score - 3; // take away 3
    line 3: score = score * 3; // double it
    line 4: score = score * 2; // double it
    line 5: show(score); // show it
  34. 34.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Well done, " + nameBox.text + "!";
    };
    (a) Well done! (b) Kabir (c) Well done, nameBox.text! (d) Well done, Kabir!
  35. 35.🔀 What does >= mean? (a) not equal (b) smaller or equal (c) greater than or equal (d) less than
  36. 36.♿ Does this help everyone, or make the app harder to use: labels on every icon? (a) helps everyone (b) makes it harder
  37. 37.🔍 Which is the odd one out? (a) typing your age (b) adding up a bill (c) working out a tip (d) sorting the scores
  38. 38.🧪 A test case is an input together with its ___. (a) expected result (b) app icon (c) screen colour (d) font size
  39. 39.💾 pop() takes off the last item. What does this code show?
    let notes = ["Hindi", "Sports", "Art", "Music", "Maths"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Art (b) Sports (c) Music (d) Hindi
  40. 40.🧩 In an app, what is a box to type a name? (a) an input (b) a screen (c) a button (d) data

Answer key

  1. shows the real fonts
  2. True
  3. the button colours
  4. Title
  5. how many taps it takes
  6. minimum
  7. the camera
  8. too much
  9. location
  10. 0
  11. input
  12. 17
  13. 1
  14. Ocean
  15. Hi, Arjun
  16. a permission
  17. 5.0.0
  18. the settings page
  19. write a caption
  20. True
  21. 1.14.3
  22. Use 4 digits
  23. what the app really does
  24. nurses
  25. colour-blind users
  26. False
  27. processing
  28. False
  29. 20
  30. a web browser
  31. True
  32. open the menu
  33. 156
  34. Well done, Kabir!
  35. greater than or equal
  36. helps everyone
  37. typing your age
  38. expected result
  39. Music
  40. an input

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