← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 287 · 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 Feed, Chat, Settings. You start on Feed, then:
    1. tap the Chat tab
    2. open “Score card”
    3. tap the Chat tab
    4. open “Video”
    Which screen are you on now?
    (a) Chat (b) Score card (c) Feed (d) Video
  2. 2.💾 What number does this code show?
    let notes = ["Art", "Music", "Maths", "Hindi"];
    notes.push("Sports");
    show(notes.length);
  3. 3.🔔 What is a message an app shows on your lock screen called? (a) a wireframe (b) a web address (c) a variable (d) a notification
  4. 4.🐞 Finding and fixing bugs is called ___. (a) downloading (b) debugging (c) decorating (d) designing
  5. 5.🔍 Which is the odd one out? (a) tiny tap areas (b) captions on videos (c) big touch targets (d) text that can grow
  6. 6.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Edit Profile
    [text box] Age
    [text box] City
    [button] Next
    [button] Send
    [button] Save
  7. 7.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(500) → expected 0
    Test 2: delivery(400) → expected 0
    Test 3: delivery(150) → expected 40
  8. 8.Which of these is a feature? (a) a dark mode switch (b) “I keep missing the bus” (c) “Small text is hard” (d) “I forget my homework”
  9. 9.🔁 What number does this code show?
    let runs = [5, 18, 11];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  10. 10.💾 What number does this code show?
    let lives = 8;
    lives = lives - 5;
    lives = lives + 1;
    show(lives);
  11. 11.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
    function price(age) {
      if (age <= 12) {
        return 50;
      }
      return 100;
    }
    Test 1: price(12) → expected 100
    Test 2: price(11) → expected 50
    Test 3: price(17) → expected 100
    (a) Test 3 (b) Test 2 (c) Test 1
  12. 12.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 7; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 1 (b) line 3 (c) line 2
  13. 13.🖼️ How many parts (boxes) does this wireframe have?
    [ title text ]
    [ Add button ]
    [ tab bar ]
    [ filter buttons ]
  14. 14.True or false: a puzzle with levels is a health app. (a) False (b) True
  15. 15.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Map”
    2. tap Back
    3. open “Badges”
    4. open “Edit photo”
    Which screen are you on now?
    (a) Edit photo (b) Badges (c) Map (d) Home
  16. 16.🔁 What number does this code show?
    let steps = [42, 69, 61, 52, 75];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  17. 17.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 39; // start at 39
    line 2: lives = lives - 2; // take away 2
    line 3: lives = lives + 2; // take away 2
    line 4: lives = lives + 4; // add 4
    line 5: show(lives); // show it
    (a) line 1 (b) line 2 (c) line 4 (d) line 3
  18. 18.🔢 In a food-order flow, what comes right after “pick a dish”? (a) track the order (b) open the menu (c) pay for the order (d) add it to the cart
  19. 19.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
  20. 20.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
  21. 21.👆 The user taps the button 6 times. What number does the label show now?
    let score = 10;
    button.onTap = function () {
      score = score + 3;
      label.text = score;
    };
  22. 22.🗒️ A to-do app with no “add a task” feature is ___. (a) ready to release (b) missing a must-have (c) a nice extra (d) well planned
  23. 23.🗂️ What kind of app is a unit converter? (a) a game (b) a health app (c) a learning app (d) a tool app
  24. 24.⚙️ In an app, is taking a photo an input, processing or an output? (a) output (b) input (c) processing
  25. 25.🔀 What does this sign-up rule show?
    let age = 14;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  26. 26.👥 A cricket club app has 130 players, 275 coaches and 40 fans as users. How many users does it have in all?
  27. 27.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Shop → Pens → Item
    Design B: Home → Address → Pens → Cart → Offers → Confirm → Search
  28. 28.🧩 In an app, what is a date picker? (a) an input (b) a button (c) a screen (d) data
  29. 29.🔍 Which is the odd one out? (a) connect the data (b) write the code (c) pick the features (d) add the buttons
  30. 30.📊 Survey: which problem bugs you most? How many students voted in all?
    losing water bottles: 6 votes
    missing the bus: 19 votes
    no quiet study place: 7 votes
  31. 31.🛠️ At which stage do you sketch the screens? (a) the idea stage (b) the build stage (c) the test stage (d) the plan stage
  32. 32.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Back button: 48 px tall
    Next button: 52 px tall
    Start button: 36 px tall
    (a) Back (b) Next (c) Start
  33. 33.👆 The user taps the button 1 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  34. 34.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Meera"));
    (a) greet (b) Welcome, Meera! (c) Meera (d) Welcome, name!
  35. 35.Which of these is about UX (the experience)? (a) whether users get lost (b) the button colours (c) the icon shapes (d) the font size
  36. 36.🚀 Your app is at version 1.9.7. The next release adds a new feature. What is its version number? (a) 1.10.7 (b) 2.0.0 (c) 1.10.0 (d) 1.9.8
  37. 37.👆 What kind of event is this: the user taps Play? (a) a timer event (b) a text event (c) a tap event (d) a load event
  38. 38.🎨 Is this about UI or UX: the button colours? (a) UI (b) UX
  39. 39.🧪 Who else should try an app before release? (a) real users (b) only the coder (c) nobody (d) the app icon
  40. 40.🚀 In version 2.5.1, which number is the major version? (a) 251 (b) 5 (c) 2 (d) 1

Answer key

  1. Video
  2. 5
  3. a notification
  4. debugging
  5. tiny tap areas
  6. 2
  7. 40
  8. a dark mode switch
  9. 34
  10. 4
  11. Test 1
  12. line 2
  13. 4
  14. False
  15. Edit photo
  16. 3
  17. line 3
  18. add it to the cart
  19. No
  20. hard to read
  21. 28
  22. missing a must-have
  23. a tool app
  24. input
  25. Welcome!
  26. 445
  27. 3
  28. an input
  29. pick the features
  30. 32
  31. the plan stage
  32. Start
  33. 1
  34. Welcome, Meera!
  35. whether users get lost
  36. 1.10.0
  37. a tap event
  38. UI
  39. real users
  40. 2

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