← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 738 · 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.🎨 Is this about UI or UX: the icon shapes? (a) UX (b) UI
  2. 2.🧭 Which part of navigation sits at the bottom? (a) a menu button (b) the back button (c) a tab bar
  3. 3.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 48; // start at 47
    line 2: lives = lives + 5; // add 5
    line 3: lives = lives + 4; // add 4
    line 4: lives = lives * 2; // double it
    line 5: show(lives); // show it
  4. 4.🖼️ In this wireframe (top to bottom), what is right above the filter buttons?
    [ Add button ]
    [ big picture ]
    [ search box ]
    [ filter buttons ]
    [ Save button ]
    (a) big picture (b) search box (c) Add button (d) Save button
  5. 5.🖼️ In this wireframe (top to bottom), what is right below the list of items?
    [ list of items ]
    [ title text ]
    [ menu icon ]
    [ Save button ]
    [ filter buttons ]
    (a) Save button (b) title text (c) menu icon (d) filter buttons
  6. 6.🔐 Which permission does a guitar tuner really need? (a) location (b) contacts (c) the microphone (d) the camera
  7. 7.⚙️ In an app, is sorting the scores an input, processing or an output? (a) input (b) output (c) processing
  8. 8.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a recipe finder (b) a big-text reader (c) a bus tracker (d) a water reminder
  9. 9.🔀 What does this PIN rule show?
    let pin = "694";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  10. 10.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Arjun", "Zoya", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Arjun (c) Hi, Riya (d) Hi, Meera
  11. 11.♿ A screen has 6 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
  12. 12.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) an avatar shop (b) background music (c) confetti effects (d) check the answer
  13. 13.Which colour pair is hard to read? (a) dark blue on white (b) red on green (c) white on dark green (d) black on yellow
  14. 14.🧰 Why write a function? (a) to make code longer (b) to reuse code (c) to hide errors (d) to slow the app
  15. 15.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 39; // start at 39
    line 2: lives = lives + 6; // add 5
    line 3: lives = lives + 4; // add 4
    line 4: lives = lives + 5; // add 5
    line 5: show(lives); // show it
  16. 16.🌗 Is pale pink on white easy or hard to read on a button? (a) easy to read (b) hard to read
  17. 17.🔀 Which badge does this quiz app show?
    let marks = 77;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Gold (c) Bronze
  18. 18.🧩 Scores, notes and settings that an app keeps are called ___. (a) screens (b) tabs (c) data (d) buttons
  19. 19.🛠️ At which stage do you write down the bugs? (a) the idea stage (b) the build stage (c) the test stage (d) the plan stage
  20. 20.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(2) + fee(4));
  21. 21.True or false: a switch for dark mode is an input. (a) True (b) False
  22. 22.👆 Code that runs when an event happens is called a ___. (a) handler (b) headline (c) hashtag (d) header
  23. 23.🎯 Is this a user need or a feature: a reminder alarm? (a) a user need (b) a feature
  24. 24.🔀 What number does this shop app show?
    let total = 330;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  25. 25.💾 Saving data in the cloud lets you ___. (a) skip the internet (b) shrink the app (c) use it on any device (d) never need a password
  26. 26.🔢 In a photo-post flow, which comes first: “post the photo” or “open the camera screen”? (a) post the photo (b) open the camera screen
  27. 27.💾 What number does this code show?
    let songs = ["Ocean", "Monsoon"];
    songs.push("Stars");
    show(songs.length);
  28. 28.🗒️ 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: 4 days
    add money spent: 2 days
    show the balance: 4 days
  29. 29.🔁 What number does this code show?
    let scores = [23, 94, 16, 57, 52];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  30. 30.True or false: “colour as the only clue” helps everyone use the app. (a) True (b) False
  31. 31.🔀 What does this sign-up rule show?
    let age = 16;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  32. 32.🌗 Is black on yellow easy or hard to read on a button? (a) easy to read (b) hard to read
  33. 33.💡 Which app idea solves this problem: bottles go missing at school? (a) a bill splitter (b) a lost-and-found board (c) a study-room finder (d) a medicine reminder
  34. 34.🔀 What does this PIN rule show?
    let pin = "280";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  35. 35.🔀 What number does this shop app show?
    let total = 540;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  36. 36.True or false: a website has a home-screen icon. (a) True (b) False
  37. 37.🔁 What number does this code show?
    let runs = [24, 22, 29, 57];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  38. 38.Which of these fits saving in the cloud? (a) a draft you are typing (b) your last game level (c) chat messages to friends (d) notes to read offline
  39. 39.Which of these is about UI (the look)? (a) how easy sign-up is (b) the font size (c) how many taps it takes (d) how users feel after
  40. 40.🛠️ At which stage do you put it on an app store? (a) the build stage (b) the release stage (c) the plan stage (d) the test stage

Answer key

  1. UI
  2. a tab bar
  3. 112
  4. search box
  5. title text
  6. the microphone
  7. processing
  8. a water reminder
  9. Use 4 digits
  10. Hi, Meera
  11. 5
  12. check the answer
  13. red on green
  14. to reuse code
  15. 54
  16. hard to read
  17. Silver
  18. data
  19. the test stage
  20. 0
  21. True
  22. handler
  23. a feature
  24. 330
  25. use it on any device
  26. open the camera screen
  27. 3
  28. 2
  29. 1
  30. False
  31. Welcome!
  32. easy to read
  33. a lost-and-found board
  34. Use 4 digits
  35. 490
  36. False
  37. 0
  38. chat messages to friends
  39. the font size
  40. the release stage

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