← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 251 · 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 true of a menu button? (a) undoes one move (b) switches main sections (c) hides extra links (d) sits at the bottom
  2. 2.🎯 Is this a user need or a feature: a reminder alarm? (a) a user need (b) a feature
  3. 3.True or false: a result on screen is an output. (a) False (b) True
  4. 4.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 8 or more right answers.
    function result(right) {
      if (right >= 8) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(8) → expected Pass
    Test 2: result(9) → expected Pass
    Test 3: result(5) → expected Try again
  5. 5.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 41; // start at 41
    line 2: score = score - 3; // take away 2
    line 3: score = score + 3; // add 3
    line 4: show(score); // show it
  6. 6.📱 Which one is installed on a phone: an app or a website? (a) an app (b) a website
  7. 7.Which of these app ideas solves no real problem? (a) a lost-and-found board (b) a medicine reminder (c) a page of random dots (d) a bill splitter
  8. 8.⚙️ What number does this app show?
    let price = 490; // typed by the user
    let off = 30; // typed by the user
    let pay = price - off;
    show(pay);
  9. 9.🔢 In a food-order flow, which comes LAST? (a) add it to the cart (b) track the order (c) open the menu (d) pick a dish
  10. 10.♿ Does this help everyone, or make the app harder to use: strong colour contrast? (a) helps everyone (b) makes it harder
  11. 11.True or false: tap to go Next is a screen. (a) True (b) False
  12. 12.True or false: the screen layout is about UX (the experience). (a) True (b) False
  13. 13.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 46; // start at 44
    line 2: coins = coins * 2; // double it
    line 3: coins = coins * 2; // double it
    line 4: show(coins); // show it
  14. 14.Which of these helps everyone use the app? (a) fast-flashing lights (b) strong colour contrast (c) colour as the only clue (d) tiny tap areas
  15. 15.🔍 Which is the odd one out? (a) tapping a button (b) working out a tip (c) sorting the scores (d) checking a password
  16. 16.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Arjun", "Riya", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Kabir (c) Hi, Arjun (d) Hi, Riya
  17. 17.🔐 Is this permission request fair or too much: calling app → contacts? (a) fair (b) too much
  18. 18.🔐 Which permission does a speak-to-type notes app really need? (a) location (b) the camera (c) the microphone (d) contacts
  19. 19.True or false: space between buttons is poor button design. (a) False (b) True
  20. 20.🔀 In a good flow, each screen should lead to ___. (a) the same screen (b) a clear next step (c) a random page (d) a dead end
  21. 21.💾 What number does this code show?
    let friends = ["Arjun", "Zoya"];
    friends.push("Meera");
    friends.push("Riya");
    show(friends.length);
  22. 22.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [button] Save
    [text box] Due date
    [text box] Age
    [text box] Email
  23. 23.🎯 A short made-up profile of a typical user is called a ___. (a) password (b) pixel (c) persona (d) protocol
  24. 24.🧪 One test case fails. Which one?
    🚚 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(350) → expected 40
    Test 2: delivery(550) → expected 0
    Test 3: delivery(400) → expected 0
    (a) Test 3 (b) Test 1 (c) Test 2
  25. 25.True or false: an app that just says hi solves no real problem. (a) False (b) True
  26. 26.🔢 In a quiz-app flow, what comes right after “see if it is right”? (a) pick an answer (b) read a question (c) tap “Start quiz” (d) see the final score
  27. 27.True or false: a box to type a name is an input. (a) False (b) True
  28. 28.🔀 Why plan the user flow before building? (a) to hide the buttons (b) so each step is clear (c) to skip testing (d) to add more taps
  29. 29.⚙️ What number does this app show?
    let km = 5; // typed by the user
    let metres = km * 1000;
    show(metres);
  30. 30.🔁 What number does this code show?
    let runs = [93, 26, 30, 79, 92];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  31. 31.📅 An app team plans for 4 days, builds for 4 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
  32. 32.💡 Does an app idea like a library due-date alert solve a real problem? (a) Yes (b) No
  33. 33.🛠️ At which stage do you pick the features? (a) the idea stage (b) the release stage (c) the test stage (d) the plan stage
  34. 34.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “forgetting birthdays”?
    wasting pocket money: 12 votes
    forgetting homework: 13 votes
    forgetting birthdays: 8 votes
  35. 35.👥 A library app has 20 readers, 85 librarians and 40 volunteers as users. How many more librarians than volunteers are there?
  36. 36.Which of these happens at the build stage? (a) sketch the screens (b) let friends try it (c) try every button (d) add the buttons
  37. 37.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 30; // start at 30
    line 2: stars = stars + 6; // add 6
    line 3: stars = stars + 2; // take away 2
    line 4: show(stars); // show it
  38. 38.💾 pop() takes off the last item. What does this code show?
    let notes = ["Sports", "Maths", "Hindi", "Art"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Sports (b) Maths (c) Hindi (d) Art
  39. 39.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 8 or more right answers.
    function result(right) {
      if (right > 8) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(11) → expected Pass
    Test 2: result(9) → expected Pass
    Test 3: result(6) → expected Try again
  40. 40.🎯 Which app would help this user most: a student who often misses the school bus? (a) a bus tracker (b) a homework planner (c) a water reminder (d) a big-text reader

Answer key

  1. hides extra links
  2. a feature
  3. True
  4. 3
  5. 41
  6. an app
  7. a page of random dots
  8. 460
  9. track the order
  10. helps everyone
  11. False
  12. False
  13. 176
  14. strong colour contrast
  15. tapping a button
  16. Hi, Meera
  17. fair
  18. the microphone
  19. False
  20. a clear next step
  21. 4
  22. 1
  23. persona
  24. Test 3
  25. True
  26. see the final score
  27. True
  28. so each step is clear
  29. 5000
  30. 3
  31. 10
  32. Yes
  33. the plan stage
  34. 5
  35. 45
  36. add the buttons
  37. 38
  38. Hindi
  39. 3
  40. a bus tracker

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