← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 77 · 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.🎯 An app for “everyone” with no clear user usually ___. (a) helps nobody well (b) wins every prize (c) needs no testing (d) is easy to build
  2. 2.🗒️ Version 1 of a pocket-money tracker must be ready in 12 days. How many days are left for extras after the must-haves?
    add money received: 3 days
    add money spent: 1 days
    show the balance: 4 days
  3. 3.🔘 Is this good or poor button design: a clear word like Save? (a) poor design (b) good design
  4. 4.True or false: an app updates from the store. (a) False (b) True
  5. 5.👆 The user taps the button 3 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  6. 6.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “forgetting birthdays”?
    forgetting birthdays: 10 votes
    no quiet study place: 5 votes
    forgetting homework: 14 votes
  7. 7.🔀 What number does this shop app show?
    let total = 690;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  8. 8.True or false: a page of random dots solves a real problem. (a) True (b) False
  9. 9.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 4 (c) 5 (d) 6
  10. 10.🔍 Which is the odd one out? (a) tapping a button (b) speaking a command (c) sorting the scores (d) taking a photo
  11. 11.🚀 Your app is at version 4.11.4. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.12.4 (b) 5.0.0 (c) 4.12.0 (d) 4.11.5
  12. 12.🖼️ How many parts (boxes) does this wireframe have?
    [ Add button ]
    [ big picture ]
    [ top bar ]
    [ list of items ]
    [ search box ]
    [ menu icon ]
  13. 13.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(20));
  14. 14.💾 What number does this code show?
    let coins = 6;
    coins = coins - 6;
    coins = coins + 3;
    show(coins);
  15. 15.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ list of items ]
    [ menu icon ]
    [ big picture ]
    [ top bar ]
    (a) top bar (b) big picture (c) menu icon (d) list of items
  16. 16.🧪 What is the actual result of a test? (a) what we hope for (b) the app’s name (c) the test’s number (d) what the app really does
  17. 17.True or false: a pop-up message is an output. (a) True (b) False
  18. 18.💡 Does an app idea like a medicine reminder solve a real problem? (a) No (b) Yes
  19. 19.🧩 Scores, notes and settings that an app keeps are called ___. (a) screens (b) buttons (c) tabs (d) data
  20. 20.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) missing a must-have (c) ready to release (d) well planned
  21. 21.🔀 In this course’s code, which sign tests “is equal to”? (a) = (b) === (c) => (d) !==
  22. 22.Which of these is processing? (a) a buzz (vibration) (b) a result on screen (c) sorting the scores (d) a beep sound
  23. 23.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 32; // start at 32
    line 2: score = score - 1; // take away 1
    line 3: score = score + 1; // take away 1
    line 4: show(score); // show it
  24. 24.🔢 When you make an app, which comes first: “get an idea” or “build the app”? (a) build the app (b) get an idea
  25. 25.🔢 After an app is released, which comes first: “read user reviews” or “release an update”? (a) release an update (b) read user reviews
  26. 26.📅 An app team plans for 2 days, builds for 9 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
  27. 27.♿ What does a screen reader do? (a) reads the screen aloud (b) takes photos (c) makes text tiny (d) plays music
  28. 28.⚙️ In an app, is a beep sound an input, processing or an output? (a) input (b) output (c) processing
  29. 29.🧰 In function tip(bill), what is bill? (a) a loop (b) an event (c) a parameter (d) a screen
  30. 30.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 41; // start at 40
    line 2: points = points - 1; // take away 1
    line 3: points = points - 1; // take away 1
    line 4: points = points - 1; // take away 1
    line 5: show(points); // show it
    (a) line 2 (b) line 3 (c) line 1 (d) line 4
  31. 31.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Back button: 32 px tall
    Done button: 60 px tall
    Start button: 48 px tall
    (a) Start (b) Done (c) Back
  32. 32.🧰 Why write a function? (a) to hide errors (b) to make code longer (c) to reuse code (d) to slow the app
  33. 33.💾 What does this code show? (Positions start at 0.)
    let notes = ["Hindi", "Art", "Maths", "Music", "Sports"];
    show(notes[4]);
    (a) Sports (b) Maths (c) Art (d) Hindi
  34. 34.🧪 Who else should try an app before release? (a) the app icon (b) only the coder (c) real users (d) nobody
  35. 35.🔀 What number does this shop app show?
    let total = 450;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  36. 36.🔀 Which badge does this quiz app show?
    let marks = 37;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  37. 37.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Help page”
    2. tap Back
    3. open “Friend list”
    4. tap the Home tab
    5. open “Help page”
    Which screen are you on now?
    (a) Help page (b) Friend list (c) Search (d) Home
  38. 38.♿ A screen has 12 icon buttons. Only 3 of them have a text label for screen readers. How many still need a label?
  39. 39.🔁 Why use a loop to show 100 messages? (a) less code to write (b) it uses more lines (c) it is slower (d) it hides them
  40. 40.True or false: the user presses Save is a tap event. (a) False (b) True

Answer key

  1. helps nobody well
  2. 4
  3. good design
  4. True
  5. 2
  6. 4
  7. 640
  8. False
  9. 5
  10. sorting the scores
  11. 5.0.0
  12. 6
  13. 60
  14. 3
  15. top bar
  16. what the app really does
  17. True
  18. Yes
  19. data
  20. missing a must-have
  21. ===
  22. sorting the scores
  23. 30
  24. get an idea
  25. read user reviews
  26. 8
  27. reads the screen aloud
  28. output
  29. a parameter
  30. line 1
  31. Back
  32. to reuse code
  33. Sports
  34. real users
  35. 450
  36. Bronze
  37. Help page
  38. 9
  39. less code to write
  40. True

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