← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 623 · 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.🖼️ In this wireframe (top to bottom), what is right above the big picture?
    [ menu icon ]
    [ Add button ]
    [ list of items ]
    [ big picture ]
    [ search box ]
    (a) Add button (b) menu icon (c) list of items (d) search box
  2. 2.🔀 What does this battery rule show?
    let battery = 47;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  3. 3.🎯 Is this a user need or a feature: a search bar? (a) a user need (b) a feature
  4. 4.Which of these is a feature? (a) “I keep missing the bus” (b) “Small text is hard” (c) a search bar (d) “I forget my homework”
  5. 5.🔀 Which badge does this quiz app show?
    let marks = 23;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  6. 6.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting homework: 7 votes
    forgetting birthdays: 18 votes
    losing water bottles: 11 votes
    (a) losing water bottles (b) forgetting homework (c) forgetting birthdays
  7. 7.True or false: the home page of an app is an input. (a) True (b) False
  8. 8.⚙️ What number does this app show?
    let km = 11; // typed by the user
    let metres = km * 1000;
    show(metres);
  9. 9.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 45; // start at 45
    line 2: lives = lives * 3; // double it
    line 3: lives = lives + 3; // add 3
    line 4: lives = lives - 1; // take away 1
    line 5: show(lives); // show it
    (a) line 4 (b) line 1 (c) line 2 (d) line 3
  10. 10.Which of these is about UX (the experience)? (a) the screen layout (b) how fast a task is done (c) the font size (d) the theme colours
  11. 11.⚙️ What number does this app show?
    let price = 10; // typed by the user
    let qty = 4; // typed by the user
    let total = price * qty;
    show(total);
  12. 12.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
  13. 13.🚀 Which version is newer: 2.14.0 or 2.2.3? (a) 2.2.3 (b) 2.14.0
  14. 14.🧩 In an app, what is your friends list? (a) data (b) a screen (c) an input (d) a button
  15. 15.👆 Which of these is an event? (a) the icon colour (b) the font size (c) a list of names (d) the user taps a button
  16. 16.🔘 Our rule: buttons are at least 48 px tall. The Send button is 40 px tall. How many px taller must it be?
  17. 17.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Caption: 11 px
    Footer: 21 px
    Label: 24 px
  18. 18.🐞 A comment in code (after //) is for ___. (a) the battery (b) the app store (c) the phone screen (d) people reading the code
  19. 19.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 38; // start at 37
    line 2: lives = lives * 2; // double it
    line 3: lives = lives * 2; // double it
    line 4: show(lives); // show it
  20. 20.🔀 With if / else if / else, how many parts run? (a) two (b) all of them (c) none (d) only one
  21. 21.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(40));
  22. 22.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Results → Cart → Pay → Offers → Confirm → Pens
    Design B: Home → Results → Size → Menu → Confirm
  23. 23.🧰 What does this code show?
    function greet(name) {
      return "Well done, " + name + "!";
    }
    show(greet("Aman"));
    (a) Aman (b) Well done, Aman! (c) Well done, name! (d) greet
  24. 24.True or false: a shared to-do list fits saving in the cloud. (a) True (b) False
  25. 25.🔀 A screen with no way forward or back is called a ___. (a) home screen (b) dead end (c) tab bar (d) shortcut
  26. 26.🧩 Which of these is a button on this screen?
    [title] Settings
    [switch] Dark mode
    [text box] Age
    [slider] Volume
    [button] Back
    [text box] Subject
    (a) Age (b) Dark mode (c) Subject (d) Back
  27. 27.🔘 Our rule: buttons are at least 48 px tall. The Next button is 24 px tall. How many px taller must it be?
  28. 28.🔢 After an app is released, which comes first: “read user reviews” or “fix and improve”? (a) fix and improve (b) read user reviews
  29. 29.🧩 Which of these is a button on this screen?
    [title] Order Snacks
    [switch] Sound
    [button] Save
    [text box] Phone
    [button] Done
    [text box] Due date
    [button] Help
    [slider] Brightness
    (a) Due date (b) Sound (c) Help (d) Phone
  30. 30.🗒️ When should nice-to-have features be built? (a) on day one (b) before anything (c) never (d) after the must-haves
  31. 31.True or false: you sketch the screens at the plan stage. (a) False (b) True
  32. 32.🎯 Which app would help this user most: a reader who finds small print hard? (a) a pocket-money tracker (b) a bus tracker (c) a big-text reader (d) a water reminder
  33. 33.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [text box] Due date
    [button] Next
    [text box] Notes
  34. 34.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    losing water bottles: 24 votes
    forgetting homework: 19 votes
    missing the bus: 10 votes
    (a) forgetting homework (b) losing water bottles (c) missing the bus
  35. 35.🔁 A loop over a list of 5 items runs its body how many times? (a) 4 (b) 5 (c) 6 (d) 1
  36. 36.True or false: a times-table quiz is a tool app. (a) True (b) False
  37. 37.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 132; // typed by the user
    line 2: let friends = 2; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 1 (b) line 3 (c) line 2 (d) line 4
  38. 38.🔁 What number does this code show?
    let runs = [62, 11, 55, 20, 28];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  39. 39.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 32; // start at 32
    line 2: coins = coins + 2; // take away 2
    line 3: coins = coins - 2; // take away 2
    line 4: show(coins); // show it
    (a) line 1 (b) line 3 (c) line 2
  40. 40.Which of these is true of a website? (a) has a home-screen icon (b) is installed on a phone (c) has a web address (d) updates from the store

Answer key

  1. list of items
  2. Battery OK
  3. a feature
  4. a search bar
  5. Bronze
  6. forgetting birthdays
  7. False
  8. 11000
  9. line 2
  10. how fast a task is done
  11. 40
  12. Yes
  13. 2.14.0
  14. data
  15. the user taps a button
  16. 8
  17. 1
  18. people reading the code
  19. 148
  20. only one
  21. 80
  22. 2
  23. Well done, Aman!
  24. True
  25. dead end
  26. Back
  27. 24
  28. read user reviews
  29. Help
  30. after the must-haves
  31. True
  32. a big-text reader
  33. 1
  34. losing water bottles
  35. 5
  36. False
  37. line 3
  38. 2
  39. line 2
  40. has a web address

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