← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 213 · 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.True or false: an app has a web address. (a) False (b) True
  2. 2.🚀 In version 2.5.1, which number is the major version? (a) 251 (b) 1 (c) 2 (d) 5
  3. 3.💾 What is a variable? (a) a picture (b) a phone setting (c) a type of screen (d) a named box for a value
  4. 4.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Save button: 32 px tall
    Send button: 48 px tall
    Next button: 56 px tall
    (a) Send (b) Next (c) Save
  5. 5.📱 Which one opens in a web browser: an app or a website? (a) a website (b) an app
  6. 6.🔀 With if / else if / else, how many parts run? (a) all of them (b) none (c) two (d) only one
  7. 7.🔐 A torch app asks for your contacts. What should you do? (a) allow it (b) post them online (c) share them all (d) deny it
  8. 8.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) add money spent (c) export to a file (d) show the balance
  9. 9.🗂️ What kind of app is a flashcard trainer? (a) a game (b) a tool app (c) a learning app (d) a health app
  10. 10.🚀 What should an app ask for only when it really needs it? (a) its icon (b) a permission (c) a font (d) its name
  11. 11.True or false: a website is installed on a phone. (a) False (b) True
  12. 12.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 40; // start at 40
    line 2: score = score - 4; // take away 4
    line 3: score = score * 2; // double it
    line 4: score = score + 1; // take away 1
    line 5: show(score); // show it
  13. 13.🔀 What does this sign-up rule show?
    let age = 12;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  14. 14.🔀 What does this battery rule show?
    let battery = 69;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  15. 15.🔁 What number does this code show?
    let scores = [2, 8, 16, 20, 15];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  16. 16.👆 What kind of event is this: the screen first opens? (a) a timer event (b) a text event (c) a load event (d) a tap event
  17. 17.Which of these fits saving on the phone? (a) photos on two devices (b) a shared to-do list (c) chat messages to friends (d) your last game level
  18. 18.🔍 Which is the odd one out? (a) a cricket run chase (b) a unit converter (c) a torch (d) an alarm clock
  19. 19.🎯 Why learn about users before you build? (a) to build what they need (b) to slow it down (c) to pick a logo (d) to make it longer
  20. 20.👥 A cricket club app has 160 players, 265 coaches and 165 fans as users. How many more coaches than fans are there?
  21. 21.🔀 What does this PIN rule show?
    let pin = "9311";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  22. 22.🧰 How do you run (call) a function called greet? (a) greet[] (b) #greet (c) run greet (d) greet()
  23. 23.🔘 Is this good or poor button design: a big, easy tap area? (a) good design (b) poor design
  24. 24.💾 Which works with no internet at all? (a) data saved on the phone (b) a cloud leaderboard (c) a cloud backup (d) a shared chat
  25. 25.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
  26. 26.💾 What number does this code show?
    let friends = ["Riya", "Kabir", "Zoya", "Arjun"];
    friends.push("Meera");
    friends.push("Aman");
    show(friends.length);
  27. 27.Which of these is true of a tab bar? (a) goes to the last screen (b) hides extra links (c) opens a list of pages (d) shows 3 to 5 icons
  28. 28.🔁 What number does this code show?
    let marks = [8, 9, 6];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  29. 29.💾 Where should the app save notes to read offline: on the phone or in the cloud? (a) on the phone (b) in the cloud
  30. 30.👥 A school app has 195 students, 20 teachers and 175 parents as users. How many more students than parents are there?
  31. 31.👥 A clinic app has 90 patients, 55 doctors and 145 nurses as users. How many more patients than doctors are there?
  32. 32.🔀 When does the else part run? (a) never (b) when the test is true (c) when the test is false (d) always
  33. 33.📅 An app team plans for 2 days, builds for 4 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  34. 34.🔁 What number does this code show?
    let runs = [1, 18, 12, 13];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  35. 35.True or false: icons with no meaning is poor button design. (a) False (b) True
  36. 36.🗂️ What kind of app is a cricket run chase? (a) a health app (b) a game (c) a tool app (d) a learning app
  37. 37.🔢 When you make an app, which comes LAST? (a) release it (b) build the app (c) plan the screens (d) get an idea
  38. 38.✏️ Is this true of a wireframe or of a final design: has the real colours? (a) a wireframe (b) a final design
  39. 39.👆 “On tap → do this” links an event to ___. (a) a font (b) a web address (c) a charger (d) an action
  40. 40.🧩 What does a button do when you tap it? (a) shows the time (b) changes the phone (c) starts an action (d) saves the battery

Answer key

  1. False
  2. 2
  3. a named box for a value
  4. Save
  5. a website
  6. only one
  7. deny it
  8. export to a file
  9. a learning app
  10. a permission
  11. False
  12. 71
  13. Ask a parent
  14. Battery OK
  15. 20
  16. a load event
  17. your last game level
  18. a cricket run chase
  19. to build what they need
  20. 100
  21. PIN saved
  22. greet()
  23. good design
  24. data saved on the phone
  25. Yes
  26. 6
  27. shows 3 to 5 icons
  28. 9
  29. on the phone
  30. 20
  31. 35
  32. when the test is false
  33. 10
  34. 18
  35. True
  36. a game
  37. release it
  38. a final design
  39. an action
  40. starts an action

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