← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 605 · 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.🎨 Is this about UI or UX: how easy sign-up is? (a) UX (b) UI
  2. 2.🔍 Which is the odd one out? (a) a unit converter (b) a times-table quiz (c) a torch (d) a calculator
  3. 3.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) pick a theme colour (c) set a due date (d) see tasks by day
  4. 4.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) show arrival time (c) change the bus icon (d) rate the driver
  5. 5.👆 The user taps the button 4 times. What number does the label show now?
    let score = 5;
    button.onTap = function () {
      score = score + 1;
      label.text = score;
    };
  6. 6.True or false: a step counter is a learning app. (a) True (b) False
  7. 7.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 50; // start at 49
    line 2: lives = lives * 2; // double it
    line 3: lives = lives - 1; // take away 1
    line 4: lives = lives - 1; // take away 1
    line 5: show(lives); // show it
  8. 8.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Hint: 14 px
    Menu: 17 px
    Body text: 21 px
    Title: 17 px
  9. 9.🔢 In a sign-up flow, which comes LAST? (a) type name and email (b) enter the code sent (c) see the home screen (d) open the app
  10. 10.🔢 When you make an app, which comes first: “test the app” or “get an idea”? (a) get an idea (b) test the app
  11. 11.🔍 Which is the odd one out? (a) share the download link (b) talk to possible users (c) spot a problem to solve (d) list what users need
  12. 12.True or false: a calculator is a game. (a) True (b) False
  13. 13.🎨 UX stands for user ___. (a) extra (b) express (c) example (d) experience
  14. 14.💡 After a survey, which need should version 1 solve? (a) the newest trend (b) a random need (c) the rarest need (d) the most common need
  15. 15.🧩 What does a button do when you tap it? (a) starts an action (b) saves the battery (c) shows the time (d) changes the phone
  16. 16.True or false: a big, easy tap area is poor button design. (a) False (b) True
  17. 17.🛠️ At which stage do you talk to possible users? (a) the plan stage (b) the release stage (c) the build stage (d) the idea stage
  18. 18.👆 The user types Meera 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, Meera! (b) Well done, nameBox.text! (c) Meera (d) Well done!
  19. 19.🛠️ At which stage do you pick the features? (a) the release stage (b) the test stage (c) the build stage (d) the plan stage
  20. 20.🐞 A comment in code (after //) is for ___. (a) the phone screen (b) the app store (c) the battery (d) people reading the code
  21. 21.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Zoya", "Meera", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Riya (c) Hi, Aman (d) Hi, Meera
  22. 22.🧪 How many of these test cases pass?
    📝 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(9) → expected Pass
    Test 2: result(7) → expected Pass
    Test 3: result(5) → expected Try again
  23. 23.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) dead end (c) tab bar (d) home screen
  24. 24.👆 “On tap → do this” links an event to ___. (a) a charger (b) a web address (c) a font (d) an action
  25. 25.🔍 Which is the odd one out? (a) adding up a bill (b) a buzz (vibration) (c) a beep sound (d) a pop-up message
  26. 26.🔀 What does if / else let an app do? (a) pick one of two actions (b) repeat forever (c) save a photo (d) draw a screen
  27. 27.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) custom alert sounds (b) share your streak (c) water animations (d) set a reminder time
  28. 28.🔀 What does this sign-up rule show?
    let age = 11;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  29. 29.Which of these is an output? (a) working out a tip (b) checking a password (c) typing your age (d) a result on screen
  30. 30.🔁 What number does this code show?
    let marks = [14, 3, 16, 4];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  31. 31.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Pens → Results → Cart → Size → Pay → Search
    Design B: Home → Menu → Pay
  32. 32.🎯 Is this a user need or a feature: “Small text is hard”? (a) a user need (b) a feature
  33. 33.True or false: a recipe finder is the best fit for a grandparent with weak eyesight. (a) True (b) False
  34. 34.🔍 Which is the odd one out? (a) a water reminder (b) a sleep tracker (c) a word battle (d) a step counter
  35. 35.🔁 What number does this code show?
    let steps = [4, 9, 1, 1, 2];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  36. 36.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Map”
    2. tap the Quiz tab
    3. tap the Me tab
    4. open “Edit photo”
    Which screen are you on now?
    (a) Quiz (b) Map (c) Edit photo (d) Lessons
  37. 37.🔢 In a photo-post flow, which comes first: “take the photo” or “open the camera screen”? (a) take the photo (b) open the camera screen
  38. 38.🔀 What does this PIN rule show?
    let pin = "15098";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  39. 39.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age < 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 100
    Test 2: price(11) → expected 100
    Test 3: price(6) → expected 50
  40. 40.🐞 What is a bug? (a) a nice icon (b) a new feature (c) a mistake in the code (d) a fast phone

Answer key

  1. UX
  2. a times-table quiz
  3. pick a theme colour
  4. show arrival time
  5. 9
  6. False
  7. 98
  8. 1
  9. see the home screen
  10. get an idea
  11. share the download link
  12. False
  13. experience
  14. the most common need
  15. starts an action
  16. False
  17. the idea stage
  18. Well done, Meera!
  19. the plan stage
  20. people reading the code
  21. Hi, Riya
  22. 2
  23. dead end
  24. an action
  25. adding up a bill
  26. pick one of two actions
  27. set a reminder time
  28. Ask a parent
  29. a result on screen
  30. 16
  31. 6
  32. a user need
  33. False
  34. a word battle
  35. 17
  36. Edit photo
  37. open the camera screen
  38. Use 4 digits
  39. 3
  40. a mistake in the code

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