← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 79 · 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.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 42; // start at 40
    line 2: points = points - 4; // take away 4
    line 3: points = points + 2; // add 2
    line 4: show(points); // show it
  2. 2.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 50; // start at 50
    line 2: stars = stars + 2; // double it
    line 3: stars = stars + 6; // add 6
    line 4: show(stars); // show it
    (a) line 2 (b) line 3 (c) line 1
  3. 3.True or false: you spot a problem to solve at the idea stage. (a) False (b) True
  4. 4.Which of these is true of a tab bar? (a) undoes one move (b) goes to the last screen (c) opens a list of pages (d) switches main sections
  5. 5.🧪 What is the ACTUAL result of Test 2?
    🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 700) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(550) → expected 40
    Test 2: delivery(700) → expected 0
    Test 3: delivery(1000) → expected 0
  6. 6.🔍 Which is the odd one out? (a) text that can grow (b) big touch targets (c) labels on every icon (d) sudden loud sounds
  7. 7.True or false: the home page of an app is data. (a) False (b) True
  8. 8.⚙️ What number does this app show?
    let price = 50; // typed by the user
    let qty = 5; // typed by the user
    let total = price * qty;
    show(total);
  9. 9.🧩 How many buttons does this app screen have?
    [title] Sign Up
    [button] Back
    [switch] Dark mode
    [button] Done
    [text box] Due date
    [button] Cancel
    [text box] Email
  10. 10.✏️ What is a wireframe? (a) the finished app (b) a type of password (c) a charging cable (d) a simple screen sketch
  11. 11.🚀 Your app is at version 3.6.3. The next release fixes a small bug. What is its version number? (a) 3.7.0 (b) 3.6.4 (c) 4.0.0 (d) 3.7.3
  12. 12.True or false: your last game level fits saving on the phone. (a) False (b) True
  13. 13.♿ Does this help everyone, or make the app harder to use: colour as the only clue? (a) helps everyone (b) makes it harder
  14. 14.🗒️ Version 1 of a bus tracker must be ready in 10 days. How many days are left for extras after the must-haves?
    see where the bus is: 3 days
    show arrival time: 3 days
    pick your bus stop: 2 days
  15. 15.🌗 Is red on green easy or hard to read on a button? (a) easy to read (b) hard to read
  16. 16.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Order Snacks
    [slider] Text size
    [text box] Due date
    [text box] Phone
    [button] Done
    [button] Help
    [button] Next
    [text box] Subject
  17. 17.🔁 What number does this code show?
    let runs = [17, 20, 19, 13, 2];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  18. 18.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
  19. 19.🎨 Is this about UI or UX: the icon shapes? (a) UX (b) UI
  20. 20.📅 An app team plans for 2 days, builds for 6 days, tests for 2 days and releases on 1 more day. How many more days does building take than testing?
  21. 21.Which of these is true of an app? (a) updates from the store (b) has a web address (c) opens from a link (d) opens in a web browser
  22. 22.🧭 What does the back button usually do? (a) deletes the page (b) closes all apps (c) goes to the last screen (d) opens settings
  23. 23.🔢 In a quiz-app flow, which comes FIRST? (a) see the final score (b) read a question (c) tap “Start quiz” (d) see if it is right
  24. 24.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 42; // start at 42
    line 2: points = points - 3; // take away 3
    line 3: points = points * 3; // double it
    line 4: show(points); // show it
    (a) line 1 (b) line 2 (c) line 3
  25. 25.✏️ What is the easiest way to draw a first wireframe? (a) a phone case (b) a microphone (c) a 3D printer (d) pencil and paper
  26. 26.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 50; // start at 49
    line 2: points = points * 2; // double it
    line 3: points = points - 1; // take away 1
    line 4: show(points); // show it
    (a) line 1 (b) line 3 (c) line 2
  27. 27.🧰 What is a function? (a) a named block of code (b) a type of phone (c) a screen size (d) a list of colours
  28. 28.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Shop → Offers
    Design B: Home → Cart → Offers → Results → Confirm → Pens
  29. 29.True or false: a box to type a name is an input. (a) True (b) False
  30. 30.True or false: a blank grey screen solves no real problem. (a) True (b) False
  31. 31.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age <= 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(11) → expected 100
    Test 2: price(9) → expected 50
    Test 3: price(14) → expected 100
    (a) Test 1 (b) Test 2 (c) Test 3
  32. 32.🗒️ What is a must-have feature? (a) a colour theme (b) one the app cannot skip (c) a sound effect (d) a nice extra
  33. 33.🔀 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!
  34. 34.💡 Which app idea solves this problem: friends argue over who pays? (a) a lost-and-found board (b) a medicine reminder (c) a study-room finder (d) a bill splitter
  35. 35.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ big picture ]
    [ filter buttons ]
    [ Save button ]
    [ title text ]
    [ list of items ]
    [ menu icon ]
    (a) menu icon (b) big picture (c) filter buttons (d) Save button
  36. 36.💾 Where should the app save your last game level: on the phone or in the cloud? (a) on the phone (b) in the cloud
  37. 37.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Score card”
    2. tap the Feed tab
    3. open “Video”
    4. open “Help page”
    Which screen are you on now?
    (a) Score card (b) Video (c) Feed (d) Help page
  38. 38.True or false: a finger hits Like is a tap event. (a) False (b) True
  39. 39.🧩 Which input is best for choosing a volume level? (a) a text box (b) a slider (c) a title (d) a switch
  40. 40.👥 A cricket club app has 180 players, 130 coaches and 65 fans as users. How many more players than coaches are there?

Answer key

  1. 40
  2. line 2
  3. True
  4. switches main sections
  5. 40
  6. sudden loud sounds
  7. False
  8. 250
  9. 3
  10. a simple screen sketch
  11. 3.6.4
  12. True
  13. makes it harder
  14. 2
  15. hard to read
  16. 4
  17. 71
  18. an app
  19. UI
  20. 4
  21. updates from the store
  22. goes to the last screen
  23. tap “Start quiz”
  24. line 3
  25. pencil and paper
  26. line 1
  27. a named block of code
  28. 3
  29. True
  30. True
  31. Test 1
  32. one the app cannot skip
  33. Welcome!
  34. a bill splitter
  35. menu icon
  36. on the phone
  37. Help page
  38. True
  39. a slider
  40. 50

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