← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 920 · 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.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 44 px tall. How many px taller must it be?
  2. 2.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) water animations (b) custom alert sounds (c) log a glass of water (d) share your streak
  3. 3.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Meera", "Aman", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Kabir (c) Hi, Meera (d) Hi, Aman
  4. 4.Which of these is an input? (a) adding up a bill (b) typing your age (c) a pop-up message (d) a beep sound
  5. 5.🧩 How many buttons does this app screen have?
    [title] Settings
    [text box] Subject
    [button] Send
    [button] Save
    [text box] City
    [slider] Brightness
    [switch] Sound
    [button] Back
  6. 6.💾 pop() takes off the last item. What does this code show?
    let friends = ["Meera", "Aman", "Kabir", "Zoya", "Riya"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Meera (b) Aman (c) Kabir (d) Zoya
  7. 7.True or false: a clear word like Save is poor button design. (a) True (b) False
  8. 8.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) a dark mode (c) rate the driver (d) see where the bus is
  9. 9.👆 The user taps the button 4 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  10. 10.📊 Survey: which problem bugs you most? How many students voted in all?
    no quiet study place: 11 votes
    wasting pocket money: 10 votes
    forgetting homework: 22 votes
  11. 11.🔁 What does a loop do? (a) draws icons (b) deletes code (c) saves photos (d) repeats code
  12. 12.✏️ What is the easiest way to draw a first wireframe? (a) a phone case (b) a 3D printer (c) pencil and paper (d) a microphone
  13. 13.🔍 Which is the odd one out? (a) the button colours (b) how users feel after (c) the screen layout (d) the theme colours
  14. 14.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. tap the Me tab
    3. open “Score card”
    4. open “Friend list”
    5. open “Help page”
    How many times must you tap Back to reach the main screen of this tab?
  15. 15.💡 Does an app idea like a page of random dots solve a real problem? (a) No (b) Yes
  16. 16.🔢 In a sign-up flow, which comes first: “see the home screen” or “tap “Sign up””? (a) see the home screen (b) tap “Sign up”
  17. 17.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
  18. 18.🔁 What number does this code show?
    let marks = [24, 79, 74];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  19. 19.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) add money spent (c) export to a file (d) pie-chart colours
  20. 20.🧪 What is the ACTUAL result of Test 1?
    🚚 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(400) → expected 0
    Test 2: delivery(150) → expected 40
    Test 3: delivery(300) → expected 0
  21. 21.Which of these is an output? (a) typing your age (b) working out a tip (c) a result on screen (d) speaking a command
  22. 22.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(50, 6));
  23. 23.🖼️ In this wireframe (top to bottom), what is right above the Save button?
    [ big picture ]
    [ title text ]
    [ Save button ]
    [ search box ]
    [ list of items ]
    (a) title text (b) list of items (c) search box (d) big picture
  24. 24.♿ Does this help everyone, or make the app harder to use: big touch targets? (a) helps everyone (b) makes it harder
  25. 25.👥 A clinic app has 105 patients, 25 doctors and 135 nurses as users. Which user group is the biggest? (a) patients (b) doctors (c) nurses
  26. 26.🔀 What does this sign-up rule show?
    let age = 8;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  27. 27.🎨 Who should you test the UX with? (a) the app icon (b) real users (c) nobody (d) only yourself
  28. 28.Which of these is true of an app? (a) needs no installing (b) opens from a link (c) opens in a web browser (d) has a home-screen icon
  29. 29.🧰 What does return do in a function? (a) sends back a value (b) repeats the code (c) deletes the app (d) closes the screen
  30. 30.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a bug fix (b) a new app (c) a new feature (d) a big redesign
  31. 31.🔁 What number does this code show?
    let marks = [37, 30, 31, 32];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  32. 32.🔍 Which is the odd one out? (a) tiny tap areas (b) colour as the only clue (c) sudden loud sounds (d) big touch targets
  33. 33.🧩 In an app, what is the home page of an app? (a) a screen (b) a button (c) data (d) an input
  34. 34.🗒️ Version 1 of a water reminder must be ready in 16 days. How many days are left for extras after the must-haves?
    set a reminder time: 4 days
    log a glass of water: 4 days
    see today’s total: 4 days
  35. 35.True or false: chat messages to friends fits saving on the phone. (a) True (b) False
  36. 36.👥 A school app has 105 students, 290 teachers and 70 parents as users. How many users does it have in all?
  37. 37.🔀 What does this sign-up rule show?
    let age = 10;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  38. 38.💾 What does this code show? (Positions start at 0.)
    let friends = ["Aman", "Riya", "Zoya"];
    show(friends[2]);
    (a) Aman (b) Zoya (c) Riya
  39. 39.True or false: a walking map needs your contacts. (a) False (b) True
  40. 40.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) see today’s total (c) set a reminder time (d) water animations

Answer key

  1. 4
  2. log a glass of water
  3. Hi, Riya
  4. typing your age
  5. 3
  6. Zoya
  7. False
  8. see where the bus is
  9. 4
  10. 43
  11. repeats code
  12. pencil and paper
  13. how users feel after
  14. 3
  15. No
  16. tap “Sign up”
  17. a website
  18. 2
  19. add money spent
  20. 0
  21. a result on screen
  22. 300
  23. title text
  24. helps everyone
  25. nurses
  26. Ask a parent
  27. real users
  28. has a home-screen icon
  29. sends back a value
  30. a bug fix
  31. 0
  32. big touch targets
  33. a screen
  34. 4
  35. False
  36. 465
  37. Ask a parent
  38. Zoya
  39. False
  40. water animations

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