← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 532 · 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 SHOULD it show, if every line did what its comment says?
    line 1: let score = 33; // start at 33
    line 2: score = score + 6; // add 3
    line 3: score = score * 2; // double it
    line 4: score = score - 1; // take away 1
    line 5: show(score); // show it
  2. 2.👆 Code that runs when an event happens is called a ___. (a) header (b) hashtag (c) headline (d) handler
  3. 3.🧩 Which input is best for turning something ON or OFF? (a) a switch (b) a slider (c) a title (d) a text box
  4. 4.♿ Accessibility means an app works for ___. (a) nobody (b) only experts (c) everyone (d) only the coder
  5. 5.🧪 A test case is an input together with its ___. (a) font size (b) screen colour (c) expected result (d) app icon
  6. 6.🎨 Is this about UI or UX: the screen layout? (a) UI (b) UX
  7. 7.🔀 A screen with no way forward or back is called a ___. (a) dead end (b) home screen (c) tab bar (d) shortcut
  8. 8.💾 pop() takes off the last item. What does this code show?
    let songs = ["Sunrise", "Kites", "Stars", "Ocean", "Monsoon"];
    songs.pop();
    show(songs[songs.length - 1]);
    (a) Ocean (b) Kites (c) Stars (d) Sunrise
  9. 9.💾 Saving data in the cloud lets you ___. (a) use it on any device (b) shrink the app (c) never need a password (d) skip the internet
  10. 10.True or false: you sketch the screens at the plan stage. (a) True (b) False
  11. 11.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Score card”
    2. tap the Lessons tab
    3. open “Friend list”
    4. open “Match report”
    Which screen are you on now?
    (a) Lessons (b) Friend list (c) Match report (d) Score card
  12. 12.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [button] Cancel
    [slider] Volume
    [text box] Name
    [text box] Email
  13. 13.🔁 What number does this code show?
    let marks = [18, 8, 6];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  14. 14.🗂️ What kind of app is a flashcard trainer? (a) a tool app (b) a game (c) a learning app (d) a health app
  15. 15.True or false: a homework planner is the best fit for a student who keeps forgetting due dates. (a) False (b) True
  16. 16.Which of these is true of an app? (a) is installed on a phone (b) opens in a web browser (c) opens from a link (d) needs no installing
  17. 17.True or false: a wireframe uses plain grey boxes. (a) True (b) False
  18. 18.🔀 With if / else if / else, how many parts run? (a) two (b) all of them (c) only one (d) none
  19. 19.True or false: a guitar tuner needs the microphone. (a) True (b) False
  20. 20.🧭 What does the back button usually do? (a) opens settings (b) deletes the page (c) goes to the last screen (d) closes all apps
  21. 21.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) share tasks to friends (c) see tasks by day (d) add a homework task
  22. 22.Which of these is an input? (a) a date picker (b) your high score (c) today’s step count (d) tap to Send
  23. 23.🔘 Our rule: buttons are at least 48 px tall. The Back button is 28 px tall. How many px taller must it be?
  24. 24.🔢 When you make an app, which comes first: “test the app” or “release it”? (a) test the app (b) release it
  25. 25.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) add a filter (b) write a caption (c) post the photo (d) take the photo
  26. 26.🐞 What is a bug? (a) a new feature (b) a mistake in the code (c) a nice icon (d) a fast phone
  27. 27.💡 After a survey, which need should version 1 solve? (a) the newest trend (b) a random need (c) the rarest need (d) the most common need
  28. 28.Which colour pair is hard to read? (a) dark blue on black (b) dark blue on white (c) white on black (d) white on dark green
  29. 29.Which of these happens at the release stage? (a) connect the data (b) try every button (c) put it on an app store (d) pick the features
  30. 30.🔍 Which is the odd one out? (a) big touch targets (b) captions on videos (c) labels on every icon (d) tiny tap areas
  31. 31.🔀 What number does this shop app show?
    let total = 330;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  32. 32.👆 What kind of event is this: a countdown hits zero? (a) a load event (b) a timer event (c) a text event (d) a tap event
  33. 33.True or false: you connect the data at the build stage. (a) False (b) True
  34. 34.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Meera", "Aman", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Riya (c) Hi, Aman (d) Hi, Kabir
  35. 35.True or false: a big-text reader is the best fit for a student who keeps forgetting due dates. (a) False (b) True
  36. 36.🔍 Which is the odd one out? (a) list what users need (b) sketch the screens (c) draw the user flow (d) pick the features
  37. 37.🧪 What is the ACTUAL result of Test 3?
    🎟️ 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(9) → expected 50
    Test 3: price(11) → expected 100
  38. 38.🔘 Is this good or poor button design: space between buttons? (a) good design (b) poor design
  39. 39.True or false: an app has a home-screen icon. (a) False (b) True
  40. 40.📱 Which one has a home-screen icon: an app or a website? (a) a website (b) an app

Answer key

  1. 71
  2. handler
  3. a switch
  4. everyone
  5. expected result
  6. UI
  7. dead end
  8. Ocean
  9. use it on any device
  10. True
  11. Match report
  12. 1
  13. 18
  14. a learning app
  15. True
  16. is installed on a phone
  17. True
  18. only one
  19. True
  20. goes to the last screen
  21. share tasks to friends
  22. a date picker
  23. 20
  24. test the app
  25. take the photo
  26. a mistake in the code
  27. the most common need
  28. dark blue on black
  29. put it on an app store
  30. tiny tap areas
  31. 330
  32. a timer event
  33. True
  34. Hi, Kabir
  35. False
  36. list what users need
  37. 100
  38. good design
  39. True
  40. an app

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