← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 19 · 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 number does this code show?
    let scores = [20, 8, 3, 2, 10];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  2. 2.🎯 What is the best first step to learn what users need? (a) write the code (b) pick the colours (c) guess on your own (d) ask and watch users
  3. 3.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(4) + points(0));
  4. 4.👥 A school app has 45 students, 275 teachers and 130 parents as users. How many users does it have in all?
  5. 5.💡 Does an app idea like a library due-date alert solve a real problem? (a) No (b) Yes
  6. 6.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Title: 20 px
    Hint: 13 px
    Footer: 20 px
    (a) Footer (b) Title (c) Hint
  7. 7.True or false: sorting the scores is an output. (a) False (b) True
  8. 8.🧪 One test case fails. Which one?
    🎟️ 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(6) → expected 50
    Test 3: price(11) → expected 100
    (a) Test 2 (b) Test 3 (c) Test 1
  9. 9.🔀 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!
  10. 10.Which of these makes the app harder to use? (a) fast-flashing lights (b) strong colour contrast (c) big touch targets (d) labels on every icon
  11. 11.🔀 What number does this shop app show?
    let total = 770;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  12. 12.🔍 Which is the odd one out? (a) adding up a bill (b) a result on screen (c) a pop-up message (d) a beep sound
  13. 13.🔍 Which is the odd one out? (a) icons with no labels (b) captions on videos (c) tiny tap areas (d) sudden loud sounds
  14. 14.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Zoya", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Arjun (c) Hi, Zoya
  15. 15.Which of these is processing? (a) tapping a button (b) working out a tip (c) typing your age (d) a result on screen
  16. 16.💾 What number does this code show?
    let notes = ["Music", "Hindi"];
    notes.push("Art");
    show(notes.length);
  17. 17.🛠️ At which stage do you spot a problem to solve? (a) the build stage (b) the release stage (c) the plan stage (d) the idea stage
  18. 18.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a final design (b) a wireframe
  19. 19.🧭 What does the back button usually do? (a) goes to the last screen (b) closes all apps (c) deletes the page (d) opens settings
  20. 20.🔢 After an app is released, which comes first: “release an update” or “fix and improve”? (a) release an update (b) fix and improve
  21. 21.⚙️ In an app, is working out a tip an input, processing or an output? (a) processing (b) input (c) output
  22. 22.🔀 What number does this shop app show?
    let total = 410;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  23. 23.👥 A cricket club app has 20 players, 25 coaches and 180 fans as users. How many users does it have in all?
  24. 24.🔍 Which is the odd one out? (a) a beep sound (b) a pop-up message (c) tapping a button (d) a result on screen
  25. 25.🎯 Is this a user need or a feature: “I forget my homework”? (a) a feature (b) a user need
  26. 26.True or false: your friends list is data. (a) True (b) False
  27. 27.🧭 Which part of navigation goes to the last screen? (a) a menu button (b) the back button (c) a tab bar
  28. 28.🎨 A beautiful app that confuses everyone has ___. (a) perfect UX (b) good UI but poor UX (c) no UI at all (d) good UX but poor UI
  29. 29.🔀 What does this battery rule show?
    let battery = 19;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  30. 30.🧩 How many buttons does this app screen have?
    [title] New Note
    [text box] Name
    [slider] Brightness
    [text box] Email
    [text box] Due date
    [button] Help
  31. 31.🔀 In a good flow, each screen should lead to ___. (a) a clear next step (b) a dead end (c) a random page (d) the same screen
  32. 32.🧩 In an app, what is tap to Save? (a) a button (b) data (c) an input (d) a screen
  33. 33.Which of these is a screen? (a) the home page of an app (b) a box to type a name (c) your friends list (d) your high score
  34. 34.👆 What kind of event is this: the user presses Save? (a) a timer event (b) a tap event (c) a text event (d) a load event
  35. 35.🧩 Which of these is a button on this screen?
    [title] New Note
    [slider] Brightness
    [button] Back
    [switch] Remind me
    [text box] Due date
    (a) Brightness (b) Due date (c) Back (d) Remind me
  36. 36.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 38; // start at 38
    line 2: points = points + 3; // add 3
    line 3: points = points - 4; // take away 4
    line 4: points = points + 4; // add 3
    line 5: show(points); // show it
  37. 37.Which of these is an input? (a) a result on screen (b) tapping a button (c) adding up a bill (d) sorting the scores
  38. 38.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) ready to release (c) well planned (d) missing a must-have
  39. 39.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(75, 3));
  40. 40.🗒️ When should nice-to-have features be built? (a) on day one (b) never (c) after the must-haves (d) before anything

Answer key

  1. 43
  2. ask and watch users
  3. 50
  4. 450
  5. Yes
  6. Hint
  7. False
  8. Test 1
  9. Welcome!
  10. fast-flashing lights
  11. 720
  12. adding up a bill
  13. captions on videos
  14. Hi, Arjun
  15. working out a tip
  16. 3
  17. the idea stage
  18. a wireframe
  19. goes to the last screen
  20. fix and improve
  21. processing
  22. 410
  23. 225
  24. tapping a button
  25. a user need
  26. True
  27. the back button
  28. good UI but poor UX
  29. Low battery
  30. 1
  31. a clear next step
  32. a button
  33. the home page of an app
  34. a tap event
  35. Back
  36. 40
  37. tapping a button
  38. missing a must-have
  39. 225
  40. after the must-haves

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