← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 347 · 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 data? (a) today’s step count (b) a date picker (c) the game-over page (d) the settings page
  2. 2.🧰 In function tip(bill), what is bill? (a) an event (b) a parameter (c) a loop (d) a screen
  3. 3.🗂️ What kind of app is a times-table quiz? (a) a game (b) a learning app (c) a health app (d) a tool app
  4. 4.🔀 What does this battery rule show?
    let battery = 25;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  5. 5.👆 The user types Arjun in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hello, " + nameBox.text + "!";
    };
    (a) Hello! (b) Arjun (c) Hello, Arjun! (d) Hello, nameBox.text!
  6. 6.🔢 In a sign-up flow, what comes right after “open the app”? (a) enter the code sent (b) tap “Sign up” (c) type name and email (d) make a password
  7. 7.True or false: a button with no action solves a real problem. (a) True (b) False
  8. 8.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Menu: 11 px
    Footer: 22 px
    Label: 16 px
    Hint: 21 px
  9. 9.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 420; // typed by the user
    line 2: let off = 20; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 3 (b) line 1 (c) line 4 (d) line 2
  10. 10.True or false: a speak-to-type notes app needs the microphone. (a) False (b) True
  11. 11.Which of these is about UI (the look)? (a) how many taps it takes (b) how easy sign-up is (c) the font size (d) how users feel after
  12. 12.Which of these makes the app harder to use? (a) strong colour contrast (b) text that can grow (c) big touch targets (d) tiny tap areas
  13. 13.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
  14. 14.🔍 Which is the odd one out? (a) sorting the scores (b) a beep sound (c) a buzz (vibration) (d) a pop-up message
  15. 15.💾 pop() takes off the last item. What does this code show?
    let friends = ["Aman", "Meera", "Zoya", "Arjun"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Arjun (b) Aman (c) Zoya (d) Meera
  16. 16.🧰 What does return do in a function? (a) sends back a value (b) closes the screen (c) repeats the code (d) deletes the app
  17. 17.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Me tab
    2. open “Match report”
    3. open “Help page”
    How many times must you tap Back to reach the main screen of this tab?
  18. 18.🔁 list.length tells you ___. (a) the last item (b) how many items it has (c) the first item (d) the biggest item
  19. 19.🧰 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(3) + fee(7));
  20. 20.Which of these is an input? (a) the home page of an app (b) a switch for dark mode (c) your saved notes (d) your high score
  21. 21.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Title: 10 px
    Menu: 22 px
    Hint: 11 px
    Body text: 24 px
  22. 22.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) background music (b) confetti effects (c) an avatar shop (d) check the answer
  23. 23.🧩 How many buttons does this app screen have?
    [title] Settings
    [button] Save
    [slider] Text size
    [switch] Show hints
    [text box] Subject
  24. 24.🔍 Which is the odd one out? (a) taking a photo (b) speaking a command (c) tapping a button (d) working out a tip
  25. 25.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [button] Done
    [text box] City
    [switch] Sound
    [button] Cancel
  26. 26.🔁 What number does this code show?
    let scores = [9, 1, 10];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  27. 27.🧑 Who is an app really made for? (a) its users (b) its coder only (c) its icon (d) its charger
  28. 28.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 47; // start at 44
    line 2: stars = stars * 2; // double it
    line 3: stars = stars - 4; // take away 4
    line 4: show(stars); // show it
    (a) line 3 (b) line 2 (c) line 1
  29. 29.🔢 In a quiz-app flow, which comes LAST? (a) tap “Start quiz” (b) see the final score (c) read a question (d) see if it is right
  30. 30.🧪 What is the actual result of a test? (a) the test’s number (b) the app’s name (c) what we hope for (d) what the app really does
  31. 31.🚀 Which version is newer: 3.3.2 or 3.18.3? (a) 3.3.2 (b) 3.18.3
  32. 32.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 43; // start at 43
    line 2: stars = stars + 7; // add 5
    line 3: stars = stars * 2; // double it
    line 4: show(stars); // show it
    (a) line 3 (b) line 1 (c) line 2
  33. 33.👆 The user taps the button 7 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 3) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  34. 34.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Search → Menu → Confirm
    Design B: Home → Shop → Pens → Pay → Results → Size → Cart
    (a) Design B (b) Design A
  35. 35.🚀 Your app is at version 1.6.7. The next release adds a new feature. What is its version number? (a) 1.7.7 (b) 1.7.0 (c) 2.0.0 (d) 1.6.8
  36. 36.True or false: “tiny tap areas” helps everyone use the app. (a) True (b) False
  37. 37.💡 Does an app idea like a lost-and-found board solve a real problem? (a) No (b) Yes
  38. 38.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
  39. 39.⚙️ What number does this app show?
    let bill = 195; // typed by the user
    let friends = 3; // typed by the user
    let share = bill / friends;
    show(share);
  40. 40.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) in the cloud (b) on the phone

Answer key

  1. today’s step count
  2. a parameter
  3. a learning app
  4. Battery OK
  5. Hello, Arjun!
  6. tap “Sign up”
  7. False
  8. 1
  9. line 3
  10. True
  11. the font size
  12. tiny tap areas
  13. helps everyone
  14. sorting the scores
  15. Zoya
  16. sends back a value
  17. 2
  18. how many items it has
  19. 30
  20. a switch for dark mode
  21. 2
  22. check the answer
  23. 1
  24. working out a tip
  25. 2
  26. 20
  27. its users
  28. line 1
  29. see the final score
  30. what the app really does
  31. 3.18.3
  32. line 2
  33. 3
  34. Design A
  35. 1.7.0
  36. False
  37. Yes
  38. a user need
  39. 65
  40. in the cloud

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