← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 208 · 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 kind of app is a step counter? (a) a game (b) a learning app (c) a tool app (d) a health app
  2. 2.True or false: speaking a command is an input. (a) False (b) True
  3. 3.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) water animations (c) see today’s total (d) log a glass of water
  4. 4.Which of these is a feature? (a) “I forget my homework” (b) “Small text is hard” (c) a search bar (d) “I keep missing the bus”
  5. 5.🔁 What does a loop do? (a) saves photos (b) deletes code (c) repeats code (d) draws icons
  6. 6.🖼️ In this wireframe (top to bottom), what is right above the list of items?
    [ top bar ]
    [ filter buttons ]
    [ Save button ]
    [ Add button ]
    [ list of items ]
    (a) top bar (b) Save button (c) Add button (d) filter buttons
  7. 7.Which of these happens at the plan stage? (a) let friends try it (b) list what users need (c) talk to possible users (d) draw the user flow
  8. 8.🔁 What number does this code show?
    let steps = [5, 17, 17];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  9. 9.True or false: a pop-up message is an output. (a) True (b) False
  10. 10.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Done button: 56 px tall
    Start button: 32 px tall
    Save button: 32 px tall
    Next button: 32 px tall
  11. 11.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) see tasks by day (b) set a due date (c) pick a theme colour (d) add a homework task
  12. 12.🔀 Which badge does this quiz app show?
    let marks = 100;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Silver (c) Bronze
  13. 13.Which of these app ideas solves a real problem? (a) a medicine reminder (b) a button with no action (c) an app that just says hi (d) a page of random dots
  14. 14.🔀 When does the else part run? (a) when the test is true (b) when the test is false (c) never (d) always
  15. 15.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Arjun", "Kabir", "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
  16. 16.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(10, 3));
  17. 17.🖼️ How many parts (boxes) does this wireframe have?
    [ title text ]
    [ big picture ]
    [ top bar ]
    [ menu icon ]
    [ Save button ]
  18. 18.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(9));
  19. 19.💾 What number does this code show?
    let notes = ["Science", "Music", "Art"];
    notes.push("Hindi");
    show(notes.length);
  20. 20.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 34; // start at 34
    line 2: score = score * 2; // double it
    line 3: score = score - 7; // take away 5
    line 4: show(score); // show it
    (a) line 1 (b) line 2 (c) line 3
  21. 21.🔍 Which is the odd one out? (a) typing your age (b) taking a photo (c) tapping a button (d) working out a tip
  22. 22.🗒️ The first small, working version of an app is often called an ___. (a) MVP (b) CPU (c) URL (d) FAQ
  23. 23.Which of these happens at the build stage? (a) spot a problem to solve (b) add the buttons (c) share the download link (d) try every button
  24. 24.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) earn stickers (c) pick a theme colour (d) see tasks by day
  25. 25.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Add button ]
    [ big picture ]
    [ title text ]
    [ filter buttons ]
    [ list of items ]
    [ menu icon ]
    (a) Add button (b) big picture (c) menu icon (d) list of items
  26. 26.True or false: “fast-flashing lights” makes the app harder to use. (a) False (b) True
  27. 27.⚙️ What number does this app show?
    let bill = 108; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  28. 28.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Settings tab
    2. open “Friend list”
    3. tap the Settings tab
    Which screen are you on now?
    (a) Friend list (b) Feed (c) Settings (d) Chat
  29. 29.🔢 In a food-order flow, which comes first: “open the menu” or “pick a dish”? (a) open the menu (b) pick a dish
  30. 30.♿ Does this help everyone, or make the app harder to use: icons with no labels? (a) makes it harder (b) helps everyone
  31. 31.💡 Which is a problem statement? (a) “Use blue buttons” (b) “Make it fast” (c) “Add a logo” (d) “Kids forget homework”
  32. 32.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Score card”
    2. open “Match report”
    3. open “Friend list”
    4. tap the Profile tab
    5. tap the Home tab
    Which screen are you on now?
    (a) Friend list (b) Match report (c) Home (d) Score card
  33. 33.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Badges”
    2. tap the Quiz tab
    3. tap the Lessons tab
    4. tap the Quiz tab
    5. open “Help page”
    Which screen are you on now?
    (a) Lessons (b) Quiz (c) Help page (d) Badges
  34. 34.🔁 What is the LAST line this code shows?
    let names = ["Meera", "Aman", "Zoya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Zoya (c) Hi, Meera
  35. 35.🔍 Which is the odd one out? (a) sudden loud sounds (b) labels on every icon (c) big touch targets (d) strong colour contrast
  36. 36.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Next button: 68 px tall
    Send button: 64 px tall
    Save button: 48 px tall
    Start button: 32 px tall
    (a) Save (b) Next (c) Send (d) Start
  37. 37.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Home tab
    2. open “Help page”
    3. tap the Home tab
    Which screen are you on now?
    (a) Profile (b) Home (c) Help page (d) Search
  38. 38.🧪 What is the ACTUAL result of Test 1?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age <= 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(10) → expected 100
    Test 2: price(12) → expected 100
    Test 3: price(7) → expected 50
  39. 39.⚙️ What number does this app show?
    let price = 110; // typed by the user
    let off = 40; // typed by the user
    let pay = price - off;
    show(pay);
  40. 40.🎯 Is this a user need or a feature: a search bar? (a) a feature (b) a user need

Answer key

  1. a health app
  2. True
  3. water animations
  4. a search bar
  5. repeats code
  6. Add button
  7. draw the user flow
  8. 39
  9. True
  10. 1
  11. pick a theme colour
  12. Gold
  13. a medicine reminder
  14. when the test is false
  15. Hi, Aman
  16. 30
  17. 5
  18. 18
  19. 4
  20. line 3
  21. working out a tip
  22. MVP
  23. add the buttons
  24. see tasks by day
  25. menu icon
  26. True
  27. 54
  28. Settings
  29. open the menu
  30. makes it harder
  31. “Kids forget homework”
  32. Home
  33. Help page
  34. Hi, Zoya
  35. sudden loud sounds
  36. Start
  37. Home
  38. 50
  39. 70
  40. a feature

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