← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 492 · 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.True or false: the user taps Play is a load event. (a) True (b) False
  2. 2.♿ A screen has 11 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
  3. 3.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting homework: 21 votes
    no quiet study place: 13 votes
    missing the bus: 14 votes
  4. 4.💾 What does this code show? (Positions start at 0.)
    let notes = ["Art", "Hindi", "Music", "Science"];
    show(notes[2]);
    (a) Art (b) Science (c) Music (d) Hindi
  5. 5.True or false: a water reminder is a game. (a) False (b) True
  6. 6.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Well done, " + nameBox.text + "!";
    };
    (a) Riya (b) Well done, Riya! (c) Well done! (d) Well done, nameBox.text!
  7. 7.🔍 Which is the odd one out? (a) speaking a command (b) taking a photo (c) checking a password (d) typing your age
  8. 8.🛠️ At which stage do you write down the bugs? (a) the test stage (b) the plan stage (c) the build stage (d) the release stage
  9. 9.💾 Data saved only on the phone is lost when ___. (a) you send a message (b) the screen turns off (c) the app is closed (d) the phone is lost
  10. 10.Which of these is true of a website? (a) comes from an app store (b) has a home-screen icon (c) has a web address (d) is installed on a phone
  11. 11.🎯 A short made-up profile of a typical user is called a ___. (a) persona (b) password (c) pixel (d) protocol
  12. 12.🚀 In version 2.5.1, which number is the major version? (a) 2 (b) 251 (c) 5 (d) 1
  13. 13.👥 A clinic app has 240 patients, 270 doctors and 265 nurses as users. Which user group is the biggest? (a) nurses (b) doctors (c) patients
  14. 14.👥 A cricket club app has 155 players, 65 coaches and 275 fans as users. How many users does it have in all?
  15. 15.🎨 Is this about UI or UX: the button colours? (a) UX (b) UI
  16. 16.Which of these is a feature? (a) “I keep missing the bus” (b) “I forget my homework” (c) a search bar (d) “Small text is hard”
  17. 17.🔁 What number does this code show?
    let runs = [1, 15, 3, 2, 5];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  18. 18.⚙️ What number does this app show?
    let price = 75; // typed by the user
    let qty = 3; // typed by the user
    let total = price * qty;
    show(total);
  19. 19.Which colour pair is hard to read? (a) dark blue on white (b) black on pale grey (c) red on green (d) white on dark green
  20. 20.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. tap the Search tab
    3. open “Edit photo”
    4. tap the Profile tab
    How many times must you tap Back to reach the main screen of this tab?
  21. 21.True or false: a button with no action solves no real problem. (a) True (b) False
  22. 22.🧪 A test case is an input together with its ___. (a) app icon (b) expected result (c) screen colour (d) font size
  23. 23.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 32; // start at 32
    line 2: score = score + 6; // add 6
    line 3: score = score - 4; // add 4
    line 4: show(score); // show it
    (a) line 3 (b) line 1 (c) line 2
  24. 24.👆 “On tap → do this” links an event to ___. (a) an action (b) a charger (c) a web address (d) a font
  25. 25.♿ A screen has 12 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
  26. 26.🧰 What is a function? (a) a screen size (b) a list of colours (c) a type of phone (d) a named block of code
  27. 27.🔁 What number does this code show?
    let marks = [4, 4, 1, 1];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  28. 28.👆 The user taps the button 3 times. What number does the label show now?
    let score = 8;
    button.onTap = function () {
      score = score + 2;
      label.text = score;
    };
  29. 29.🔢 In a food-order flow, which comes first: “add it to the cart” or “pick a dish”? (a) pick a dish (b) add it to the cart
  30. 30.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Sign Up
    [text box] Email
    [text box] Name
    [text box] City
    [button] Next
  31. 31.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Send button: 56 px tall
    Back button: 44 px tall
    Cancel button: 32 px tall
    Save button: 40 px tall
  32. 32.🎯 Who are the users of an app? (a) only the coders (b) the people who use it (c) the app icons (d) only the testers
  33. 33.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 5 or more right answers.
    function result(right) {
      if (right >= 5) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(5) → expected Pass
    Test 2: result(6) → expected Pass
    Test 3: result(2) → expected Try again
  34. 34.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Cancel button: 48 px tall
    Save button: 32 px tall
    Send button: 60 px tall
    (a) Save (b) Send (c) Cancel
  35. 35.True or false: how fast a task is done is about UX (the experience). (a) False (b) True
  36. 36.🧭 Which part of navigation hides extra links? (a) a tab bar (b) the back button (c) a menu button
  37. 37.🧩 In an app, what is a switch for dark mode? (a) a screen (b) an input (c) a button (d) data
  38. 38.🚀 A privacy policy tells users ___. (a) the app’s price (b) the app’s colours (c) the screen size (d) what data is collected
  39. 39.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 9 votes
    forgetting homework: 19 votes
    forgetting birthdays: 14 votes
  40. 40.🔢 In a quiz-app flow, what comes right after “tap “Start quiz””? (a) pick an answer (b) see if it is right (c) see the final score (d) read a question

Answer key

  1. False
  2. 9
  3. 48
  4. Music
  5. False
  6. Well done, Riya!
  7. checking a password
  8. the test stage
  9. the phone is lost
  10. has a web address
  11. persona
  12. 2
  13. doctors
  14. 495
  15. UI
  16. a search bar
  17. 15
  18. 225
  19. red on green
  20. 0
  21. True
  22. expected result
  23. line 3
  24. an action
  25. 11
  26. a named block of code
  27. 4
  28. 14
  29. pick a dish
  30. 3
  31. 1
  32. the people who use it
  33. 3
  34. Save
  35. True
  36. a menu button
  37. an input
  38. what data is collected
  39. 42
  40. read a question

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