← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 922 · 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 is the odd one out? (a) fast-flashing lights (b) icons with no labels (c) text that can grow (d) sudden loud sounds
  2. 2.♿ A screen has 5 icon buttons. Only 3 of them have a text label for screen readers. How many still need a label?
  3. 3.🚀 Which version is newer: 3.2.4 or 3.2.17? (a) 3.2.4 (b) 3.2.17
  4. 4.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(1000) → expected 0
    Test 2: delivery(700) → expected 40
    Test 3: delivery(800) → expected 0
  5. 5.👆 The user taps the button 5 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  6. 6.🔢 In a quiz-app flow, which comes LAST? (a) read a question (b) see if it is right (c) see the final score (d) tap “Start quiz”
  7. 7.🔀 What does this battery rule show?
    let battery = 88;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  8. 8.Which of these is an output? (a) working out a tip (b) checking a password (c) a result on screen (d) speaking a command
  9. 9.🚀 Which version is newer: 1.4.1 or 1.11.2? (a) 1.4.1 (b) 1.11.2
  10. 10.🗒️ Version 1 of a water reminder must be ready in 11 days. How many days are left for extras after the must-haves?
    set a reminder time: 3 days
    log a glass of water: 1 days
    see today’s total: 2 days
  11. 11.🚀 Your app is at version 1.7.7. The next release adds a new feature. What is its version number? (a) 1.7.8 (b) 2.0.0 (c) 1.8.7 (d) 1.8.0
  12. 12.👆 The user types Arjun in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hi, " + nameBox.text + "!";
    };
    (a) Arjun (b) Hi, Arjun! (c) Hi, nameBox.text! (d) Hi!
  13. 13.🗒️ What is a must-have feature? (a) a colour theme (b) a nice extra (c) one the app cannot skip (d) a sound effect
  14. 14.🔍 Which is the odd one out? (a) list what users need (b) sketch the screens (c) spot a problem to solve (d) talk to possible users
  15. 15.True or false: you sketch the screens at the plan stage. (a) False (b) True
  16. 16.Which of these is a screen? (a) today’s step count (b) a slider for volume (c) the log-in page (d) a date picker
  17. 17.💾 What number does this code show?
    let coins = 5;
    coins = coins - 1;
    coins = coins + 5;
    show(coins);
  18. 18.🧪 A test case is an input together with its ___. (a) font size (b) screen colour (c) expected result (d) app icon
  19. 19.Which of these is an output? (a) a buzz (vibration) (b) adding up a bill (c) tapping a button (d) typing your age
  20. 20.🗂️ What kind of app is a calculator? (a) a tool app (b) a game (c) a health app (d) a learning app
  21. 21.🧰 Why write a function? (a) to make code longer (b) to hide errors (c) to reuse code (d) to slow the app
  22. 22.Which of these is a feature? (a) a dark mode switch (b) “What should I cook?” (c) “Small text is hard” (d) “I forget my homework”
  23. 23.🗒️ Version 1 of a water reminder must be ready in 11 days. How many days are left for extras after the must-haves?
    set a reminder time: 2 days
    log a glass of water: 1 days
    see today’s total: 2 days
  24. 24.💡 A good app idea starts with ___. (a) a long name (b) many colours (c) a problem to solve (d) a cool logo
  25. 25.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(12));
  26. 26.Which of these is a feature? (a) a reminder alarm (b) “I forget my homework” (c) “I keep missing the bus” (d) “What should I cook?”
  27. 27.🔀 Which badge does this quiz app show?
    let marks = 28;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  28. 28.💾 What is a variable? (a) a picture (b) a type of screen (c) a phone setting (d) a named box for a value
  29. 29.📲 What happens when you tap an app’s icon? (a) the app is deleted (b) the phone charges (c) the sound turns off (d) the app opens
  30. 30.🔢 In a sign-up flow, what comes right after “tap “Sign up””? (a) see the home screen (b) enter the code sent (c) type name and email (d) make a password
  31. 31.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 248; // typed by the user
    line 2: let friends = 4; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 4 (b) line 2 (c) line 1 (d) line 3
  32. 32.🔐 Is this permission request fair or too much: timer → your photos? (a) too much (b) fair
  33. 33.🔢 After an app is released, which comes FIRST? (a) read user reviews (b) list what to fix (c) release an update (d) fix and improve
  34. 34.🔘 Our rule: buttons are at least 48 px tall. The Back button is 20 px tall. How many px taller must it be?
  35. 35.🔁 What number does this code show?
    let marks = [8, 4, 1];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  36. 36.🔀 What does this battery rule show?
    let battery = 27;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  37. 37.🗒️ Version 1 of a bus tracker must be ready in 12 days. How many days are left for extras after the must-haves?
    see where the bus is: 2 days
    show arrival time: 4 days
    pick your bus stop: 4 days
  38. 38.True or false: “sudden loud sounds” makes the app harder to use. (a) False (b) True
  39. 39.💡 Which app idea solves this problem: the library is always full? (a) a bill splitter (b) a study-room finder (c) a lost-and-found board (d) a medicine reminder
  40. 40.True or false: grey text on grey is good button design. (a) False (b) True

Answer key

  1. text that can grow
  2. 2
  3. 3.2.17
  4. 2
  5. 4
  6. see the final score
  7. Battery OK
  8. a result on screen
  9. 1.11.2
  10. 5
  11. 1.8.0
  12. Hi, Arjun!
  13. one the app cannot skip
  14. sketch the screens
  15. True
  16. the log-in page
  17. 9
  18. expected result
  19. a buzz (vibration)
  20. a tool app
  21. to reuse code
  22. a dark mode switch
  23. 6
  24. a problem to solve
  25. 24
  26. a reminder alarm
  27. Bronze
  28. a named box for a value
  29. the app opens
  30. type name and email
  31. line 3
  32. too much
  33. read user reviews
  34. 28
  35. 13
  36. Battery OK
  37. 2
  38. True
  39. a study-room finder
  40. False

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