← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 829 · 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.🔀 What does this sign-up rule show?
    let age = 14;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  2. 2.🧩 In an app, what is the home page of an app? (a) an input (b) data (c) a button (d) a screen
  3. 3.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(3));
  4. 4.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Match report”
    2. tap Back
    3. open “Match report”
    4. open “Score card”
    Which screen are you on now?
    (a) Feed (b) Score card (c) Match report (d) Chat
  5. 5.🔢 After an app is released, what comes right after “list what to fix”? (a) fix and improve (b) read user reviews (c) release an update (d) test it again
  6. 6.Which of these is about UX (the experience)? (a) the icon shapes (b) the button colours (c) whether users get lost (d) the theme colours
  7. 7.🔍 Which is the odd one out? (a) connect the data (b) add the buttons (c) list what users need (d) write the code
  8. 8.📊 Survey: which problem bugs you most? How many students voted in all?
    wasting pocket money: 4 votes
    forgetting homework: 21 votes
    missing the bus: 20 votes
  9. 9.🛠️ At which stage do you connect the data? (a) the release stage (b) the build stage (c) the plan stage (d) the idea stage
  10. 10.Which of these is a user need? (a) a reminder alarm (b) a search bar (c) a dark mode switch (d) “What should I cook?”
  11. 11.🔢 In a food-order flow, which comes FIRST? (a) track the order (b) open the menu (c) pick a dish (d) check the cart
  12. 12.🧰 What is a function? (a) a type of phone (b) a list of colours (c) a named block of code (d) a screen size
  13. 13.🔁 What number does this code show?
    let runs = [8, 17, 16, 3];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  14. 14.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Pay → Menu
    Design B: Home → Pens → Cart → Size → Confirm → Pay → Menu
  15. 15.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 33; // start at 32
    line 2: lives = lives - 5; // take away 5
    line 3: lives = lives - 3; // take away 3
    line 4: lives = lives - 5; // take away 5
    line 5: show(lives); // show it
  16. 16.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) savings stickers (c) export to a file (d) add money spent
  17. 17.⚙️ What number does this app show?
    let bill = 256; // typed by the user
    let friends = 4; // typed by the user
    let share = bill / friends;
    show(share);
  18. 18.🎯 Which app would help this user most: a student who often misses the school bus? (a) a big-text reader (b) a recipe finder (c) a bus tracker (d) a water reminder
  19. 19.💾 What number does this code show?
    let score = 9;
    score = score - 8;
    score = score + 1;
    show(score);
  20. 20.🔁 list.length tells you ___. (a) the first item (b) how many items it has (c) the last item (d) the biggest item
  21. 21.🧪 What is the ACTUAL result of Test 1?
    🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 400) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(550) → expected 0
    Test 2: delivery(200) → expected 40
    Test 3: delivery(600) → expected 0
  22. 22.True or false: a calculator is a tool app. (a) False (b) True
  23. 23.👆 The user taps the button 6 times. What number does the label show now?
    let coins = 3;
    button.onTap = function () {
      coins = coins + 3;
      label.text = coins;
    };
  24. 24.📊 Survey: which problem bugs you most? How many students voted in all?
    losing water bottles: 4 votes
    no quiet study place: 18 votes
    forgetting homework: 13 votes
  25. 25.👆 The user taps the button 3 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  26. 26.True or false: a recipe finder is the best fit for a child saving up for a cycle. (a) False (b) True
  27. 27.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) see tasks by day (c) earn stickers (d) set a due date
  28. 28.Which of these is true of a website? (a) is installed on a phone (b) updates from the store (c) opens from a link (d) has a home-screen icon
  29. 29.True or false: “captions on videos” helps everyone use the app. (a) False (b) True
  30. 30.🗒️ The first small, working version of an app is often called an ___. (a) MVP (b) URL (c) CPU (d) FAQ
  31. 31.🚀 Which of these versions is the NEWEST?
    1.6.9, 1.18.3, 0.28.9, 1.5.1
    (a) 1.5.1 (b) 0.28.9 (c) 1.18.3 (d) 1.6.9
  32. 32.🔀 Which badge does this quiz app show?
    let marks = 20;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Gold (c) Bronze
  33. 33.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 36; // start at 36
    line 2: points = points - 2; // add 2
    line 3: points = points * 2; // double it
    line 4: show(points); // show it
  34. 34.🧰 Why write a function? (a) to make code longer (b) to slow the app (c) to hide errors (d) to reuse code
  35. 35.True or false: you share the download link at the plan stage. (a) True (b) False
  36. 36.🔢 In a photo-post flow, which comes first: “open the camera screen” or “add a filter”? (a) add a filter (b) open the camera screen
  37. 37.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [slider] Brightness
    [text box] Age
    [button] Save
    [switch] Dark mode
  38. 38.🔢 After an app is released, which comes FIRST? (a) fix and improve (b) test it again (c) list what to fix (d) read user reviews
  39. 39.👆 What kind of event is this: a finger hits Like? (a) a timer event (b) a tap event (c) a text event (d) a load event
  40. 40.🧪 What is the ACTUAL result of Test 1?
    🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
    function price(age) {
      if (age <= 14) {
        return 50;
      }
      return 100;
    }
    Test 1: price(20) → expected 100
    Test 2: price(22) → expected 100
    Test 3: price(10) → expected 50

Answer key

  1. Welcome!
  2. a screen
  3. 90
  4. Score card
  5. fix and improve
  6. whether users get lost
  7. list what users need
  8. 45
  9. the build stage
  10. “What should I cook?”
  11. open the menu
  12. a named block of code
  13. 44
  14. 2
  15. 19
  16. add money spent
  17. 64
  18. a bus tracker
  19. 2
  20. how many items it has
  21. 0
  22. True
  23. 21
  24. 35
  25. 3
  26. False
  27. earn stickers
  28. opens from a link
  29. True
  30. MVP
  31. 1.18.3
  32. Bronze
  33. 76
  34. to reuse code
  35. False
  36. open the camera screen
  37. 1
  38. read user reviews
  39. a tap event
  40. 100

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