← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 486 · 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.💡 A good app idea starts with ___. (a) many colours (b) a long name (c) a cool logo (d) a problem to solve
  2. 2.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 10; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 2 (b) line 3 (c) line 1
  3. 3.🖼️ How many parts (boxes) does this wireframe have?
    [ menu icon ]
    [ Add button ]
    [ tab bar ]
    [ filter buttons ]
    [ list of items ]
  4. 4.🔢 In a food-order flow, which comes first: “open the menu” or “pick a dish”? (a) pick a dish (b) open the menu
  5. 5.🔍 Which is the odd one out? (a) a unit converter (b) an alarm clock (c) a times-table quiz (d) a calculator
  6. 6.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 45; // start at 45
    line 2: coins = coins - 2; // take away 1
    line 3: coins = coins * 2; // double it
    line 4: coins = coins * 2; // double it
    line 5: show(coins); // show it
    (a) line 1 (b) line 4 (c) line 3 (d) line 2
  7. 7.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 700) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(1000) → expected 0
    Test 2: delivery(700) → expected 0
    Test 3: delivery(550) → expected 40
    (a) Test 2 (b) Test 3 (c) Test 1
  8. 8.Which of these is an input? (a) checking a password (b) working out a tip (c) a beep sound (d) tapping a button
  9. 9.👥 A school app has 195 students, 300 teachers and 60 parents as users. How many more teachers than students are there?
  10. 10.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(85, 6));
  11. 11.🔀 What does this battery rule show?
    let battery = 91;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  12. 12.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Zoya", "Arjun", "Aman", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Kabir (c) Hi, Zoya (d) Hi, Arjun
  13. 13.🔁 What does a loop do? (a) deletes code (b) saves photos (c) repeats code (d) draws icons
  14. 14.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 47; // start at 46
    line 2: lives = lives - 3; // take away 3
    line 3: lives = lives + 4; // add 4
    line 4: lives = lives + 4; // add 4
    line 5: show(lives); // show it
  15. 15.🗒️ Version 1 of a homework planner must be ready in 10 days. How many days are left for extras after the must-haves?
    add a homework task: 2 days
    set a due date: 3 days
    see tasks by day: 3 days
  16. 16.🔢 In a sign-up flow, which comes first: “make a password” or “tap “Sign up””? (a) make a password (b) tap “Sign up”
  17. 17.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) add a homework task (c) pick a theme colour (d) share tasks to friends
  18. 18.🐞 What is a bug? (a) a nice icon (b) a new feature (c) a mistake in the code (d) a fast phone
  19. 19.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Friend list”
    2. open “Score card”
    3. open “Map”
    4. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  20. 20.🔢 In a sign-up flow, which comes LAST? (a) make a password (b) enter the code sent (c) see the home screen (d) tap “Sign up”
  21. 21.Which of these requests asks for too much? (a) calculator → location (b) map app → location (c) voice notes → microphone (d) camera app → camera
  22. 22.True or false: notes to read offline fits saving in the cloud. (a) False (b) True
  23. 23.🖼️ In this wireframe (top to bottom), what is right above the list of items?
    [ search box ]
    [ Add button ]
    [ big picture ]
    [ list of items ]
    [ filter buttons ]
    (a) Add button (b) big picture (c) filter buttons (d) search box
  24. 24.Which of these is true of an app? (a) opens in a web browser (b) opens from a link (c) needs no installing (d) has a home-screen icon
  25. 25.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Cart → Search → Pay → Menu → Size → Pens
    Design B: Home → Search → Pens → Cart
    (a) Design B (b) Design A
  26. 26.True or false: the home page of an app is an input. (a) False (b) True
  27. 27.🧩 In an app, what is tap to go Next? (a) an input (b) data (c) a button (d) a screen
  28. 28.🧪 What is the ACTUAL result of Test 1?
    🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 400) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(400) → expected 0
    Test 2: delivery(650) → expected 0
    Test 3: delivery(350) → expected 40
  29. 29.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Edit photo”
    2. open “Edit photo”
    3. tap the Quiz tab
    4. open “Match report”
    Which screen are you on now?
    (a) Quiz (b) Edit photo (c) Lessons (d) Match report
  30. 30.👥 A clinic app has 200 patients, 60 doctors and 110 nurses as users. Which user group is the biggest? (a) nurses (b) doctors (c) patients
  31. 31.🔢 In a sign-up flow, what comes right after “make a password”? (a) see the home screen (b) open the app (c) enter the code sent (d) tap “Sign up”
  32. 32.True or false: a recipe finder is the best fit for a cook with no idea for dinner. (a) True (b) False
  33. 33.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 36; // start at 36
    line 2: lives = lives * 2; // double it
    line 3: lives = lives - 6; // add 6
    line 4: lives = lives + 2; // add 2
    line 5: show(lives); // show it
  34. 34.Which of these fits saving on the phone? (a) the sound on/off setting (b) a class leaderboard (c) a shared to-do list (d) chat messages to friends
  35. 35.True or false: a draft you are typing fits saving in the cloud. (a) False (b) True
  36. 36.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(50, 2));
  37. 37.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Title: 22 px
    Footer: 28 px
    Body text: 26 px
    Caption: 18 px
    Menu: 9 px
    (a) Body text (b) Footer (c) Title (d) Menu
  38. 38.🔢 After an app is released, which comes first: “list what to fix” or “read user reviews”? (a) list what to fix (b) read user reviews
  39. 39.🎯 Is this a user need or a feature: “I forget my homework”? (a) a feature (b) a user need
  40. 40.True or false: the theme colours is about UX (the experience). (a) True (b) False

Answer key

  1. a problem to solve
  2. line 2
  3. 5
  4. open the menu
  5. a times-table quiz
  6. line 2
  7. Test 2
  8. tapping a button
  9. 105
  10. 510
  11. Battery OK
  12. Hi, Meera
  13. repeats code
  14. 51
  15. 2
  16. tap “Sign up”
  17. add a homework task
  18. a mistake in the code
  19. 2
  20. see the home screen
  21. calculator → location
  22. False
  23. big picture
  24. has a home-screen icon
  25. Design B
  26. False
  27. a button
  28. 0
  29. Match report
  30. patients
  31. enter the code sent
  32. True
  33. 80
  34. the sound on/off setting
  35. False
  36. 100
  37. Menu
  38. read user reviews
  39. a user need
  40. False

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