← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 285 · 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 can hold many values in order? (a) a list (b) a button (c) a switch (d) a single number
  2. 2.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) change the bus icon (c) show arrival time (d) a dark mode
  3. 3.True or false: a final design shows where things go. (a) False (b) True
  4. 4.🧪 A test fails when ___. (a) the font is big (b) actual is not expected (c) the app is new (d) both are the same
  5. 5.🔀 What is a user flow? (a) a charging cable (b) a type of font (c) a colour theme (d) the path through screens
  6. 6.🧩 In an app, what is the home page of an app? (a) an input (b) a screen (c) data (d) a button
  7. 7.👆 The user taps the button 5 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) OFF (b) ON
  8. 8.♿ Does this help everyone, or make the app harder to use: labels on every icon? (a) makes it harder (b) helps everyone
  9. 9.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Kabir", "Arjun", "Meera", "Aman"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Kabir (c) Hi, Arjun (d) Hi, Aman
  10. 10.♿ Why add captions to videos? (a) so anyone can follow (b) to slow them down (c) to add colour (d) to hide the sound
  11. 11.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Send button: 36 px tall
    Back button: 44 px tall
    Start button: 52 px tall
  12. 12.🗒️ Version 1 of a water reminder must be ready in 12 days. How many days are left for extras after the must-haves?
    set a reminder time: 2 days
    log a glass of water: 2 days
    see today’s total: 4 days
  13. 13.💡 How can you check that people really have the problem? (a) pick a colour (b) copy another app (c) just guess (d) ask possible users
  14. 14.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 8 or more right answers.
    function result(right) {
      if (right > 8) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(9) → expected Pass
    Test 2: result(6) → expected Try again
    Test 3: result(8) → expected Pass
  15. 15.⚙️ In an app, is working out a tip an input, processing or an output? (a) output (b) processing (c) input
  16. 16.🧪 What is the ACTUAL result of Test 2?
    🚚 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(900) → expected 0
    Test 2: delivery(850) → expected 0
    Test 3: delivery(500) → expected 40
  17. 17.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(50, 6));
  18. 18.🔐 Which permission does a homework photo scanner really need? (a) the microphone (b) the camera (c) contacts (d) location
  19. 19.🧩 In an app, what is tap to Save? (a) a button (b) a screen (c) an input (d) data
  20. 20.💡 A good app idea starts with ___. (a) a long name (b) a cool logo (c) a problem to solve (d) many colours
  21. 21.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] New Note
    [switch] Show hints
    [button] Start
    [text box] Due date
    [text box] Email
    [button] Send
  22. 22.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Arjun"));
    (a) Hello, name! (b) greet (c) Arjun (d) Hello, Arjun!
  23. 23.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Item → Shop → Pens
    Design B: Home → Size → Results → Search → Pens → Cart
    (a) Design B (b) Design A
  24. 24.Which of these is true of the back button? (a) switches main sections (b) sits at the bottom (c) undoes one move (d) opens a list of pages
  25. 25.✏️ What is a wireframe? (a) a charging cable (b) a type of password (c) a simple screen sketch (d) the finished app
  26. 26.🎯 Is this a user need or a feature: a share button? (a) a user need (b) a feature
  27. 27.🔐 A torch app asks for your contacts. What should you do? (a) allow it (b) post them online (c) share them all (d) deny it
  28. 28.🔀 With if / else if / else, how many parts run? (a) only one (b) all of them (c) none (d) two
  29. 29.🚀 Your app is at version 4.5.9. The next release fixes a small bug. What is its version number? (a) 5.0.0 (b) 4.6.9 (c) 4.6.0 (d) 4.5.10
  30. 30.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 38; // start at 38
    line 2: coins = coins - 5; // add 5
    line 3: coins = coins * 2; // double it
    line 4: show(coins); // show it
  31. 31.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “forgetting birthdays”?
    forgetting birthdays: 10 votes
    forgetting homework: 17 votes
    missing the bus: 22 votes
  32. 32.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Riya", "Kabir", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Riya (c) Hi, Meera (d) Hi, Arjun
  33. 33.🔀 What does this battery rule show?
    let battery = 96;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  34. 34.🔢 After an app is released, what comes right after “fix and improve”? (a) release an update (b) list what to fix (c) test it again (d) read user reviews
  35. 35.🚀 Which of these versions is the OLDEST?
    4.3.6, 4.18.4, 4.6.3, 3.23.3
    (a) 3.23.3 (b) 4.3.6 (c) 4.6.3 (d) 4.18.4
  36. 36.⚙️ What number does this app show?
    let bill = 72; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  37. 37.Which of these is about UI (the look)? (a) how easy sign-up is (b) the screen layout (c) how fast a task is done (d) how many taps it takes
  38. 38.🔁 What number does this code show?
    let runs = [8, 4, 14];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  39. 39.🎨 Is this about UI or UX: how users feel after? (a) UX (b) UI
  40. 40.🔢 When you make an app, which comes LAST? (a) get an idea (b) build the app (c) plan the screens (d) release it

Answer key

  1. a list
  2. show arrival time
  3. False
  4. actual is not expected
  5. the path through screens
  6. a screen
  7. ON
  8. helps everyone
  9. Hi, Aman
  10. so anyone can follow
  11. 1
  12. 4
  13. ask possible users
  14. 2
  15. processing
  16. 0
  17. 300
  18. the camera
  19. a button
  20. a problem to solve
  21. 3
  22. Hello, Arjun!
  23. Design A
  24. undoes one move
  25. a simple screen sketch
  26. a feature
  27. deny it
  28. only one
  29. 4.5.10
  30. 86
  31. 7
  32. Hi, Meera
  33. Battery OK
  34. test it again
  35. 3.23.3
  36. 36
  37. the screen layout
  38. 26
  39. UX
  40. release it

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