← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 374 · 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 one is installed on a phone: an app or a website? (a) a website (b) an app
  2. 2.🔁 What number does this code show?
    let steps = [20, 18, 6, 9, 12];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  3. 3.🧩 In an app, what is the log-in page? (a) a screen (b) an input (c) data (d) a button
  4. 4.💡 Does an app idea like a blank grey screen solve a real problem? (a) No (b) Yes
  5. 5.🔐 Which permission does a homework photo scanner really need? (a) the microphone (b) location (c) contacts (d) the camera
  6. 6.🗂️ What kind of app is a flashcard trainer? (a) a tool app (b) a health app (c) a learning app (d) a game
  7. 7.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 40; // start at 40
    line 2: score = score * 2; // double it
    line 3: score = score + 4; // add 4
    line 4: score = score * 3; // double it
    line 5: show(score); // show it
  8. 8.💾 Where should the app save your last game level: on the phone or in the cloud? (a) on the phone (b) in the cloud
  9. 9.🔢 In a sign-up flow, what comes right after “open the app”? (a) type name and email (b) enter the code sent (c) see the home screen (d) tap “Sign up”
  10. 10.🎨 UI stands for user ___. (a) interface (b) internet (c) idea (d) input
  11. 11.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Cancel button: 32 px tall
    Send button: 48 px tall
    Next button: 56 px tall
    Back button: 68 px tall
    (a) Next (b) Back (c) Cancel (d) Send
  12. 12.🔁 What number does this code show?
    let runs = [2, 11, 16, 18];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  13. 13.🔁 list.length tells you ___. (a) the biggest item (b) the first item (c) the last item (d) how many items it has
  14. 14.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Zoya", "Meera", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Meera (c) Hi, Arjun (d) Hi, Riya
  15. 15.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) pie-chart colours (c) show the balance (d) savings stickers
  16. 16.True or false: a flashcard trainer is a tool app. (a) True (b) False
  17. 17.Which of these is an input? (a) the settings page (b) tap to Start (c) the game-over page (d) a slider for volume
  18. 18.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 42; // start at 42
    line 2: score = score - 5; // add 5
    line 3: score = score * 2; // double it
    line 4: score = score + 6; // add 6
    line 5: show(score); // show it
  19. 19.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 32; // start at 32
    line 2: score = score + 5; // add 5
    line 3: score = score - 6; // add 6
    line 4: show(score); // show it
  20. 20.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) on the phone (b) in the cloud
  21. 21.👥 A cricket club app has 150 players, 25 coaches and 85 fans as users. How many more players than fans are there?
  22. 22.💡 Which is a problem statement? (a) “Make it fast” (b) “Use blue buttons” (c) “Kids forget homework” (d) “Add a logo”
  23. 23.Which of these helps everyone use the app? (a) colour as the only clue (b) fast-flashing lights (c) big touch targets (d) icons with no labels
  24. 24.🐞 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 31
    line 2: score = score + 2; // add 2
    line 3: score = score - 1; // take away 1
    line 4: score = score + 5; // add 5
    line 5: show(score); // show it
  25. 25.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) helps everyone (b) makes it harder
  26. 26.Which of these is about UX (the experience)? (a) the font size (b) the button colours (c) how many taps it takes (d) the theme colours
  27. 27.True or false: you put it on an app store at the release stage. (a) False (b) True
  28. 28.🔢 In a photo-post flow, which comes LAST? (a) take the photo (b) open the camera screen (c) post the photo (d) add a filter
  29. 29.🔍 Which is the odd one out? (a) how users feel after (b) the font size (c) how many taps it takes (d) whether users get lost
  30. 30.👆 The user taps the button 3 times. What number does the label show now?
    let points = 9;
    button.onTap = function () {
      points = points + 1;
      label.text = points;
    };
  31. 31.🔍 Which is the odd one out? (a) captions on videos (b) labels on every icon (c) icons with no labels (d) strong colour contrast
  32. 32.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a final design (b) a wireframe
  33. 33.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) tab bar (c) dead end (d) home screen
  34. 34.⚙️ What number does this app show?
    let bill = 102; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  35. 35.True or false: a page of random dots solves a real problem. (a) False (b) True
  36. 36.📱 Which one comes from an app store: an app or a website? (a) an app (b) a website
  37. 37.True or false: how users feel after is about UX (the experience). (a) True (b) False
  38. 38.🧰 What is a function? (a) a named block of code (b) a type of phone (c) a list of colours (d) a screen size
  39. 39.True or false: you add the buttons at the build stage. (a) False (b) True
  40. 40.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Footer: 22 px
    Title: 15 px
    Menu: 24 px

Answer key

  1. an app
  2. 20
  3. a screen
  4. No
  5. the camera
  6. a learning app
  7. 252
  8. on the phone
  9. tap “Sign up”
  10. interface
  11. Cancel
  12. 47
  13. how many items it has
  14. Hi, Riya
  15. show the balance
  16. False
  17. a slider for volume
  18. 80
  19. 31
  20. in the cloud
  21. 65
  22. “Kids forget homework”
  23. big touch targets
  24. 37
  25. makes it harder
  26. how many taps it takes
  27. True
  28. post the photo
  29. the font size
  30. 12
  31. icons with no labels
  32. a final design
  33. dead end
  34. 51
  35. False
  36. an app
  37. True
  38. a named block of code
  39. True
  40. 1

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