← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 552 · 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: an alarm clock is a learning app. (a) False (b) True
  2. 2.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Send button: 40 px tall
    Save button: 64 px tall
    Cancel button: 32 px tall
    Help button: 60 px tall
  3. 3.🧰 What is a function? (a) a list of colours (b) a named block of code (c) a type of phone (d) a screen size
  4. 4.🔁 What number does this code show?
    let runs = [15, 10, 16];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  5. 5.True or false: a homework planner is the best fit for a student who often misses the school bus. (a) False (b) True
  6. 6.🗂️ What kind of app is a cricket run chase? (a) a tool app (b) a learning app (c) a health app (d) a game
  7. 7.👆 The user taps the button 2 times. What number does the label show now?
    let coins = 3;
    button.onTap = function () {
      coins = coins + 1;
      label.text = coins;
    };
  8. 8.🧩 Which input is best for typing your name? (a) a text box (b) a slider (c) a picture (d) a switch
  9. 9.🐞 A comment in code (after //) is for ___. (a) the battery (b) the app store (c) the phone screen (d) people reading the code
  10. 10.🔀 What does this sign-up rule show?
    let age = 16;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  11. 11.🔍 Which is the odd one out? (a) try every button (b) write the store text (c) write down the bugs (d) let friends try it
  12. 12.True or false: an app that just says hi solves no real problem. (a) True (b) False
  13. 13.🧩 In an app, what is your high score? (a) an input (b) a screen (c) data (d) a button
  14. 14.👆 A tap handler runs how many times if the user taps 4 times? (a) 0 (b) 1 (c) 8 (d) 4
  15. 15.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a final design (b) a wireframe
  16. 16.Which of these is a user need? (a) “I forget my homework” (b) a search bar (c) a reminder alarm (d) a share button
  17. 17.♿ A screen has 9 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
  18. 18.Which of these fits saving in the cloud? (a) the sound on/off setting (b) a class leaderboard (c) your last game level (d) a draft you are typing
  19. 19.👆 The user taps the button 3 times. What number does the label show now?
    let score = 8;
    button.onTap = function () {
      score = score + 3;
      label.text = score;
    };
  20. 20.🔀 Why plan the user flow before building? (a) to skip testing (b) so each step is clear (c) to add more taps (d) to hide the buttons
  21. 21.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a big-text reader (b) a homework planner (c) a bus tracker (d) a pocket-money tracker
  22. 22.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “make a password”? (a) make a password (b) tap “Sign up”
  23. 23.True or false: a big, easy tap area is good button design. (a) True (b) False
  24. 24.🔢 After an app is released, which comes FIRST? (a) fix and improve (b) release an update (c) read user reviews (d) list what to fix
  25. 25.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 65; // typed by the user
    line 2: let qty = 2; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 1 (b) line 3 (c) line 2 (d) line 4
  26. 26.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(400) → expected 0
    Test 2: delivery(150) → expected 40
    Test 3: delivery(550) → expected 0
  27. 27.Which of these helps everyone use the app? (a) sudden loud sounds (b) fast-flashing lights (c) colour as the only clue (d) big touch targets
  28. 28.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “missing the bus”?
    missing the bus: 11 votes
    wasting pocket money: 5 votes
    losing water bottles: 18 votes
  29. 29.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 0
    Test 2: delivery(550) → expected 40
    Test 3: delivery(750) → expected 0
    (a) Test 1 (b) Test 2 (c) Test 3
  30. 30.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(70, 3));
  31. 31.🧩 In an app, what is a switch for dark mode? (a) data (b) an input (c) a button (d) a screen
  32. 32.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Video”
    2. tap the Chat tab
    3. tap the Chat tab
    How many times must you tap Back to reach the main screen of this tab?
  33. 33.🔐 Is this permission request fair or too much: voice notes → microphone? (a) too much (b) fair
  34. 34.Which of these is about UI (the look)? (a) whether users get lost (b) how fast a task is done (c) how easy sign-up is (d) the font size
  35. 35.👥 A library app has 230 readers, 125 librarians and 285 volunteers as users. Which user group is the biggest? (a) librarians (b) readers (c) volunteers
  36. 36.Which colour pair is easy to read? (a) dark blue on black (b) light grey on white (c) yellow on white (d) black on pale grey
  37. 37.💾 pop() takes off the last item. What does this code show?
    let notes = ["Sports", "Maths", "Hindi", "Music", "Science"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Maths (b) Sports (c) Music (d) Hindi
  38. 38.🧭 Where is a tab bar usually placed in a phone app? (a) inside a button (b) in the middle (c) at the bottom (d) nowhere
  39. 39.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
  40. 40.🎨 UX stands for user ___. (a) extra (b) experience (c) express (d) example

Answer key

  1. False
  2. 2
  3. a named block of code
  4. 16
  5. False
  6. a game
  7. 5
  8. a text box
  9. people reading the code
  10. Welcome!
  11. write the store text
  12. True
  13. data
  14. 4
  15. a final design
  16. “I forget my homework”
  17. 8
  18. a class leaderboard
  19. 17
  20. so each step is clear
  21. a bus tracker
  22. tap “Sign up”
  23. True
  24. read user reviews
  25. line 3
  26. 3
  27. big touch targets
  28. 7
  29. Test 1
  30. 210
  31. an input
  32. 0
  33. fair
  34. the font size
  35. volunteers
  36. black on pale grey
  37. Music
  38. at the bottom
  39. an app
  40. experience

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