← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 176 · 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.True or false: “sudden loud sounds” helps everyone use the app. (a) False (b) True
  2. 2.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting homework: 18 votes
    missing the bus: 8 votes
    forgetting birthdays: 23 votes
  3. 3.🖼️ In this wireframe (top to bottom), what is right below the Save button?
    [ Save button ]
    [ search box ]
    [ tab bar ]
    [ big picture ]
    (a) big picture (b) tab bar (c) search box
  4. 4.💾 What number does this code show?
    let score = 9;
    score = score - 5;
    score = score + 1;
    show(score);
  5. 5.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) pick a theme colour (b) earn stickers (c) add a homework task (d) share tasks to friends
  6. 6.Which of these happens at the build stage? (a) share the download link (b) let friends try it (c) spot a problem to solve (d) write the code
  7. 7.True or false: a party-invite app for friends needs your contacts. (a) True (b) False
  8. 8.True or false: a bus tracker is the best fit for a reader who finds small print hard. (a) False (b) True
  9. 9.🔁 What number does this code show?
    let runs = [3, 17, 10, 2, 10];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  10. 10.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Shop → Address → Offers
    Design B: Home → Confirm → Results → Shop → Address → Cart
  11. 11.Which of these is true of an app? (a) opens in a web browser (b) has a home-screen icon (c) opens from a link (d) needs no installing
  12. 12.👆 What kind of event is this: one second passes? (a) a tap event (b) a load event (c) a text event (d) a timer event
  13. 13.♿ What should every icon-only button have for screen readers? (a) a long animation (b) a bright colour (c) a text label (d) a sound
  14. 14.True or false: a big-text reader is the best fit for a reader who finds small print hard. (a) True (b) False
  15. 15.🔁 What number does this code show?
    let runs = [32, 75, 99, 34];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  16. 16.🔀 What does this battery rule show?
    let battery = 1;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  17. 17.🔀 What does this battery rule show?
    let battery = 40;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  18. 18.🔢 After an app is released, which comes first: “list what to fix” or “read user reviews”? (a) read user reviews (b) list what to fix
  19. 19.Which of these app ideas solves no real problem? (a) a free study-room finder (b) a bill splitter (c) a blank grey screen (d) a medicine reminder
  20. 20.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Shop → Pens → Results → Size → Cart → Pay
    Design B: Home → Offers → Menu → Cart
  21. 21.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) export to a file (b) add money spent (c) add money received (d) show the balance
  22. 22.True or false: a weather-near-me app needs the microphone. (a) True (b) False
  23. 23.🔁 Why use a loop to show 100 messages? (a) it is slower (b) it hides them (c) less code to write (d) it uses more lines
  24. 24.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(500) → expected 0
    Test 2: delivery(350) → expected 40
    Test 3: delivery(750) → expected 0
  25. 25.💾 Which works with no internet at all? (a) a shared chat (b) a cloud backup (c) data saved on the phone (d) a cloud leaderboard
  26. 26.🖼️ In this wireframe (top to bottom), what is right above the tab bar?
    [ Save button ]
    [ tab bar ]
    [ big picture ]
    [ title text ]
    [ top bar ]
    (a) big picture (b) title text (c) Save button (d) top bar
  27. 27.Which of these is true of a menu button? (a) switches main sections (b) undoes one move (c) sits at the bottom (d) hides extra links
  28. 28.True or false: tapping a button is an output. (a) True (b) False
  29. 29.🔍 Which is the odd one out? (a) the screen layout (b) how users feel after (c) the icon shapes (d) the button colours
  30. 30.Which of these requests is fair? (a) timer → your photos (b) map app → location (c) calculator → location (d) torch → contacts
  31. 31.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Next button: 28 px tall
    Save button: 48 px tall
    Back button: 56 px tall
    (a) Save (b) Back (c) Next
  32. 32.🧰 What does return do in a function? (a) deletes the app (b) closes the screen (c) repeats the code (d) sends back a value
  33. 33.💾 What number does this code show?
    let lives = 8;
    lives = lives - 5;
    lives = lives + 3;
    show(lives);
  34. 34.🖼️ How many parts (boxes) does this wireframe have?
    [ title text ]
    [ Save button ]
    [ Add button ]
    [ big picture ]
    [ search box ]
    [ menu icon ]
  35. 35.💡 Which app idea solves this problem: a patient misses doses? (a) a medicine reminder (b) a study-room finder (c) a lost-and-found board (d) a bill splitter
  36. 36.🧪 What is the actual result of a test? (a) the test’s number (b) what the app really does (c) the app’s name (d) what we hope for
  37. 37.🧩 Which part lets the user give the app information? (a) a title (b) an input (c) a logo (d) an icon
  38. 38.True or false: chat messages to friends fits saving in the cloud. (a) True (b) False
  39. 39.🔀 With if / else if / else, how many parts run? (a) all of them (b) only one (c) none (d) two
  40. 40.⚙️ In an app, is typing your age an input, processing or an output? (a) input (b) output (c) processing

Answer key

  1. False
  2. 49
  3. search box
  4. 5
  5. add a homework task
  6. write the code
  7. True
  8. False
  9. 17
  10. 2
  11. has a home-screen icon
  12. a timer event
  13. a text label
  14. True
  15. 2
  16. Low battery
  17. Battery OK
  18. read user reviews
  19. a blank grey screen
  20. 3
  21. export to a file
  22. False
  23. less code to write
  24. 3
  25. data saved on the phone
  26. Save button
  27. hides extra links
  28. False
  29. how users feel after
  30. map app → location
  31. Next
  32. sends back a value
  33. 6
  34. 6
  35. a medicine reminder
  36. what the app really does
  37. an input
  38. True
  39. only one
  40. input

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