← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 513 · 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.🧩 In an app, what is your high score? (a) a button (b) a screen (c) an input (d) data
  2. 2.💾 pop() takes off the last item. What does this code show?
    let notes = ["Music", "Maths", "Hindi", "Art", "Science"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Hindi (b) Art (c) Maths (d) Music
  3. 3.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(6) → expected Pass
    Test 2: result(3) → expected Try again
    Test 3: result(8) → expected Pass
    (a) Test 3 (b) Test 1 (c) Test 2
  4. 4.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Footer: 20 px
    Hint: 10 px
    Label: 13 px
    Title: 15 px
  5. 5.🐞 What is a bug? (a) a nice icon (b) a new feature (c) a fast phone (d) a mistake in the code
  6. 6.💡 How can you check that people really have the problem? (a) ask possible users (b) copy another app (c) just guess (d) pick a colour
  7. 7.🎯 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 recipe finder (d) a pocket-money tracker
  8. 8.True or false: a homework photo scanner needs the camera. (a) False (b) True
  9. 9.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “losing water bottles”?
    no quiet study place: 18 votes
    missing the bus: 25 votes
    losing water bottles: 9 votes
  10. 10.📅 An app team plans for 5 days, builds for 11 days, tests for 2 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  11. 11.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “enter the code sent”? (a) enter the code sent (b) tap “Sign up”
  12. 12.👥 A cricket club app has 70 players, 295 coaches and 280 fans as users. How many users does it have in all?
  13. 13.Which of these happens at the idea stage? (a) connect the data (b) write the store text (c) try every button (d) list what users need
  14. 14.💾 pop() takes off the last item. What does this code show?
    let notes = ["Science", "Maths", "Hindi"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Maths (b) Science (c) Hindi
  15. 15.🔀 Why plan the user flow before building? (a) to hide the buttons (b) to add more taps (c) to skip testing (d) so each step is clear
  16. 16.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting birthdays: 6 votes
    missing the bus: 12 votes
    forgetting homework: 10 votes
  17. 17.🌗 Is black on pale grey easy or hard to read on a button? (a) easy to read (b) hard to read
  18. 18.🔍 Which is the odd one out? (a) write the store text (b) share the download link (c) put it on an app store (d) write the code
  19. 19.💾 What number does this code show?
    let score = 8;
    score = score - 3;
    score = score + 5;
    show(score);
  20. 20.🔐 Which permission does a bus tracker really need? (a) the camera (b) contacts (c) the microphone (d) location
  21. 21.Which colour pair is hard to read? (a) black on yellow (b) white on black (c) light grey on white (d) dark blue on white
  22. 22.🧪 Who else should try an app before release? (a) only the coder (b) the app icon (c) nobody (d) real users
  23. 23.🧭 Which part of navigation shows 3 to 5 icons? (a) a menu button (b) the back button (c) a tab bar
  24. 24.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Map”
    2. tap Back
    3. tap the Search tab
    Which screen are you on now?
    (a) Map (b) Profile (c) Home (d) Search
  25. 25.🔁 What number does this code show?
    let scores = [2, 2, 3, 19];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  26. 26.True or false: a wireframe has no real colours. (a) False (b) True
  27. 27.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) water animations (b) log a glass of water (c) see today’s total (d) set a reminder time
  28. 28.True or false: a recipe finder is the best fit for a gamer who forgets to drink. (a) True (b) False
  29. 29.🔁 What number does this code show?
    let scores = [21, 42, 68, 20, 93];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  30. 30.🔘 Our rule: buttons are at least 48 px tall. The Done button is 24 px tall. How many px taller must it be?
  31. 31.🚀 Which version is newer: 2.6.1 or 2.19.0? (a) 2.6.1 (b) 2.19.0
  32. 32.🔀 What number does this shop app show?
    let total = 650;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  33. 33.🔁 What does a loop do? (a) deletes code (b) saves photos (c) repeats code (d) draws icons
  34. 34.Which of these is true of a wireframe? (a) looks like the real app (b) shows the real fonts (c) uses the final pictures (d) shows where things go
  35. 35.📅 An app team plans for 2 days, builds for 5 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
  36. 36.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 41; // start at 41
    line 2: points = points * 2; // double it
    line 3: points = points + 5; // add 5
    line 4: points = points + 2; // double it
    line 5: show(points); // show it
  37. 37.Which of these is an input? (a) checking a password (b) a result on screen (c) working out a tip (d) taking a photo
  38. 38.💡 Does an app idea like a library due-date alert solve a real problem? (a) Yes (b) No
  39. 39.🗒️ What is a must-have feature? (a) a sound effect (b) one the app cannot skip (c) a colour theme (d) a nice extra
  40. 40.💾 pop() takes off the last item. What does this code show?
    let friends = ["Riya", "Aman", "Zoya", "Meera"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Riya (b) Zoya (c) Meera (d) Aman

Answer key

  1. data
  2. Art
  3. Test 1
  4. 3
  5. a mistake in the code
  6. ask possible users
  7. a bus tracker
  8. True
  9. 16
  10. 16
  11. tap “Sign up”
  12. 645
  13. list what users need
  14. Maths
  15. so each step is clear
  16. 28
  17. easy to read
  18. write the code
  19. 10
  20. location
  21. light grey on white
  22. real users
  23. a tab bar
  24. Search
  25. 26
  26. True
  27. water animations
  28. False
  29. 3
  30. 24
  31. 2.19.0
  32. 600
  33. repeats code
  34. shows where things go
  35. 4
  36. 174
  37. taking a photo
  38. Yes
  39. one the app cannot skip
  40. Zoya

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