← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 628 · 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.🧭 Tapping a tab usually takes you to ___. (a) the phone settings (b) the last app used (c) a random page (d) that tab’s main screen
  2. 2.💾 What does this code show? (Positions start at 0.)
    let notes = ["Music", "Science", "Maths"];
    show(notes[2]);
    (a) Science (b) Music (c) Maths
  3. 3.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 39; // start at 39
    line 2: stars = stars + 5; // add 5
    line 3: stars = stars + 4; // add 4
    line 4: stars = stars - 5; // add 5
    line 5: show(stars); // show it
  4. 4.🔢 After an app is released, what comes right after “test it again”? (a) read user reviews (b) list what to fix (c) release an update (d) fix and improve
  5. 5.🔢 In a quiz-app flow, which comes first: “see if it is right” or “see the final score”? (a) see if it is right (b) see the final score
  6. 6.🔁 What number does this code show?
    let steps = [3, 17, 6, 17];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  7. 7.🔁 Why use a loop to show 100 messages? (a) less code to write (b) it is slower (c) it uses more lines (d) it hides them
  8. 8.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) buy a new phone (c) find where it goes wrong (d) delete the app
  9. 9.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “forgetting birthdays”?
    losing water bottles: 25 votes
    missing the bus: 16 votes
    forgetting birthdays: 22 votes
  10. 10.Which of these is true of a menu button? (a) undoes one move (b) sits at the bottom (c) opens a list of pages (d) switches main sections
  11. 11.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Done button: 56 px tall
    Cancel button: 44 px tall
    Next button: 40 px tall
    Back button: 52 px tall
  12. 12.🗒️ What is a must-have feature? (a) a nice extra (b) a sound effect (c) one the app cannot skip (d) a colour theme
  13. 13.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
  14. 14.⚙️ What number does this app show?
    let km = 5; // typed by the user
    let metres = km * 1000;
    show(metres);
  15. 15.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 35; // start at 35
    line 2: score = score + 2; // double it
    line 3: score = score + 3; // add 3
    line 4: show(score); // show it
    (a) line 2 (b) line 1 (c) line 3
  16. 16.True or false: a pop-up message is processing. (a) False (b) True
  17. 17.🧭 Which part of navigation undoes one move? (a) a tab bar (b) a menu button (c) the back button
  18. 18.🔀 What does this sign-up rule show?
    let age = 10;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  19. 19.🔀 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!
  20. 20.🔀 What does this sign-up rule show?
    let age = 17;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  21. 21.🔀 What does this sign-up rule show?
    let age = 13;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  22. 22.🔁 What number does this code show?
    let marks = [17, 84, 39, 45, 19];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  23. 23.💾 What does this code show? (Positions start at 0.)
    let notes = ["Sports", "Art", "Maths"];
    show(notes[0]);
    (a) Art (b) Sports (c) Maths
  24. 24.🧩 Which part lets the user give the app information? (a) an input (b) an icon (c) a logo (d) a title
  25. 25.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 4 (c) 6 (d) 5
  26. 26.🚀 What should an app ask for only when it really needs it? (a) a permission (b) a font (c) its icon (d) its name
  27. 27.🎯 An app for “everyone” with no clear user usually ___. (a) needs no testing (b) wins every prize (c) helps nobody well (d) is easy to build
  28. 28.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Back button: 32 px tall
    Start button: 64 px tall
    Send button: 64 px tall
    (a) Send (b) Back (c) Start
  29. 29.Which of these fits saving on the phone? (a) chat messages to friends (b) a class leaderboard (c) notes to read offline (d) photos on two devices
  30. 30.🧩 In an app, what is your high score? (a) a button (b) data (c) a screen (d) an input
  31. 31.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Send button: 36 px tall
    Next button: 56 px tall
    Save button: 68 px tall
    (a) Send (b) Next (c) Save
  32. 32.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Help page”
    2. open “Edit photo”
    3. open “Help page”
    4. open “Friend list”
    Which screen are you on now?
    (a) Help page (b) Edit photo (c) Home (d) Friend list
  33. 33.📊 Survey: which problem bugs you most? How many students voted in all?
    losing water bottles: 5 votes
    forgetting homework: 8 votes
    forgetting birthdays: 9 votes
  34. 34.🎨 Who should you test the UX with? (a) only yourself (b) real users (c) the app icon (d) nobody
  35. 35.💾 What number does this code show?
    let notes = ["Hindi", "Maths"];
    notes.push("Music");
    notes.push("Science");
    show(notes.length);
  36. 36.🔢 After an app is released, which comes LAST? (a) release an update (b) read user reviews (c) list what to fix (d) fix and improve
  37. 37.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 36; // start at 34
    line 2: coins = coins * 2; // double it
    line 3: coins = coins + 5; // add 5
    line 4: show(coins); // show it
  38. 38.🎯 What is a user need? (a) a colour theme (b) a problem a user has (c) a phone setting (d) a type of button
  39. 39.True or false: a class leaderboard fits saving in the cloud. (a) True (b) False
  40. 40.Which of these is data? (a) tap to Save (b) the game-over page (c) your saved notes (d) tap to Start

Answer key

  1. that tab’s main screen
  2. Maths
  3. 53
  4. release an update
  5. see if it is right
  6. 17
  7. less code to write
  8. find where it goes wrong
  9. 3
  10. opens a list of pages
  11. 2
  12. one the app cannot skip
  13. an app
  14. 5000
  15. line 2
  16. False
  17. the back button
  18. Ask a parent
  19. Ask a parent
  20. Welcome!
  21. Welcome!
  22. 1
  23. Sports
  24. an input
  25. 5
  26. a permission
  27. helps nobody well
  28. Back
  29. notes to read offline
  30. data
  31. Send
  32. Friend list
  33. 22
  34. real users
  35. 4
  36. release an update
  37. 77
  38. a problem a user has
  39. True
  40. your saved notes

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