← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 248 · 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 badge does this quiz app show?
    let marks = 71;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  2. 2.👥 A clinic app has 135 patients, 230 doctors and 285 nurses as users. Which user group is the biggest? (a) patients (b) doctors (c) nurses
  3. 3.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 195; // typed by the user
    line 2: let friends = 5; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 4 (b) line 2 (c) line 3 (d) line 1
  4. 4.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Meera"));
    (a) Meera (b) greet (c) Hi, Meera! (d) Hi, name!
  5. 5.True or false: you add the buttons at the build stage. (a) False (b) True
  6. 6.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Label: 24 px
    Hint: 10 px
    Body text: 21 px
    Title: 14 px
  7. 7.📱 Which one updates from the store: an app or a website? (a) a website (b) an app
  8. 8.🧪 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(10) → expected Pass
    Test 2: result(9) → expected Pass
    Test 3: result(5) → expected Try again
  9. 9.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) export to a file (b) add money received (c) show the balance (d) add money spent
  10. 10.👆 The user taps the button 6 times. What number does the label show now?
    let points = 1;
    button.onTap = function () {
      points = points + 2;
      label.text = points;
    };
  11. 11.🔢 When you make an app, which comes first: “plan the screens” or “release it”? (a) plan the screens (b) release it
  12. 12.🔁 list.length tells you ___. (a) the last item (b) how many items it has (c) the first item (d) the biggest item
  13. 13.💡 Does an app idea like a medicine reminder solve a real problem? (a) No (b) Yes
  14. 14.Which of these is about UX (the experience)? (a) the icon shapes (b) the screen layout (c) the font size (d) how fast a task is done
  15. 15.🔢 In a quiz-app flow, which comes first: “read a question” or “see if it is right”? (a) read a question (b) see if it is right
  16. 16.Which of these happens at the build stage? (a) sketch the screens (b) write down the bugs (c) let friends try it (d) add the buttons
  17. 17.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 50;
    }
    show(fee(12) + fee(12));
  18. 18.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a free study-room finder (c) a bill splitter (d) a page of random dots
  19. 19.True or false: a draft you are typing fits saving in the cloud. (a) True (b) False
  20. 20.Which of these happens at the test stage? (a) sketch the screens (b) connect the data (c) try every button (d) write the code
  21. 21.🔀 What does this sign-up rule show?
    let age = 14;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  22. 22.🔢 In a food-order flow, what comes right after “add it to the cart”? (a) open the menu (b) check the cart (c) pay for the order (d) track the order
  23. 23.True or false: a website updates from the store. (a) True (b) False
  24. 24.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 44; // start at 44
    line 2: score = score + 2; // add 2
    line 3: score = score + 3; // take away 3
    line 4: score = score + 2; // add 2
    line 5: show(score); // show it
  25. 25.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Help button: 36 px tall
    Start button: 72 px tall
    Send button: 48 px tall
    Cancel button: 60 px tall
    (a) Send (b) Cancel (c) Start (d) Help
  26. 26.🔍 Which is the odd one out? (a) a water reminder (b) a sleep tracker (c) an alarm clock (d) a step counter
  27. 27.🧩 Which part lets the user give the app information? (a) a title (b) an icon (c) a logo (d) an input
  28. 28.🗒️ Why keep version 1 small? (a) to look bigger (b) to use up storage (c) to confuse users (d) to learn from users soon
  29. 29.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) see tasks by day (c) share tasks to friends (d) add a homework task
  30. 30.🔢 After an app is released, what comes right after “test it again”? (a) list what to fix (b) fix and improve (c) release an update (d) read user reviews
  31. 31.🧪 What is the ACTUAL result of Test 2?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 40
    Test 2: delivery(1200) → expected 0
    Test 3: delivery(1100) → expected 0
  32. 32.True or false: a final design has no real colours. (a) True (b) False
  33. 33.🔍 Which is the odd one out? (a) taking a photo (b) speaking a command (c) tapping a button (d) working out a tip
  34. 34.🎯 Which app would help this user most: a pupil juggling five projects? (a) a bus tracker (b) a homework planner (c) a recipe finder (d) a big-text reader
  35. 35.🔢 In a sign-up flow, which comes first: “open the app” or “tap “Sign up””? (a) open the app (b) tap “Sign up”
  36. 36.✏️ Why draw a wireframe before coding? (a) it saves data (b) it adds colours (c) it runs the app (d) changes are quick
  37. 37.🧩 How many buttons does this app screen have?
    [title] New Note
    [switch] Sound
    [button] Send
    [text box] City
    [button] Start
    [button] Help
  38. 38.Which of these is an input? (a) tapping a button (b) a pop-up message (c) a buzz (vibration) (d) checking a password
  39. 39.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(1) + points(2));
  40. 40.💡 A good app idea starts with ___. (a) a cool logo (b) a long name (c) many colours (d) a problem to solve

Answer key

  1. Silver
  2. nurses
  3. line 3
  4. Hi, Meera!
  5. True
  6. 2
  7. an app
  8. 3
  9. export to a file
  10. 13
  11. plan the screens
  12. how many items it has
  13. Yes
  14. how fast a task is done
  15. read a question
  16. add the buttons
  17. 100
  18. a page of random dots
  19. False
  20. try every button
  21. Welcome!
  22. check the cart
  23. False
  24. 51
  25. Help
  26. an alarm clock
  27. an input
  28. to learn from users soon
  29. share tasks to friends
  30. release an update
  31. 0
  32. False
  33. working out a tip
  34. a homework planner
  35. open the app
  36. changes are quick
  37. 3
  38. tapping a button
  39. 40
  40. a problem to solve

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