← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 274 · 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.🧩 Which part lets the user give the app information? (a) a logo (b) a title (c) an input (d) an icon
  2. 2.🔁 What number does this code show?
    let steps = [4, 6, 19, 17];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  3. 3.🔢 In a sign-up flow, what comes right after “make a password”? (a) see the home screen (b) tap “Sign up” (c) enter the code sent (d) type name and email
  4. 4.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Kabir"));
    (a) Hi, name! (b) Kabir (c) Hi, Kabir! (d) greet
  5. 5.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Hint: 25 px
    Title: 14 px
    Body text: 19 px
    Menu: 24 px
    (a) Hint (b) Menu (c) Body text (d) Title
  6. 6.🔢 After an app is released, which comes FIRST? (a) release an update (b) test it again (c) read user reviews (d) list what to fix
  7. 7.🗂️ What kind of app is a torch? (a) a health app (b) a learning app (c) a tool app (d) a game
  8. 8.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new app (b) a bug fix (c) a new feature (d) a big redesign
  9. 9.🧪 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(7) → expected Pass
    Test 2: result(3) → expected Try again
    Test 3: result(6) → expected Pass
    (a) Test 1 (b) Test 3 (c) Test 2
  10. 10.Which of these is true of an app? (a) opens in a web browser (b) has a home-screen icon (c) opens from a link (d) has a web address
  11. 11.♿ Showing right or wrong only in red and green is a problem for ___. (a) colour-blind users (b) the battery (c) the server (d) fast typists
  12. 12.True or false: the screen first opens is a text event. (a) True (b) False
  13. 13.🔀 Why plan the user flow before building? (a) so each step is clear (b) to add more taps (c) to hide the buttons (d) to skip testing
  14. 14.🖼️ In this wireframe (top to bottom), what is right above the big picture?
    [ Save button ]
    [ Add button ]
    [ big picture ]
    [ top bar ]
    [ search box ]
    [ tab bar ]
    (a) Save button (b) tab bar (c) Add button (d) search box
  15. 15.🔢 In a quiz-app flow, which comes first: “see if it is right” or “pick an answer”? (a) pick an answer (b) see if it is right
  16. 16.⚙️ What number does this app show?
    let km = 3; // typed by the user
    let metres = km * 1000;
    show(metres);
  17. 17.♿ Does this help everyone, or make the app harder to use: big touch targets? (a) makes it harder (b) helps everyone
  18. 18.📱 Which one opens in a web browser: an app or a website? (a) an app (b) a website
  19. 19.Which of these is a feature? (a) “What should I cook?” (b) “I keep missing the bus” (c) a reminder alarm (d) “I forget my homework”
  20. 20.🔐 Which permission does a party-invite app for friends really need? (a) the microphone (b) location (c) the camera (d) contacts
  21. 21.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
  22. 22.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Shop → Confirm → Pens
    Design B: Home → Menu → Pay
  23. 23.Which of these fits saving on the phone? (a) chat messages to friends (b) a class leaderboard (c) a shared to-do list (d) a draft you are typing
  24. 24.🔐 Is this permission request fair or too much: quiz app → microphone? (a) fair (b) too much
  25. 25.🔀 What does this battery rule show?
    let battery = 62;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  26. 26.👥 A school app has 215 students, 230 teachers and 45 parents as users. Which user group is the biggest? (a) teachers (b) students (c) parents
  27. 27.🔁 What number does this code show?
    let runs = [5, 15, 2, 9];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  28. 28.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 33; // start at 33
    line 2: coins = coins + 2; // add 2
    line 3: coins = coins + 2; // double it
    line 4: coins = coins + 2; // add 2
    line 5: show(coins); // show it
    (a) line 2 (b) line 3 (c) line 4 (d) line 1
  29. 29.🔁 What number does this code show?
    let runs = [6, 18, 3];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  30. 30.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 5; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 3 (b) line 2 (c) line 1
  31. 31.🧩 In an app, what is your high score? (a) a screen (b) an input (c) a button (d) data
  32. 32.🧭 Tapping a tab usually takes you to ___. (a) the last app used (b) the phone settings (c) a random page (d) that tab’s main screen
  33. 33.Which of these is true of an app? (a) opens from a link (b) is installed on a phone (c) needs no installing (d) opens in a web browser
  34. 34.🔀 When does the else part run? (a) when the test is false (b) always (c) when the test is true (d) never
  35. 35.Which of these is true of a final design? (a) is a quick sketch (b) uses plain grey boxes (c) shows where things go (d) uses the final pictures
  36. 36.True or false: space between buttons is poor button design. (a) True (b) False
  37. 37.⚙️ What number does this app show?
    let bill = 48; // typed by the user
    let friends = 3; // typed by the user
    let share = bill / friends;
    show(share);
  38. 38.🧭 Where is a tab bar usually placed in a phone app? (a) nowhere (b) at the bottom (c) in the middle (d) inside a button
  39. 39.True or false: how fast a task is done is about UX (the experience). (a) True (b) False
  40. 40.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 47; // start at 47
    line 2: points = points - 1; // take away 1
    line 3: points = points * 3; // double it
    line 4: show(points); // show it
    (a) line 2 (b) line 3 (c) line 1

Answer key

  1. an input
  2. 46
  3. enter the code sent
  4. Hi, Kabir!
  5. Title
  6. read user reviews
  7. a tool app
  8. a bug fix
  9. Test 3
  10. has a home-screen icon
  11. colour-blind users
  12. False
  13. so each step is clear
  14. Add button
  15. pick an answer
  16. 3000
  17. helps everyone
  18. a website
  19. a reminder alarm
  20. contacts
  21. an app
  22. 1
  23. a draft you are typing
  24. too much
  25. Battery OK
  26. teachers
  27. 15
  28. line 3
  29. 18
  30. line 2
  31. data
  32. that tab’s main screen
  33. is installed on a phone
  34. when the test is false
  35. uses the final pictures
  36. False
  37. 16
  38. at the bottom
  39. True
  40. line 3

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