← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 226 · 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.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) add money spent (b) export to a file (c) savings stickers (d) pie-chart colours
  2. 2.🎯 Which app would help this user most: a pupil juggling five projects? (a) a water reminder (b) a pocket-money tracker (c) a homework planner (d) a recipe finder
  3. 3.👥 A school app has 135 students, 110 teachers and 300 parents as users. How many users does it have in all?
  4. 4.🧰 In function tip(bill), what is bill? (a) a screen (b) an event (c) a parameter (d) a loop
  5. 5.🔢 In a food-order flow, what comes right after “open the menu”? (a) track the order (b) pick a dish (c) check the cart (d) pay for the order
  6. 6.🔀 What number does this shop app show?
    let total = 670;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  7. 7.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a lost-and-found board (b) a study-room finder (c) a bill splitter (d) a medicine reminder
  8. 8.Which of these helps everyone use the app? (a) icons with no labels (b) sudden loud sounds (c) strong colour contrast (d) colour as the only clue
  9. 9.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Map”
    2. open “Score card”
    3. tap Back
    4. tap the Me tab
    5. open “Video”
    Which screen are you on now?
    (a) Lessons (b) Video (c) Map (d) Score card
  10. 10.🧭 Why should every screen show where you are? (a) to use more battery (b) to hide the menu (c) to look busy (d) so users do not get lost
  11. 11.🌗 Is light grey on white easy or hard to read on a button? (a) easy to read (b) hard to read
  12. 12.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) check the answer (b) an avatar shop (c) show a question (d) show the score
  13. 13.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) delete the app (c) buy a new phone (d) find where it goes wrong
  14. 14.💾 Where should the app save your last game level: on the phone or in the cloud? (a) in the cloud (b) on the phone
  15. 15.🎯 Why learn about users before you build? (a) to make it longer (b) to slow it down (c) to build what they need (d) to pick a logo
  16. 16.🧪 A test case is an input together with its ___. (a) font size (b) app icon (c) screen colour (d) expected result
  17. 17.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Aman", "Zoya", "Kabir", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Aman (c) Hi, Zoya (d) Hi, Riya
  18. 18.🔁 What number does this code show?
    let scores = [7, 20, 8];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  19. 19.🔢 In a sign-up flow, what comes right after “tap “Sign up””? (a) see the home screen (b) type name and email (c) open the app (d) make a password
  20. 20.🔁 What number does this code show?
    let runs = [3, 15, 2, 18, 4];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  21. 21.🔀 What number does this shop app show?
    let total = 760;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  22. 22.🔀 What does this PIN rule show?
    let pin = "760";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  23. 23.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) water animations (b) see today’s total (c) log a glass of water (d) set a reminder time
  24. 24.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Caption: 19 px
    Footer: 18 px
    Hint: 22 px
    Title: 11 px
    Menu: 24 px
  25. 25.True or false: a water reminder is the best fit for a runner who forgets to sip water. (a) True (b) False
  26. 26.👆 What kind of event is this: the user taps Play? (a) a tap event (b) a timer event (c) a load event (d) a text event
  27. 27.🧩 In an app, what is a switch for dark mode? (a) a screen (b) an input (c) a button (d) data
  28. 28.🖼️ In this wireframe (top to bottom), what is right below the menu icon?
    [ menu icon ]
    [ top bar ]
    [ tab bar ]
    [ list of items ]
    [ filter buttons ]
    [ search box ]
    (a) tab bar (b) top bar (c) list of items (d) filter buttons
  29. 29.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 46; // start at 46
    line 2: score = score - 4; // take away 4
    line 3: score = score + 4; // add 3
    line 4: show(score); // show it
  30. 30.Which of these is true of a menu button? (a) switches main sections (b) undoes one move (c) goes to the last screen (d) hides extra links
  31. 31.🔍 Which is the odd one out? (a) text that can grow (b) big touch targets (c) labels on every icon (d) sudden loud sounds
  32. 32.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 5 or more right answers.
    function result(right) {
      if (right > 5) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(4) → expected Try again
    Test 2: result(5) → expected Pass
    Test 3: result(7) → expected Pass
    (a) Test 3 (b) Test 2 (c) Test 1
  33. 33.👥 A school app has 250 students, 215 teachers and 255 parents as users. How many more parents than students are there?
  34. 34.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) rate the driver (c) pick your bus stop (d) a dark mode
  35. 35.♿ Does this help everyone, or make the app harder to use: strong colour contrast? (a) helps everyone (b) makes it harder
  36. 36.🔀 A screen with no way forward or back is called a ___. (a) home screen (b) dead end (c) shortcut (d) tab bar
  37. 37.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ search box ]
    [ Save button ]
    [ list of items ]
    [ menu icon ]
    [ filter buttons ]
    [ big picture ]
    (a) list of items (b) Save button (c) big picture (d) search box
  38. 38.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 46; // start at 46
    line 2: lives = lives + 5; // add 4
    line 3: lives = lives + 5; // add 5
    line 4: lives = lives - 5; // take away 5
    line 5: show(lives); // show it
  39. 39.⚙️ What number does this app show?
    let bill = 106; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  40. 40.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) share your streak (b) water animations (c) custom alert sounds (d) set a reminder time

Answer key

  1. add money spent
  2. a homework planner
  3. 545
  4. a parameter
  5. pick a dish
  6. 620
  7. a study-room finder
  8. strong colour contrast
  9. Video
  10. so users do not get lost
  11. hard to read
  12. an avatar shop
  13. find where it goes wrong
  14. on the phone
  15. to build what they need
  16. expected result
  17. Hi, Meera
  18. 20
  19. type name and email
  20. 18
  21. 710
  22. Use 4 digits
  23. water animations
  24. 1
  25. True
  26. a tap event
  27. an input
  28. top bar
  29. 46
  30. hides extra links
  31. sudden loud sounds
  32. Test 2
  33. 5
  34. pick your bus stop
  35. helps everyone
  36. dead end
  37. big picture
  38. 51
  39. 53
  40. set a reminder time

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