← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 105 · 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.👆 The user taps the button 6 times. What number does the label show now?
    let score = 9;
    button.onTap = function () {
      score = score + 5;
      label.text = score;
    };
  2. 2.🔢 After an app is released, what comes right after “list what to fix”? (a) fix and improve (b) test it again (c) release an update (d) read user reviews
  3. 3.Which of these is a user need? (a) “I keep missing the bus” (b) a search bar (c) a reminder alarm (d) a dark mode switch
  4. 4.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 30;
    }
    show(fee(11) + fee(11));
  5. 5.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 49; // start at 46
    line 2: lives = lives - 2; // take away 2
    line 3: lives = lives - 1; // take away 1
    line 4: show(lives); // show it
  6. 6.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Meera", "Zoya", "Riya", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Meera (c) Hi, Zoya (d) Hi, Kabir
  7. 7.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Aman"));
    (a) Hello, Aman! (b) Hello, name! (c) greet (d) Aman
  8. 8.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) pick a theme colour (c) share tasks to friends (d) set a due date
  9. 9.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Home tab
    2. open “Edit photo”
    3. tap the Home tab
    4. open “Match report”
    5. open “Help page”
    Which screen are you on now?
    (a) Match report (b) Help page (c) Edit photo (d) Home
  10. 10.🧩 Which part lets the user give the app information? (a) a logo (b) a title (c) an icon (d) an input
  11. 11.💡 A good app idea starts with ___. (a) a problem to solve (b) a long name (c) many colours (d) a cool logo
  12. 12.⚙️ What number does this app show?
    let bill = 52; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  13. 13.🔘 Our rule: buttons are at least 48 px tall. The Start button is 44 px tall. How many px taller must it be?
  14. 14.True or false: an app opens from a link. (a) False (b) True
  15. 15.🧪 How many of these test cases pass?
    🚚 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(600) → expected 0
    Test 2: delivery(700) → expected 0
    Test 3: delivery(300) → expected 40
  16. 16.🔢 In a quiz-app flow, which comes first: “see if it is right” or “see the final score”? (a) see the final score (b) see if it is right
  17. 17.🔀 Why plan the user flow before building? (a) to add more taps (b) to skip testing (c) to hide the buttons (d) so each step is clear
  18. 18.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) MVP (c) CPU (d) URL
  19. 19.🧪 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(100) → expected 40
    Test 2: delivery(550) → expected 0
    Test 3: delivery(700) → expected 0
  20. 20.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Cancel button: 36 px tall
    Done button: 60 px tall
    Back button: 56 px tall
  21. 21.🔢 After an app is released, which comes FIRST? (a) fix and improve (b) test it again (c) list what to fix (d) read user reviews
  22. 22.🐞 After fixing a bug you should ___. (a) test it again (b) release at once (c) delete the test (d) never test
  23. 23.🎨 UX stands for user ___. (a) extra (b) example (c) experience (d) express
  24. 24.🔢 In a photo-post flow, which comes FIRST? (a) take the photo (b) open the camera screen (c) post the photo (d) write a caption
  25. 25.🔐 Which permission does a guitar tuner really need? (a) the camera (b) location (c) the microphone (d) contacts
  26. 26.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Back button: 68 px tall
    Cancel button: 40 px tall
    Done button: 52 px tall
    (a) Done (b) Cancel (c) Back
  27. 27.🧩 What does a button do when you tap it? (a) starts an action (b) changes the phone (c) shows the time (d) saves the battery
  28. 28.🔍 Which is the odd one out? (a) how easy sign-up is (b) the font size (c) how users feel after (d) whether users get lost
  29. 29.⚙️ In an app, is taking a photo an input, processing or an output? (a) output (b) input (c) processing
  30. 30.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Badges”
    2. open “Video”
    3. tap Back
    4. tap the Quiz tab
    5. open “Friend list”
    How many times must you tap Back to reach the main screen of this tab?
  31. 31.True or false: a result on screen is an output. (a) False (b) True
  32. 32.🧪 What is the ACTUAL result of Test 1?
    🚚 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(1000) → expected 0
    Test 2: delivery(850) → expected 0
    Test 3: delivery(600) → expected 40
  33. 33.💡 Does an app idea like a medicine reminder solve a real problem? (a) Yes (b) No
  34. 34.🔁 What number does this code show?
    let marks = [62, 91, 37];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  35. 35.🔍 Which is the odd one out? (a) text that can grow (b) colour as the only clue (c) big touch targets (d) labels on every icon
  36. 36.🎯 Which app would help this user most: a pupil juggling five projects? (a) a bus tracker (b) a homework planner (c) a pocket-money tracker (d) a water reminder
  37. 37.Which of these is true of a menu button? (a) sits at the bottom (b) switches main sections (c) hides extra links (d) shows 3 to 5 icons
  38. 38.Which of these fits saving in the cloud? (a) the sound on/off setting (b) notes to read offline (c) a draft you are typing (d) a class leaderboard
  39. 39.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 31; // start at 30
    line 2: stars = stars - 1; // take away 1
    line 3: stars = stars * 2; // double it
    line 4: show(stars); // show it
  40. 40.👆 What kind of event is this: the user types a letter? (a) a text event (b) a tap event (c) a timer event (d) a load event

Answer key

  1. 39
  2. fix and improve
  3. “I keep missing the bus”
  4. 60
  5. 46
  6. Hi, Kabir
  7. Hello, Aman!
  8. set a due date
  9. Help page
  10. an input
  11. a problem to solve
  12. 26
  13. 4
  14. False
  15. 3
  16. see if it is right
  17. so each step is clear
  18. MVP
  19. 3
  20. 2
  21. read user reviews
  22. test it again
  23. experience
  24. open the camera screen
  25. the microphone
  26. Cancel
  27. starts an action
  28. the font size
  29. input
  30. 1
  31. True
  32. 0
  33. Yes
  34. 2
  35. colour as the only clue
  36. a homework planner
  37. hides extra links
  38. a class leaderboard
  39. 58
  40. a text event

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