← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 272 · 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.Which of these is about UI (the look)? (a) the font size (b) whether users get lost (c) how fast a task is done (d) how many taps it takes
  2. 2.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Save button ]
    [ list of items ]
    [ menu icon ]
    [ top bar ]
    [ search box ]
    [ filter buttons ]
    (a) list of items (b) top bar (c) filter buttons (d) search box
  3. 3.🧰 Why write a function? (a) to hide errors (b) to make code longer (c) to reuse code (d) to slow the app
  4. 4.💾 pop() takes off the last item. What does this code show?
    let songs = ["Stars", "Monsoon", "Rain", "Sunrise"];
    songs.pop();
    show(songs[songs.length - 1]);
    (a) Rain (b) Stars (c) Sunrise (d) Monsoon
  5. 5.👆 A tap handler runs how many times if the user taps 4 times? (a) 1 (b) 8 (c) 0 (d) 4
  6. 6.🐞 A comment in code (after //) is for ___. (a) the battery (b) the phone screen (c) people reading the code (d) the app store
  7. 7.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [text box] Due date
    [text box] Age
    [switch] Dark mode
    [button] Help
  8. 8.🔀 Why plan the user flow before building? (a) to add more taps (b) to hide the buttons (c) to skip testing (d) so each step is clear
  9. 9.Which of these is a user need? (a) a reminder alarm (b) “I keep missing the bus” (c) a share button (d) a dark mode switch
  10. 10.Which colour pair is easy to read? (a) yellow on white (b) black on yellow (c) dark blue on black (d) pale pink on white
  11. 11.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Done button: 64 px tall
    Save button: 28 px tall
    Send button: 48 px tall
    (a) Done (b) Send (c) Save
  12. 12.💡 After a survey, which need should version 1 solve? (a) a random need (b) the rarest need (c) the most common need (d) the newest trend
  13. 13.Which of these happens at the plan stage? (a) write the store text (b) put it on an app store (c) pick the features (d) write the code
  14. 14.💡 Which app idea solves this problem: friends argue over who pays? (a) a lost-and-found board (b) a bill splitter (c) a homework planner (d) a study-room finder
  15. 15.True or false: you write the code at the plan stage. (a) True (b) False
  16. 16.🔢 After an app is released, which comes LAST? (a) test it again (b) list what to fix (c) read user reviews (d) release an update
  17. 17.🔀 When does the else part run? (a) when the test is true (b) always (c) never (d) when the test is false
  18. 18.🐞 Finding and fixing bugs is called ___. (a) downloading (b) decorating (c) debugging (d) designing
  19. 19.Which of these app ideas solves a real problem? (a) a button with no action (b) an app that just says hi (c) a blank grey screen (d) a medicine reminder
  20. 20.💡 Which app idea solves this problem: a patient misses doses? (a) a bill splitter (b) a medicine reminder (c) a lost-and-found board (d) a study-room finder
  21. 21.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Item → Cart → Confirm → Search → Pens
    Design B: Home → Menu → Address → Cart → Search → Size → Results
  22. 22.🔢 In a quiz-app flow, which comes LAST? (a) see if it is right (b) tap “Start quiz” (c) pick an answer (d) see the final score
  23. 23.🛠️ At which stage do you connect the data? (a) the release stage (b) the idea stage (c) the plan stage (d) the build stage
  24. 24.🖼️ In this wireframe (top to bottom), what is right above the title text?
    [ Save button ]
    [ list of items ]
    [ title text ]
    [ big picture ]
    [ filter buttons ]
    [ search box ]
    (a) Save button (b) big picture (c) filter buttons (d) list of items
  25. 25.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) easy cases (b) old cases (c) edge cases (d) phone cases
  26. 26.🔁 What number does this code show?
    let scores = [38, 30, 35, 90, 61];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  27. 27.Which of these is true of the back button? (a) switches main sections (b) opens a list of pages (c) goes to the last screen (d) shows 3 to 5 icons
  28. 28.👆 What kind of event is this: one second passes? (a) a tap event (b) a text event (c) a timer event (d) a load event
  29. 29.👆 What kind of event is this: a 5-minute alarm ends? (a) a text event (b) a load event (c) a tap event (d) a timer event
  30. 30.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) water animations (b) share your streak (c) set a reminder time (d) custom alert sounds
  31. 31.⚙️ What number does this app show?
    let price = 20; // typed by the user
    let qty = 3; // typed by the user
    let total = price * qty;
    show(total);
  32. 32.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 34; // start at 34
    line 2: coins = coins + 5; // add 4
    line 3: coins = coins - 1; // take away 1
    line 4: coins = coins + 6; // add 6
    line 5: show(coins); // show it
    (a) line 2 (b) line 1 (c) line 3 (d) line 4
  33. 33.🔀 What does this battery rule show?
    let battery = 26;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  34. 34.Which of these is true of an app? (a) needs no installing (b) has a home-screen icon (c) opens from a link (d) opens in a web browser
  35. 35.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Zoya", "Arjun", "Meera", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Arjun (c) Hi, Kabir (d) Hi, Zoya
  36. 36.🧭 About how many tabs suit a tab bar best? (a) 20 (b) 10 to 12 (c) 3 to 5 (d) 1
  37. 37.🔍 Which is the odd one out? (a) adding up a bill (b) tapping a button (c) typing your age (d) speaking a command
  38. 38.👥 A cricket club app has 105 players, 90 coaches and 25 fans as users. How many users does it have in all?
  39. 39.🧪 What is the ACTUAL result of Test 1?
    🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
    function price(age) {
      if (age <= 12) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 100
    Test 2: price(15) → expected 100
    Test 3: price(9) → expected 50
  40. 40.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(34));

Answer key

  1. the font size
  2. filter buttons
  3. to reuse code
  4. Rain
  5. 4
  6. people reading the code
  7. 3
  8. so each step is clear
  9. “I keep missing the bus”
  10. black on yellow
  11. Save
  12. the most common need
  13. pick the features
  14. a bill splitter
  15. False
  16. release an update
  17. when the test is false
  18. debugging
  19. a medicine reminder
  20. a medicine reminder
  21. 6
  22. see the final score
  23. the build stage
  24. list of items
  25. edge cases
  26. 1
  27. goes to the last screen
  28. a timer event
  29. a timer event
  30. set a reminder time
  31. 60
  32. line 2
  33. Battery OK
  34. has a home-screen icon
  35. Hi, Riya
  36. 3 to 5
  37. adding up a bill
  38. 220
  39. 100
  40. 102

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