← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 884 · 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.🐞 A comment in code (after //) is for ___. (a) the phone screen (b) people reading the code (c) the battery (d) the app store
  2. 2.🔀 A screen with no way forward or back is called a ___. (a) home screen (b) tab bar (c) shortcut (d) dead end
  3. 3.✏️ Is this true of a wireframe or of a final design: has the real colours? (a) a wireframe (b) a final design
  4. 4.🔍 Which is the odd one out? (a) tiny tap areas (b) strong colour contrast (c) big touch targets (d) captions on videos
  5. 5.👥 A cricket club app has 105 players, 180 coaches and 270 fans as users. How many users does it have in all?
  6. 6.Which of these is true of an app? (a) opens from a link (b) needs no installing (c) opens in a web browser (d) has a home-screen icon
  7. 7.Which of these requests is fair? (a) quiz app → microphone (b) timer → your photos (c) voice notes → microphone (d) torch → contacts
  8. 8.🔁 What number does this code show?
    let runs = [1, 1, 20];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  9. 9.Which of these happens at the idea stage? (a) add the buttons (b) talk to possible users (c) write down the bugs (d) sketch the screens
  10. 10.Which of these app ideas solves a real problem? (a) a lost-and-found board (b) a page of random dots (c) a blank grey screen (d) an app that just says hi
  11. 11.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 51; // start at 49
    line 2: score = score + 6; // add 6
    line 3: score = score * 2; // double it
    line 4: show(score); // show it
  12. 12.Which of these is a user need? (a) a dark mode switch (b) a reminder alarm (c) a search bar (d) “I keep missing the bus”
  13. 13.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Item → Search → Pens → Size
    Design B: Home → Shop → Cart → Results
  14. 14.Which of these is a screen? (a) the log-in page (b) a box to type a name (c) your high score (d) tap to Start
  15. 15.True or false: a selfie sticker app needs your location. (a) True (b) False
  16. 16.💡 Which is a problem statement? (a) “Use blue buttons” (b) “Kids forget homework” (c) “Make it fast” (d) “Add a logo”
  17. 17.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(300) → expected 40
    Test 2: delivery(750) → expected 0
    Test 3: delivery(700) → expected 0
  18. 18.🚀 Your app is at version 4.1.8. The next release adds a new feature. What is its version number? (a) 5.0.0 (b) 4.2.0 (c) 4.1.9 (d) 4.2.8
  19. 19.Which of these is true of the back button? (a) opens a list of pages (b) sits at the bottom (c) goes to the last screen (d) shows 3 to 5 icons
  20. 20.🌗 Is black on pale grey easy or hard to read on a button? (a) hard to read (b) easy to read
  21. 21.🔁 What number does this code show?
    let marks = [18, 13, 7];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  22. 22.🧩 Which of these is a button on this screen?
    [title] Settings
    [text box] Name
    [button] Back
    [switch] Sound
    (a) Name (b) Sound (c) Back
  23. 23.🧩 In an app, what is the home page of an app? (a) a screen (b) a button (c) an input (d) data
  24. 24.🛠️ At which stage do you sketch the screens? (a) the release stage (b) the plan stage (c) the test stage (d) the idea stage
  25. 25.🔀 Which badge does this quiz app show?
    let marks = 25;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Gold (c) Bronze
  26. 26.Which of these is true of a wireframe? (a) uses the final pictures (b) has the real colours (c) is a quick sketch (d) looks like the real app
  27. 27.Which of these is true of a menu button? (a) sits at the bottom (b) shows 3 to 5 icons (c) hides extra links (d) goes to the last screen
  28. 28.🔀 What does this PIN rule show?
    let pin = "166";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  29. 29.Which colour pair is hard to read? (a) white on black (b) dark blue on white (c) dark blue on black (d) black on yellow
  30. 30.🔀 Which badge does this quiz app show?
    let marks = 58;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  31. 31.⚙️ What number does this app show?
    let bill = 155; // typed by the user
    let friends = 5; // typed by the user
    let share = bill / friends;
    show(share);
  32. 32.🧪 What is the ACTUAL result of Test 1?
    🚚 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(950) → expected 0
    Test 3: delivery(600) → expected 40
  33. 33.👆 The user taps the button 4 times. What number does the label show now?
    let coins = 1;
    button.onTap = function () {
      coins = coins + 5;
      label.text = coins;
    };
  34. 34.🔢 In a photo-post flow, which comes first: “take the photo” or “post the photo”? (a) post the photo (b) take the photo
  35. 35.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(750) → expected 0
    Test 2: delivery(850) → expected 0
    Test 3: delivery(350) → expected 40
  36. 36.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) on the phone (b) in the cloud
  37. 37.🔢 When you make an app, what comes right after “build the app”? (a) release it (b) plan the screens (c) test the app (d) get an idea
  38. 38.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new app (b) a new feature (c) a big redesign (d) a bug fix
  39. 39.💾 Where should the app save your last game level: on the phone or in the cloud? (a) in the cloud (b) on the phone
  40. 40.True or false: how users feel after is about UX (the experience). (a) False (b) True

Answer key

  1. people reading the code
  2. dead end
  3. a final design
  4. tiny tap areas
  5. 555
  6. has a home-screen icon
  7. voice notes → microphone
  8. 20
  9. talk to possible users
  10. a lost-and-found board
  11. 110
  12. “I keep missing the bus”
  13. 1
  14. the log-in page
  15. False
  16. “Kids forget homework”
  17. 3
  18. 4.2.0
  19. goes to the last screen
  20. easy to read
  21. 18
  22. Back
  23. a screen
  24. the plan stage
  25. Bronze
  26. is a quick sketch
  27. hides extra links
  28. Use 4 digits
  29. dark blue on black
  30. Silver
  31. 31
  32. 0
  33. 21
  34. take the photo
  35. 40
  36. in the cloud
  37. test the app
  38. a bug fix
  39. on the phone
  40. True

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