← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 718 · 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 = 17;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  2. 2.True or false: a final design has the real colours. (a) False (b) True
  3. 3.🌗 Is light grey on white easy or hard to read on a button? (a) hard to read (b) easy to read
  4. 4.🔍 Which is the odd one out? (a) colour as the only clue (b) tiny tap areas (c) sudden loud sounds (d) labels on every icon
  5. 5.💾 In most code, the first item of a list is at position ___. (a) 10 (b) 1 (c) 2 (d) 0
  6. 6.🔁 What does a loop do? (a) draws icons (b) deletes code (c) saves photos (d) repeats code
  7. 7.💡 Which app idea solves this problem: bottles go missing at school? (a) a medicine reminder (b) a study-room finder (c) a lost-and-found board (d) a homework planner
  8. 8.📅 An app team plans for 3 days, builds for 10 days, tests for 2 days and releases on 1 more day. How many more days does building take than testing?
  9. 9.🔘 Our rule: buttons are at least 48 px tall. The Help button is 40 px tall. How many px taller must it be?
  10. 10.🖼️ How many parts (boxes) does this wireframe have?
    [ list of items ]
    [ top bar ]
    [ search box ]
    [ filter buttons ]
  11. 11.💡 Which is a problem statement? (a) “Kids forget homework” (b) “Use blue buttons” (c) “Make it fast” (d) “Add a logo”
  12. 12.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a homework planner (b) a bus tracker (c) a big-text reader (d) a recipe finder
  13. 13.🧩 What do we call one full page of an app? (a) a variable (b) a cable (c) a battery (d) a screen
  14. 14.🧪 Who else should try an app before release? (a) only the coder (b) the app icon (c) nobody (d) real users
  15. 15.⚙️ What number does this app show?
    let bill = 100; // typed by the user
    let friends = 4; // typed by the user
    let share = bill / friends;
    show(share);
  16. 16.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(11));
  17. 17.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Match report”
    2. tap Back
    3. open “Friend list”
    How many times must you tap Back to reach the main screen of this tab?
  18. 18.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 43; // start at 43
    line 2: coins = coins * 2; // double it
    line 3: coins = coins - 6; // add 6
    line 4: show(coins); // show it
  19. 19.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
  20. 20.🧩 What does a button do when you tap it? (a) changes the phone (b) shows the time (c) starts an action (d) saves the battery
  21. 21.🔀 Which badge does this quiz app show?
    let marks = 31;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  22. 22.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Zoya"));
    (a) Hello, Zoya! (b) Zoya (c) Hello, name! (d) greet
  23. 23.🔢 In a food-order flow, which comes first: “track the order” or “add it to the cart”? (a) track the order (b) add it to the cart
  24. 24.True or false: you put it on an app store at the build stage. (a) True (b) False
  25. 25.🔁 What number does this code show?
    let runs = [13, 11, 5, 4, 8];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  26. 26.🧪 A test case is an input together with its ___. (a) font size (b) expected result (c) app icon (d) screen colour
  27. 27.🔀 What does this PIN rule show?
    let pin = "3976";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  28. 28.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(75, 5));
  29. 29.🧪 A test fails when ___. (a) actual is not expected (b) the app is new (c) both are the same (d) the font is big
  30. 30.🔍 Which is the odd one out? (a) big touch targets (b) labels on every icon (c) colour as the only clue (d) captions on videos
  31. 31.🔢 In a photo-post flow, which comes FIRST? (a) take the photo (b) open the camera screen (c) post the photo (d) write a caption
  32. 32.👆 “On tap → do this” links an event to ___. (a) a font (b) a web address (c) a charger (d) an action
  33. 33.True or false: the log-in page is data. (a) True (b) False
  34. 34.🔍 Which is the odd one out? (a) spot a problem to solve (b) talk to possible users (c) draw the user flow (d) list what users need
  35. 35.📱 Which one has a web address: an app or a website? (a) an app (b) a website
  36. 36.Which of these is a button? (a) tap to Start (b) the game-over page (c) a switch for dark mode (d) the log-in page
  37. 37.♿ A screen has 11 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
  38. 38.💾 pop() takes off the last item. What does this code show?
    let friends = ["Zoya", "Meera", "Kabir"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Meera (b) Kabir (c) Zoya
  39. 39.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 30; // 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 1 (c) line 4 (d) line 3
  40. 40.🎯 What is a user need? (a) a problem a user has (b) a type of button (c) a colour theme (d) a phone setting

Answer key

  1. Welcome!
  2. True
  3. hard to read
  4. labels on every icon
  5. 0
  6. repeats code
  7. a lost-and-found board
  8. 8
  9. 8
  10. 4
  11. “Kids forget homework”
  12. a bus tracker
  13. a screen
  14. real users
  15. 25
  16. 33
  17. 1
  18. 80
  19. a wireframe
  20. starts an action
  21. Bronze
  22. Hello, Zoya!
  23. add it to the cart
  24. False
  25. 41
  26. expected result
  27. PIN saved
  28. 375
  29. actual is not expected
  30. colour as the only clue
  31. open the camera screen
  32. an action
  33. False
  34. draw the user flow
  35. a website
  36. tap to Start
  37. 9
  38. Meera
  39. line 3
  40. a problem a user has

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