← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 296 · 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.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Friend list”
    2. tap Back
    3. open “Video”
    4. tap the Me tab
    5. open “Edit photo”
    Which screen are you on now?
    (a) Friend list (b) Lessons (c) Edit photo (d) Video
  2. 2.🔢 In a food-order flow, which comes LAST? (a) track the order (b) check the cart (c) pick a dish (d) add it to the cart
  3. 3.Which of these is true of a website? (a) opens in a web browser (b) is installed on a phone (c) comes from an app store (d) has a home-screen icon
  4. 4.🔁 What number does this code show?
    let marks = [14, 11, 15];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  5. 5.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 41; // start at 41
    line 2: coins = coins - 3; // take away 1
    line 3: coins = coins - 3; // take away 3
    line 4: show(coins); // show it
  6. 6.Which of these requests is fair? (a) calculator → location (b) quiz app → microphone (c) camera app → camera (d) torch → contacts
  7. 7.🔀 What does if / else let an app do? (a) repeat forever (b) pick one of two actions (c) save a photo (d) draw a screen
  8. 8.💡 Does an app idea like a free study-room finder solve a real problem? (a) No (b) Yes
  9. 9.True or false: a tiny 20 px button is poor button design. (a) True (b) False
  10. 10.🧩 Scores, notes and settings that an app keeps are called ___. (a) data (b) buttons (c) tabs (d) screens
  11. 11.🔘 Is this good or poor button design: a tiny 20 px button? (a) poor design (b) good design
  12. 12.🧩 In an app, what is the log-in page? (a) an input (b) a screen (c) a button (d) data
  13. 13.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [button] Next
    [text box] Email
    [button] Cancel
    [button] Start
  14. 14.🗂️ What kind of app is a step counter? (a) a game (b) a health app (c) a tool app (d) a learning app
  15. 15.🧩 In an app, what is a date picker? (a) an input (b) a button (c) data (d) a screen
  16. 16.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(500) → expected 40
    Test 2: delivery(600) → expected 0
    Test 3: delivery(700) → expected 0
    (a) Test 1 (b) Test 3 (c) Test 2
  17. 17.🔀 What does this sign-up rule show?
    let age = 16;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  18. 18.🔀 What does this sign-up rule show?
    let age = 15;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  19. 19.🔀 What does this battery rule show?
    let battery = 64;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  20. 20.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Help page”
    2. tap Back
    3. open “Edit photo”
    How many times must you tap Back to reach the main screen of this tab?
  21. 21.True or false: a homework photo scanner needs the camera. (a) False (b) True
  22. 22.🗒️ 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
  23. 23.👆 “On tap → do this” links an event to ___. (a) a font (b) a charger (c) a web address (d) an action
  24. 24.Which of these is about UX (the experience)? (a) how fast a task is done (b) the theme colours (c) the font size (d) the screen layout
  25. 25.🔀 In this course’s code, which sign tests “is equal to”? (a) !== (b) => (c) = (d) ===
  26. 26.🧩 How many buttons does this app screen have?
    [title] New Note
    [text box] Subject
    [text box] Due date
    [button] Cancel
  27. 27.🗒️ Version 1 of a quiz app must be ready in 13 days. How many days are left for extras after the must-haves?
    show a question: 2 days
    check the answer: 2 days
    show the score: 5 days
  28. 28.🧩 In an app, what is tap to Send? (a) an input (b) a button (c) a screen (d) data
  29. 29.True or false: tap to Send is a button. (a) True (b) False
  30. 30.Which of these is an input? (a) a box to type a name (b) your high score (c) your friends list (d) tap to Start
  31. 31.🔢 In a sign-up flow, which comes first: “type name and email” or “open the app”? (a) open the app (b) type name and email
  32. 32.Which of these requests asks for too much? (a) timer → your photos (b) calling app → contacts (c) map app → location (d) camera app → camera
  33. 33.🚀 What should an app ask for only when it really needs it? (a) its name (b) a permission (c) its icon (d) a font
  34. 34.👆 The user taps the button 3 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) ON (b) OFF
  35. 35.👆 What kind of event is this: the user presses Save? (a) a timer event (b) a load event (c) a text event (d) a tap event
  36. 36.True or false: a recipe finder is the best fit for a cook with no idea for dinner. (a) True (b) False
  37. 37.👥 A library app has 85 readers, 180 librarians and 100 volunteers as users. Which user group is the biggest? (a) librarians (b) volunteers (c) readers
  38. 38.True or false: how users feel after is about UX (the experience). (a) False (b) True
  39. 39.🗒️ In MVP, the M stands for ___. (a) mobile (b) music (c) minimum (d) maximum
  40. 40.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(25, 2));

Answer key

  1. Edit photo
  2. track the order
  3. opens in a web browser
  4. 15
  5. 35
  6. camera app → camera
  7. pick one of two actions
  8. Yes
  9. True
  10. data
  11. poor design
  12. a screen
  13. 1
  14. a health app
  15. an input
  16. Test 2
  17. Welcome!
  18. Welcome!
  19. Battery OK
  20. 1
  21. True
  22. see where the bus is
  23. an action
  24. how fast a task is done
  25. ===
  26. 1
  27. 4
  28. a button
  29. True
  30. a box to type a name
  31. open the app
  32. timer → your photos
  33. a permission
  34. ON
  35. a tap event
  36. True
  37. librarians
  38. True
  39. minimum
  40. 50

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