← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 704 · 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.💡 An app that tries to do everything at once is usually ___. (a) easy to build (b) finished fast (c) very small (d) hard to use
  2. 2.🌗 Is black on yellow easy or hard to read on a button? (a) easy to read (b) hard to read
  3. 3.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(90, 4));
  4. 4.🔢 In a photo-post flow, which comes first: “take the photo” or “add a filter”? (a) take the photo (b) add a filter
  5. 5.🧪 What is the ACTUAL result of Test 2?
    🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 700) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(700) → expected 0
    Test 2: delivery(1000) → expected 0
    Test 3: delivery(500) → expected 40
  6. 6.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) missing a must-have (c) well planned (d) ready to release
  7. 7.🎯 Which app would help this user most: a grandparent with weak eyesight? (a) a homework planner (b) a big-text reader (c) a pocket-money tracker (d) a recipe finder
  8. 8.⚙️ What number does this app show?
    let km = 7; // typed by the user
    let metres = km * 1000;
    show(metres);
  9. 9.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 37; // start at 37
    line 2: stars = stars - 4; // take away 4
    line 3: stars = stars * 3; // double it
    line 4: show(stars); // show it
  10. 10.✏️ Is this true of a wireframe or of a final design: has the real colours? (a) a final design (b) a wireframe
  11. 11.🔁 What number does this code show?
    let runs = [7, 12, 14, 9, 10];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  12. 12.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 10; // typed by the user
    line 2: let qty = 6; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 2 (b) line 3 (c) line 4 (d) line 1
  13. 13.🔍 Which is the odd one out? (a) working out a tip (b) typing your age (c) checking a password (d) sorting the scores
  14. 14.💾 What number does this code show?
    let songs = ["Rain", "Monsoon", "Sunrise"];
    songs.push("Kites");
    show(songs.length);
  15. 15.🔢 When you make an app, what comes right after “build the app”? (a) plan the screens (b) test the app (c) get an idea (d) release it
  16. 16.🔍 Which is the odd one out? (a) a spelling coach (b) a times-table quiz (c) a water reminder (d) a flashcard trainer
  17. 17.🔀 What does if / else let an app do? (a) repeat forever (b) save a photo (c) draw a screen (d) pick one of two actions
  18. 18.Which of these happens at the plan stage? (a) put it on an app store (b) list what users need (c) sketch the screens (d) connect the data
  19. 19.🔀 What does this sign-up rule show?
    let age = 10;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  20. 20.True or false: you write down the bugs at the release stage. (a) True (b) False
  21. 21.True or false: a class leaderboard fits saving on the phone. (a) False (b) True
  22. 22.💾 What number does this code show?
    let friends = ["Arjun", "Aman"];
    friends.push("Zoya");
    friends.push("Kabir");
    show(friends.length);
  23. 23.🧭 Why should every screen show where you are? (a) to look busy (b) so users do not get lost (c) to use more battery (d) to hide the menu
  24. 24.🔐 Is this permission request fair or too much: map app → location? (a) too much (b) fair
  25. 25.👆 What kind of event is this: the user taps Play? (a) a timer event (b) a text event (c) a load event (d) a tap event
  26. 26.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Search → Address → Cart
    Design B: Home → Menu → Pens
  27. 27.🔀 What is a user flow? (a) the path through screens (b) a charging cable (c) a colour theme (d) a type of font
  28. 28.🔁 What number does this code show?
    let runs = [16, 13, 12];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  29. 29.True or false: “captions on videos” helps everyone use the app. (a) True (b) False
  30. 30.👆 What kind of event is this: a countdown hits zero? (a) a load event (b) a text event (c) a timer event (d) a tap event
  31. 31.⚙️ What number does this app show?
    let km = 14; // typed by the user
    let metres = km * 1000;
    show(metres);
  32. 32.💡 Which is a problem statement? (a) “Make it fast” (b) “Use blue buttons” (c) “Add a logo” (d) “Kids forget homework”
  33. 33.🔀 Which badge does this quiz app show?
    let marks = 87;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Silver (c) Bronze
  34. 34.🔢 In a food-order flow, which comes LAST? (a) add it to the cart (b) open the menu (c) pick a dish (d) track the order
  35. 35.🔀 What does >= mean? (a) less than (b) smaller or equal (c) greater than or equal (d) not equal
  36. 36.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Arjun"));
    (a) Hello, Arjun! (b) Hello, name! (c) greet (d) Arjun
  37. 37.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) rate the driver (c) see where the bus is (d) a dark mode
  38. 38.🖼️ How many parts (boxes) does this wireframe have?
    [ menu icon ]
    [ search box ]
    [ title text ]
    [ big picture ]
  39. 39.🔢 After an app is released, which comes first: “read user reviews” or “fix and improve”? (a) fix and improve (b) read user reviews
  40. 40.True or false: “tiny tap areas” helps everyone use the app. (a) True (b) False

Answer key

  1. hard to use
  2. easy to read
  3. 360
  4. take the photo
  5. 0
  6. missing a must-have
  7. a big-text reader
  8. 7000
  9. 99
  10. a final design
  11. 52
  12. line 3
  13. typing your age
  14. 4
  15. test the app
  16. a water reminder
  17. pick one of two actions
  18. sketch the screens
  19. Ask a parent
  20. False
  21. False
  22. 4
  23. so users do not get lost
  24. fair
  25. a tap event
  26. 3
  27. the path through screens
  28. 41
  29. True
  30. a timer event
  31. 14000
  32. “Kids forget homework”
  33. Gold
  34. track the order
  35. greater than or equal
  36. Hello, Arjun!
  37. see where the bus is
  38. 4
  39. read user reviews
  40. False

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