← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 947 · 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.🧪 One test case fails. Which one?
    🎟️ 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(14) → expected 100
    Test 2: price(13) → expected 50
    Test 3: price(18) → expected 100
    (a) Test 3 (b) Test 2 (c) Test 1
  2. 2.💡 Which is a problem statement? (a) “Kids forget homework” (b) “Make it fast” (c) “Use blue buttons” (d) “Add a logo”
  3. 3.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 49; // start at 49
    line 2: coins = coins - 2; // add 2
    line 3: coins = coins + 3; // add 3
    line 4: show(coins); // show it
    (a) line 3 (b) line 2 (c) line 1
  4. 4.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) see today’s total (c) share your streak (d) set a reminder time
  5. 5.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(4));
  6. 6.⚙️ What number does this app show?
    let price = 40; // typed by the user
    let qty = 4; // typed by the user
    let total = price * qty;
    show(total);
  7. 7.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Me tab
    2. open “Match report”
    3. open “Score card”
    How many times must you tap Back to reach the main screen of this tab?
  8. 8.🧩 Which input is best for choosing a volume level? (a) a text box (b) a slider (c) a switch (d) a title
  9. 9.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Title: 24 px
    Menu: 23 px
    Label: 21 px
    Caption: 18 px
    Footer: 14 px
  10. 10.🖼️ How many parts (boxes) does this wireframe have?
    [ search box ]
    [ Add button ]
    [ title text ]
    [ list of items ]
    [ top bar ]
    [ filter buttons ]
  11. 11.🔁 What number does this code show?
    let scores = [36, 16, 41, 23];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  12. 12.🎨 Is this about UI or UX: how fast a task is done? (a) UI (b) UX
  13. 13.True or false: you put it on an app store at the release stage. (a) False (b) True
  14. 14.🧪 A test case is an input together with its ___. (a) app icon (b) screen colour (c) expected result (d) font size
  15. 15.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 30; // start at 30
    line 2: coins = coins * 2; // double it
    line 3: coins = coins - 3; // add 3
    line 4: show(coins); // show it
  16. 16.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Shop → Results → Address → Offers → Item
    Design B: Home → Pens → Results → Address
  17. 17.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) change the bus icon (b) see where the bus is (c) pick your bus stop (d) show arrival time
  18. 18.🌐 Which program do you need to open a website? (a) a camera app (b) a web browser (c) a calculator (d) an app store
  19. 19.💡 A good app idea starts with ___. (a) a cool logo (b) a long name (c) many colours (d) a problem to solve
  20. 20.True or false: “tiny tap areas” helps everyone use the app. (a) True (b) False
  21. 21.Which of these happens at the plan stage? (a) list what users need (b) add the buttons (c) draw the user flow (d) write the store text
  22. 22.👥 A cricket club app has 205 players, 255 coaches and 180 fans as users. How many users does it have in all?
  23. 23.🔍 Which is the odd one out? (a) the button colours (b) the theme colours (c) the icon shapes (d) how easy sign-up is
  24. 24.🔀 What number does this shop app show?
    let total = 750;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  25. 25.🗂️ What kind of app is a puzzle with levels? (a) a learning app (b) a tool app (c) a game (d) a health app
  26. 26.🔢 In a quiz-app flow, which comes first: “see if it is right” or “tap “Start quiz””? (a) tap “Start quiz” (b) see if it is right
  27. 27.🔁 What is the LAST line this code shows?
    let names = ["Meera", "Arjun", "Aman", "Zoya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Aman (c) Hi, Meera (d) Hi, Zoya
  28. 28.True or false: “colour as the only clue” helps everyone use the app. (a) True (b) False
  29. 29.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “wasting pocket money”?
    no quiet study place: 10 votes
    losing water bottles: 16 votes
    wasting pocket money: 11 votes
  30. 30.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 34; // start at 34
    line 2: stars = stars + 2; // double it
    line 3: stars = stars - 1; // take away 1
    line 4: stars = stars + 6; // add 6
    line 5: show(stars); // show it
    (a) line 3 (b) line 4 (c) line 1 (d) line 2
  31. 31.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Friend list”
    2. open “Help page”
    3. open “Friend list”
    4. tap Back
    Which screen are you on now?
    (a) Lessons (b) Help page (c) Quiz (d) Friend list
  32. 32.True or false: a bus tracker is the best fit for a student who often misses the school bus. (a) False (b) True
  33. 33.Which of these is processing? (a) a buzz (vibration) (b) sorting the scores (c) a result on screen (d) a beep sound
  34. 34.True or false: a website opens from a link. (a) False (b) True
  35. 35.⚙️ What number does this app show?
    let km = 7; // typed by the user
    let metres = km * 1000;
    show(metres);
  36. 36.Which of these helps everyone use the app? (a) icons with no labels (b) colour as the only clue (c) tiny tap areas (d) labels on every icon
  37. 37.🔀 What does this sign-up rule show?
    let age = 15;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  38. 38.📅 An app team plans for 5 days, builds for 6 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
  39. 39.Which of these happens at the idea stage? (a) let friends try it (b) write the store text (c) try every button (d) list what users need
  40. 40.🔢 In a food-order flow, what comes right after “open the menu”? (a) pick a dish (b) pay for the order (c) track the order (d) add it to the cart

Answer key

  1. Test 1
  2. “Kids forget homework”
  3. line 2
  4. share your streak
  5. 100
  6. 160
  7. 2
  8. a slider
  9. 1
  10. 6
  11. 0
  12. UX
  13. True
  14. expected result
  15. 57
  16. 5
  17. change the bus icon
  18. a web browser
  19. a problem to solve
  20. False
  21. draw the user flow
  22. 640
  23. how easy sign-up is
  24. 700
  25. a game
  26. tap “Start quiz”
  27. Hi, Zoya
  28. False
  29. 5
  30. line 2
  31. Help page
  32. True
  33. sorting the scores
  34. True
  35. 7000
  36. labels on every icon
  37. Welcome!
  38. 5
  39. list what users need
  40. pick a dish

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