← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 523 · 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 part lets the user give the app information? (a) an input (b) a logo (c) an icon (d) a title
  2. 2.🔀 What does this PIN rule show?
    let pin = "9542";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  3. 3.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 3 (b) 0, 1, 2, 3 (c) 0, 1, 2 (d) 1, 2, 3
  4. 4.🔀 What does this PIN rule show?
    let pin = "559";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  5. 5.🔢 In a quiz-app flow, which comes LAST? (a) see the final score (b) read a question (c) tap “Start quiz” (d) see if it is right
  6. 6.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. tap the Home tab
    3. open “Score card”
    Which screen are you on now?
    (a) Edit photo (b) Search (c) Score card (d) Home
  7. 7.💡 Does an app idea like a lost-and-found board solve a real problem? (a) No (b) Yes
  8. 8.💾 pop() takes off the last item. What does this code show?
    let notes = ["Maths", "Sports", "Art", "Music"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Sports (b) Music (c) Art (d) Maths
  9. 9.👆 The user taps the button 2 times. What number does the label show now?
    let stars = 9;
    button.onTap = function () {
      stars = stars + 5;
      label.text = stars;
    };
  10. 10.🔀 What does if / else let an app do? (a) draw a screen (b) save a photo (c) pick one of two actions (d) repeat forever
  11. 11.🧩 Which of these is a button on this screen?
    [title] Edit Profile
    [button] Save
    [switch] Dark mode
    [text box] Subject
    [button] Next
    [button] Help
    (a) Subject (b) Help (c) Dark mode
  12. 12.👥 A library app has 165 readers, 170 librarians and 85 volunteers as users. How many more readers than volunteers are there?
  13. 13.💾 Where should the app save a shared to-do list: on the phone or in the cloud? (a) on the phone (b) in the cloud
  14. 14.🔍 Which is the odd one out? (a) spot a problem to solve (b) list what users need (c) write the code (d) talk to possible users
  15. 15.🔢 In a sign-up flow, which comes first: “open the app” or “enter the code sent”? (a) enter the code sent (b) open the app
  16. 16.🗒️ When should nice-to-have features be built? (a) never (b) on day one (c) after the must-haves (d) before anything
  17. 17.💡 Which app idea solves this problem: a team shares one snack bill? (a) a homework planner (b) a bill splitter (c) a lost-and-found board (d) a medicine reminder
  18. 18.🧩 How many buttons does this app screen have?
    [title] Sign Up
    [switch] Dark mode
    [text box] Notes
    [text box] Subject
    [text box] Name
    [slider] Volume
    [button] Save
  19. 19.👥 A library app has 125 readers, 115 librarians and 170 volunteers as users. How many more readers than librarians are there?
  20. 20.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [text box] City
    [slider] Volume
    [text box] Notes
    [button] Back
    [button] Cancel
    [button] Help
    [switch] Sound
  21. 21.True or false: speaking a command is an input. (a) False (b) True
  22. 22.👆 The user taps the button 8 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  23. 23.⚙️ In an app, is adding up a bill an input, processing or an output? (a) input (b) processing (c) output
  24. 24.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Badges”
    2. tap the Profile tab
    3. open “Video”
    Which screen are you on now?
    (a) Home (b) Video (c) Badges (d) Search
  25. 25.🧪 What is the ACTUAL result of Test 3?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age <= 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(6) → expected 50
    Test 2: price(16) → expected 100
    Test 3: price(13) → expected 100
  26. 26.🧭 About how many tabs suit a tab bar best? (a) 3 to 5 (b) 10 to 12 (c) 20 (d) 1
  27. 27.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) pick your bus stop (c) change the bus icon (d) a dark mode
  28. 28.🔍 Which is the odd one out? (a) the button colours (b) the font size (c) whether users get lost (d) the screen layout
  29. 29.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) a dark mode (b) pick your bus stop (c) show arrival time (d) see where the bus is
  30. 30.Which of these is true of a menu button? (a) sits at the bottom (b) goes to the last screen (c) opens a list of pages (d) switches main sections
  31. 31.🎯 Which app would help this user most: a grandparent with weak eyesight? (a) a water reminder (b) a bus tracker (c) a pocket-money tracker (d) a big-text reader
  32. 32.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
  33. 33.⚙️ In an app, is a pop-up message an input, processing or an output? (a) processing (b) output (c) input
  34. 34.💾 What number does this code show?
    let notes = ["Science", "Art"];
    notes.push("Music");
    show(notes.length);
  35. 35.👆 What kind of event is this: the user presses Save? (a) a timer event (b) a text event (c) a tap event (d) a load event
  36. 36.🔁 What number does this code show?
    let marks = [18, 4, 16, 14, 5];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  37. 37.🖼️ In this wireframe (top to bottom), what is right below the Add button?
    [ Add button ]
    [ search box ]
    [ big picture ]
    [ list of items ]
    (a) search box (b) big picture (c) list of items
  38. 38.🔢 In a sign-up flow, which comes LAST? (a) tap “Sign up” (b) make a password (c) see the home screen (d) open the app
  39. 39.🔢 In a photo-post flow, which comes first: “open the camera screen” or “write a caption”? (a) open the camera screen (b) write a caption
  40. 40.💾 What number does this code show?
    let friends = ["Meera", "Kabir", "Arjun", "Riya"];
    friends.push("Zoya");
    friends.push("Aman");
    show(friends.length);

Answer key

  1. an input
  2. PIN saved
  3. 0, 1, 2
  4. Use 4 digits
  5. see the final score
  6. Score card
  7. Yes
  8. Art
  9. 19
  10. pick one of two actions
  11. Help
  12. 80
  13. in the cloud
  14. write the code
  15. open the app
  16. after the must-haves
  17. a bill splitter
  18. 1
  19. 10
  20. 3
  21. True
  22. 4
  23. processing
  24. Video
  25. 100
  26. 3 to 5
  27. pick your bus stop
  28. whether users get lost
  29. a dark mode
  30. opens a list of pages
  31. a big-text reader
  32. a user need
  33. output
  34. 3
  35. a tap event
  36. 18
  37. search box
  38. see the home screen
  39. open the camera screen
  40. 6

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