← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 692 · 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.🧩 What does a button do when you tap it? (a) changes the phone (b) starts an action (c) saves the battery (d) shows the time
  2. 2.🔍 Which is the odd one out? (a) how fast a task is done (b) the theme colours (c) whether users get lost (d) how users feel after
  3. 3.🧪 A test case is an input together with its ___. (a) screen colour (b) font size (c) app icon (d) expected result
  4. 4.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
  5. 5.⚙️ What number does this app show?
    let price = 370; // typed by the user
    let off = 10; // typed by the user
    let pay = price - off;
    show(pay);
  6. 6.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a homework planner (b) a recipe finder (c) a water reminder (d) a pocket-money tracker
  7. 7.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [switch] Show hints
    [button] Back
    [text box] Email
    [text box] Age
    [button] Save
    [slider] Volume
    [button] Cancel
    (a) Show hints (b) Age (c) Save (d) Email
  8. 8.True or false: the log-in page is an input. (a) True (b) False
  9. 9.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 41; // start at 41
    line 2: score = score + 7; // add 6
    line 3: score = score - 2; // take away 2
    line 4: show(score); // show it
  10. 10.📱 Where do people usually download phone apps from? (a) a printer (b) a web server (c) an app store (d) a charger
  11. 11.🗒️ Why keep version 1 small? (a) to confuse users (b) to look bigger (c) to use up storage (d) to learn from users soon
  12. 12.👥 A cricket club app has 200 players, 255 coaches and 295 fans as users. Which user group is the biggest? (a) fans (b) players (c) coaches
  13. 13.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 31; // start at 31
    line 2: lives = lives - 1; // take away 1
    line 3: lives = lives + 2; // double it
    line 4: lives = lives - 3; // take away 3
    line 5: show(lives); // show it
  14. 14.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) makes it harder (b) helps everyone
  15. 15.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) set a due date (b) pick a theme colour (c) share tasks to friends (d) earn stickers
  16. 16.🔀 What does this PIN rule show?
    let pin = "10298";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  17. 17.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(12) + fee(9));
  18. 18.🧰 Why write a function? (a) to hide errors (b) to reuse code (c) to make code longer (d) to slow the app
  19. 19.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 30; // start at 30
    line 2: score = score - 1; // take away 1
    line 3: score = score - 4; // add 4
    line 4: show(score); // show it
  20. 20.🚀 Which of these versions is the NEWEST?
    2.10.0, 1.20.0, 2.5.4, 2.4.6
    (a) 1.20.0 (b) 2.4.6 (c) 2.5.4 (d) 2.10.0
  21. 21.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Start button: 44 px tall
    Next button: 64 px tall
    Done button: 48 px tall
  22. 22.💾 What number does this code show?
    let notes = ["Hindi", "Sports", "Science"];
    notes.push("Art");
    notes.push("Music");
    show(notes.length);
  23. 23.Which of these is a screen? (a) a switch for dark mode (b) tap to Send (c) the game-over page (d) a date picker
  24. 24.🔢 When you make an app, which comes LAST? (a) plan the screens (b) build the app (c) test the app (d) release it
  25. 25.🔀 What does this PIN rule show?
    let pin = "25669";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  26. 26.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) old cases (b) phone cases (c) edge cases (d) easy cases
  27. 27.🎯 What is the best first step to learn what users need? (a) guess on your own (b) write the code (c) pick the colours (d) ask and watch users
  28. 28.🧩 How many buttons does this app screen have?
    [title] Settings
    [text box] City
    [slider] Brightness
    [text box] Name
    [text box] Age
    [button] Back
    [switch] Show hints
    [button] Start
    [button] Send
  29. 29.🧰 In function tip(bill), what is bill? (a) a parameter (b) a loop (c) an event (d) a screen
  30. 30.🔍 Which is the odd one out? (a) speaking a command (b) taking a photo (c) typing your age (d) a result on screen
  31. 31.🔁 What number does this code show?
    let runs = [12, 76, 35, 34];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  32. 32.🔀 Which badge does this quiz app show?
    let marks = 98;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Silver (c) Bronze
  33. 33.🔁 What number does this code show?
    let runs = [15, 18, 11, 5];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  34. 34.Which of these is true of a tab bar? (a) shows 3 to 5 icons (b) undoes one move (c) hides extra links (d) opens a list of pages
  35. 35.👥 A library app has 35 readers, 20 librarians and 90 volunteers as users. How many users does it have in all?
  36. 36.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) a dark mode (c) see where the bus is (d) change the bus icon
  37. 37.True or false: a wireframe looks like the real app. (a) True (b) False
  38. 38.🔘 Is this good or poor button design: space between buttons? (a) good design (b) poor design
  39. 39.🔁 What does a loop do? (a) saves photos (b) deletes code (c) repeats code (d) draws icons
  40. 40.🗒️ Version 1 of a homework planner must be ready in 13 days. How many days are left for extras after the must-haves?
    add a homework task: 2 days
    set a due date: 2 days
    see tasks by day: 4 days

Answer key

  1. starts an action
  2. the theme colours
  3. expected result
  4. an app
  5. 360
  6. a pocket-money tracker
  7. Save
  8. False
  9. 46
  10. an app store
  11. to learn from users soon
  12. fans
  13. 29
  14. helps everyone
  15. set a due date
  16. Use 4 digits
  17. 120
  18. to reuse code
  19. 33
  20. 2.10.0
  21. 2
  22. 5
  23. the game-over page
  24. release it
  25. Use 4 digits
  26. edge cases
  27. ask and watch users
  28. 3
  29. a parameter
  30. a result on screen
  31. 1
  32. Gold
  33. 18
  34. shows 3 to 5 icons
  35. 145
  36. see where the bus is
  37. False
  38. good design
  39. repeats code
  40. 5

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