← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 779 · 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.👆 What kind of event is this: one second passes? (a) a tap event (b) a text event (c) a timer event (d) a load event
  2. 2.💾 pop() takes off the last item. What does this code show?
    let notes = ["Art", "Maths", "Science", "Hindi", "Music"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Hindi (b) Science (c) Maths (d) Art
  3. 3.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Done button: 64 px tall
    Send button: 56 px tall
    Next button: 40 px tall
  4. 4.Which of these is a screen? (a) today’s step count (b) tap to Start (c) tap to Save (d) the settings page
  5. 5.🔢 When you make an app, which comes FIRST? (a) release it (b) plan the screens (c) get an idea (d) build the app
  6. 6.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 48; // start at 48
    line 2: points = points * 2; // double it
    line 3: points = points - 4; // take away 4
    line 4: points = points * 3; // double it
    line 5: show(points); // show it
  7. 7.🧰 Why write a function? (a) to slow the app (b) to make code longer (c) to reuse code (d) to hide errors
  8. 8.💡 A good app idea starts with ___. (a) a cool logo (b) many colours (c) a long name (d) a problem to solve
  9. 9.🔍 Which is the odd one out? (a) a times-table quiz (b) a flashcard trainer (c) a racing challenge (d) a spelling coach
  10. 10.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 3 (c) 0, 1, 2, 3 (d) 0, 1, 2
  11. 11.📅 An app team plans for 4 days, builds for 6 days, tests for 3 days and releases on 1 more day. How many more days does building take than testing?
  12. 12.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 8 or more right answers.
    function result(right) {
      if (right > 8) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(8) → expected Pass
    Test 2: result(7) → expected Try again
    Test 3: result(10) → expected Pass
    (a) Test 1 (b) Test 2 (c) Test 3
  13. 13.🌗 Is white on dark green easy or hard to read on a button? (a) easy to read (b) hard to read
  14. 14.Which of these requests is fair? (a) timer → your photos (b) calculator → location (c) torch → contacts (d) camera app → camera
  15. 15.🔁 What is the LAST line this code shows?
    let names = ["Zoya", "Meera", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Meera (c) Hi, Zoya
  16. 16.True or false: a website has a home-screen icon. (a) True (b) False
  17. 17.💡 Which app idea solves this problem: a team shares one snack bill? (a) a lost-and-found board (b) a medicine reminder (c) a study-room finder (d) a bill splitter
  18. 18.🎯 Is this a user need or a feature: “Small text is hard”? (a) a user need (b) a feature
  19. 19.True or false: a big-text reader is the best fit for a student who often misses the school bus. (a) True (b) False
  20. 20.🔀 In this course’s code, which sign tests “is equal to”? (a) !== (b) = (c) => (d) ===
  21. 21.💾 Which works with no internet at all? (a) a cloud leaderboard (b) a shared chat (c) data saved on the phone (d) a cloud backup
  22. 22.🧭 Tapping a tab usually takes you to ___. (a) a random page (b) the phone settings (c) that tab’s main screen (d) the last app used
  23. 23.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Offers → Size → Pens → Shop
    Design B: Home → Confirm → Size → Pay → Menu → Cart
  24. 24.🔘 Our rule: buttons are at least 48 px tall. The Save button is 24 px tall. How many px taller must it be?
  25. 25.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 60; // typed by the user
    line 2: let qty = 6; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 4 (b) line 3 (c) line 1 (d) line 2
  26. 26.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Map”
    2. tap Back
    3. open “Help page”
    4. tap Back
    5. open “Score card”
    How many times must you tap Back to reach the main screen of this tab?
  27. 27.True or false: a homework planner is the best fit for a parent waiting at the bus stop. (a) False (b) True
  28. 28.🧪 What is the ACTUAL result of Test 1?
    🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
    function price(age) {
      if (age < 12) {
        return 50;
      }
      return 100;
    }
    Test 1: price(15) → expected 100
    Test 2: price(8) → expected 50
    Test 3: price(12) → expected 100
  29. 29.⚙️ What number does this app show?
    let bill = 24; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  30. 30.📅 An app team plans for 5 days, builds for 7 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  31. 31.💡 Which is a problem statement? (a) “Kids forget homework” (b) “Use blue buttons” (c) “Make it fast” (d) “Add a logo”
  32. 32.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [button] Save
    [text box] Subject
    (a) Save (b) Subject
  33. 33.🔍 Which is the odd one out? (a) a cricket run chase (b) a times-table quiz (c) a word battle (d) a puzzle with levels
  34. 34.True or false: icons with no meaning is good button design. (a) True (b) False
  35. 35.True or false: a website is installed on a phone. (a) True (b) False
  36. 36.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [text box] Email
    [text box] Notes
    [button] Save
    [text box] City
    [button] Send
  37. 37.👆 Code that runs when an event happens is called a ___. (a) hashtag (b) header (c) headline (d) handler
  38. 38.🔢 In a sign-up flow, which comes FIRST? (a) type name and email (b) enter the code sent (c) see the home screen (d) open the app
  39. 39.🔢 In a food-order flow, which comes first: “open the menu” or “add it to the cart”? (a) open the menu (b) add it to the cart
  40. 40.📱 The word “app” is short for ___. (a) apparatus (b) appetite (c) appointment (d) application

Answer key

  1. a timer event
  2. Hindi
  3. 2
  4. the settings page
  5. get an idea
  6. 276
  7. to reuse code
  8. a problem to solve
  9. a racing challenge
  10. 0, 1, 2
  11. 3
  12. Test 1
  13. easy to read
  14. camera app → camera
  15. Hi, Arjun
  16. False
  17. a bill splitter
  18. a user need
  19. False
  20. ===
  21. data saved on the phone
  22. that tab’s main screen
  23. 1
  24. 24
  25. line 3
  26. 1
  27. False
  28. 100
  29. 12
  30. 12
  31. “Kids forget homework”
  32. Save
  33. a times-table quiz
  34. False
  35. False
  36. 3
  37. handler
  38. open the app
  39. open the menu
  40. application

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