← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 434 · 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.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Map”
    2. tap the Me tab
    3. open “Match report”
    4. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  2. 2.👆 “On tap → do this” links an event to ___. (a) a web address (b) a charger (c) an action (d) a font
  3. 3.👆 What kind of event is this: one second passes? (a) a load event (b) a text event (c) a timer event (d) a tap event
  4. 4.📱 Which one updates from the store: an app or a website? (a) an app (b) a website
  5. 5.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) export to a file (c) show the balance (d) add money spent
  6. 6.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) FAQ (c) URL (d) MVP
  7. 7.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a wireframe (b) a final design
  8. 8.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 35; // start at 35
    line 2: points = points - 4; // take away 4
    line 3: points = points * 2; // double it
    line 4: points = points + 2; // double it
    line 5: show(points); // show it
    (a) line 2 (b) line 3 (c) line 1 (d) line 4
  9. 9.Which colour pair is easy to read? (a) red on green (b) yellow on white (c) dark blue on black (d) white on dark green
  10. 10.👥 A school app has 120 students, 180 teachers and 255 parents as users. How many users does it have in all?
  11. 11.💾 What does this code show? (Positions start at 0.)
    let friends = ["Zoya", "Riya", "Arjun"];
    show(friends[2]);
    (a) Zoya (b) Riya (c) Arjun
  12. 12.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Settings
    [switch] Sound
    [button] Next
    [text box] Name
  13. 13.Which of these is a user need? (a) a reminder alarm (b) a dark mode switch (c) a search bar (d) “I forget my homework”
  14. 14.🧭 Which part of navigation switches main sections? (a) a menu button (b) the back button (c) a tab bar
  15. 15.Which of these happens at the plan stage? (a) list what users need (b) share the download link (c) put it on an app store (d) pick the features
  16. 16.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 10; // typed by the user
    line 2: let qty = 5; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 3 (b) line 2 (c) line 4 (d) line 1
  17. 17.🔢 In a food-order flow, which comes first: “pay for the order” or “track the order”? (a) track the order (b) pay for the order
  18. 18.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age <= 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(8) → expected 50
    Test 2: price(9) → expected 100
    Test 3: price(10) → expected 100
    (a) Test 2 (b) Test 3 (c) Test 1
  19. 19.🖼️ In this wireframe (top to bottom), what is right below the search box?
    [ big picture ]
    [ menu icon ]
    [ Add button ]
    [ search box ]
    [ filter buttons ]
    (a) menu icon (b) big picture (c) Add button (d) filter buttons
  20. 20.🚀 In version 2.5.1, which number is the major version? (a) 1 (b) 5 (c) 251 (d) 2
  21. 21.🗂️ What kind of app is a water reminder? (a) a tool app (b) a learning app (c) a health app (d) a game
  22. 22.True or false: a bill splitter solves no real problem. (a) True (b) False
  23. 23.🔢 In a sign-up flow, what comes right after “tap “Sign up””? (a) open the app (b) see the home screen (c) make a password (d) type name and email
  24. 24.True or false: “icons with no labels” helps everyone use the app. (a) False (b) True
  25. 25.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Riya"));
    (a) Riya (b) Welcome, name! (c) greet (d) Welcome, Riya!
  26. 26.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. tap the Me tab
    3. open “Friend list”
    4. tap Back
    Which screen are you on now?
    (a) Me (b) Lessons (c) Quiz (d) Friend list
  27. 27.🔍 Which is the odd one out? (a) a torch (b) a water reminder (c) a calculator (d) a unit converter
  28. 28.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 7; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 3 (b) line 2 (c) line 1
  29. 29.Which of these is a button? (a) a slider for volume (b) your saved notes (c) tap to Start (d) today’s step count
  30. 30.Which of these requests is fair? (a) timer → your photos (b) torch → contacts (c) voice notes → microphone (d) quiz app → microphone
  31. 31.Which colour pair is easy to read? (a) red on green (b) dark blue on white (c) light grey on white (d) dark blue on black
  32. 32.♿ A screen has 9 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
  33. 33.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a wireframe (b) a final design
  34. 34.🔀 What does this battery rule show?
    let battery = 98;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  35. 35.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a user need (b) a feature
  36. 36.🔁 What number does this code show?
    let scores = [71, 90, 14];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  37. 37.🗒️ Version 1 of a pocket-money tracker must be ready in 7 days. How many days are left for extras after the must-haves?
    add money received: 3 days
    add money spent: 2 days
    show the balance: 2 days
  38. 38.🧪 One test case fails. Which one?
    🚚 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(400) → expected 0
    Test 2: delivery(700) → expected 0
    Test 3: delivery(200) → expected 40
    (a) Test 1 (b) Test 2 (c) Test 3
  39. 39.True or false: icons with no meaning is good button design. (a) False (b) True
  40. 40.True or false: an app needs no installing. (a) True (b) False

Answer key

  1. 0
  2. an action
  3. a timer event
  4. an app
  5. export to a file
  6. MVP
  7. a final design
  8. line 4
  9. white on dark green
  10. 555
  11. Arjun
  12. 2
  13. “I forget my homework”
  14. a tab bar
  15. pick the features
  16. line 3
  17. pay for the order
  18. Test 2
  19. filter buttons
  20. 2
  21. a health app
  22. False
  23. type name and email
  24. False
  25. Welcome, Riya!
  26. Me
  27. a water reminder
  28. line 2
  29. tap to Start
  30. voice notes → microphone
  31. dark blue on white
  32. 8
  33. a wireframe
  34. Battery OK
  35. a user need
  36. 2
  37. 0
  38. Test 1
  39. False
  40. False

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