← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 796 · 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.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Meera"));
    (a) greet (b) Welcome, name! (c) Meera (d) Welcome, Meera!
  2. 2.🧩 Scores, notes and settings that an app keeps are called ___. (a) data (b) tabs (c) screens (d) buttons
  3. 3.Which of these app ideas solves no real problem? (a) a free study-room finder (b) a library due-date alert (c) a lost-and-found board (d) a button with no action
  4. 4.True or false: a guitar tuner needs your location. (a) True (b) False
  5. 5.🔍 Which is the odd one out? (a) how fast a task is done (b) how many taps it takes (c) the button colours (d) whether users get lost
  6. 6.🔢 When you make an app, which comes first: “get an idea” or “plan the screens”? (a) get an idea (b) plan the screens
  7. 7.True or false: a medicine reminder solves no real problem. (a) True (b) False
  8. 8.🗒️ 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) log a glass of water
  9. 9.🗒️ What is a must-have feature? (a) a nice extra (b) one the app cannot skip (c) a colour theme (d) a sound effect
  10. 10.🧭 Which part of navigation goes to the last screen? (a) a menu button (b) a tab bar (c) the back button
  11. 11.Which of these app ideas solves a real problem? (a) a bill splitter (b) an app that just says hi (c) a button with no action (d) a blank grey screen
  12. 12.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) see where the bus is (c) rate the driver (d) show arrival time
  13. 13.Which of these is about UX (the experience)? (a) the theme colours (b) the font size (c) the screen layout (d) how fast a task is done
  14. 14.🧩 In an app, what is your high score? (a) a button (b) an input (c) data (d) a screen
  15. 15.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) on the phone (b) in the cloud
  16. 16.🔘 Is this good or poor button design: icons with no meaning? (a) good design (b) poor design
  17. 17.🔀 What is a user flow? (a) a type of font (b) the path through screens (c) a charging cable (d) a colour theme
  18. 18.🔀 What does this sign-up rule show?
    let age = 11;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  19. 19.🔁 What number does this code show?
    let steps = [9, 17, 16, 19];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  20. 20.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 35; // start at 35
    line 2: lives = lives + 5; // add 5
    line 3: lives = lives + 2; // add 2
    line 4: lives = lives - 5; // add 5
    line 5: show(lives); // show it
    (a) line 2 (b) line 4 (c) line 3 (d) line 1
  21. 21.💾 Where should the app save the sound on/off setting: on the phone or in the cloud? (a) on the phone (b) in the cloud
  22. 22.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age <= 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 100
    Test 2: price(19) → expected 100
    Test 3: price(11) → expected 50
    (a) Test 1 (b) Test 3 (c) Test 2
  23. 23.Which of these fits saving on the phone? (a) chat messages to friends (b) a shared to-do list (c) a class leaderboard (d) a draft you are typing
  24. 24.🔘 Is this good or poor button design: strong colour contrast? (a) poor design (b) good design
  25. 25.🔢 After an app is released, what comes right after “fix and improve”? (a) release an update (b) read user reviews (c) list what to fix (d) test it again
  26. 26.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right > 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(9) → expected Pass
    Test 2: result(12) → expected Pass
    Test 3: result(4) → expected Try again
  27. 27.Which of these is about UI (the look)? (a) the button colours (b) whether users get lost (c) how easy sign-up is (d) how many taps it takes
  28. 28.True or false: typing your age is an input. (a) True (b) False
  29. 29.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Aman"));
    (a) Aman (b) Welcome, Aman! (c) greet (d) Welcome, name!
  30. 30.🔁 Why use a loop to show 100 messages? (a) it uses more lines (b) it hides them (c) it is slower (d) less code to write
  31. 31.Which of these is true of a wireframe? (a) is a quick sketch (b) shows the real fonts (c) has the real colours (d) looks like the real app
  32. 32.👆 The user taps the button 4 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) OFF (b) ON
  33. 33.🔍 Which is the odd one out? (a) draw the user flow (b) list what users need (c) talk to possible users (d) spot a problem to solve
  34. 34.💡 How can you check that people really have the problem? (a) just guess (b) copy another app (c) pick a colour (d) ask possible users
  35. 35.🔀 What does this battery rule show?
    let battery = 40;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  36. 36.🔐 Is this permission request fair or too much: timer → your photos? (a) too much (b) fair
  37. 37.🔍 Which is the odd one out? (a) spot a problem to solve (b) talk to possible users (c) list what users need (d) write the code
  38. 38.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) buy a new phone (c) find where it goes wrong (d) delete the app
  39. 39.🌗 Is black on yellow easy or hard to read on a button? (a) easy to read (b) hard to read
  40. 40.🎯 Is this a user need or a feature: “What should I cook?”? (a) a feature (b) a user need

Answer key

  1. Welcome, Meera!
  2. data
  3. a button with no action
  4. False
  5. the button colours
  6. get an idea
  7. False
  8. log a glass of water
  9. one the app cannot skip
  10. the back button
  11. a bill splitter
  12. rate the driver
  13. how fast a task is done
  14. data
  15. on the phone
  16. poor design
  17. the path through screens
  18. Ask a parent
  19. 61
  20. line 4
  21. on the phone
  22. Test 1
  23. a draft you are typing
  24. good design
  25. test it again
  26. 3
  27. the button colours
  28. True
  29. Welcome, Aman!
  30. less code to write
  31. is a quick sketch
  32. OFF
  33. draw the user flow
  34. ask possible users
  35. Battery OK
  36. too much
  37. write the code
  38. find where it goes wrong
  39. easy to read
  40. a user need

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