← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 799 · 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 a food-order flow, what comes right after “check the cart”? (a) pay for the order (b) add it to the cart (c) open the menu (d) pick a dish
  2. 2.Which of these is true of an app? (a) has a home-screen icon (b) opens in a web browser (c) needs no installing (d) has a web address
  3. 3.🔢 In a quiz-app flow, which comes FIRST? (a) read a question (b) tap “Start quiz” (c) pick an answer (d) see if it is right
  4. 4.⚙️ What number does this app show?
    let price = 360; // typed by the user
    let off = 10; // typed by the user
    let pay = price - off;
    show(pay);
  5. 5.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Aman"));
    (a) greet (b) Hello, name! (c) Hello, Aman! (d) Aman
  6. 6.🗒️ When should nice-to-have features be built? (a) after the must-haves (b) on day one (c) before anything (d) never
  7. 7.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
  8. 8.🔁 What number does this code show?
    let scores = [19, 15, 17, 18, 8];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  9. 9.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 49; // start at 49
    line 2: stars = stars + 2; // take away 2
    line 3: stars = stars * 2; // double it
    line 4: stars = stars - 4; // take away 4
    line 5: show(stars); // show it
    (a) line 3 (b) line 4 (c) line 1 (d) line 2
  10. 10.🔀 What does >= mean? (a) less than (b) smaller or equal (c) not equal (d) greater than or equal
  11. 11.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Riya"));
    (a) Hello, Riya! (b) greet (c) Riya (d) Hello, name!
  12. 12.Which of these is an input? (a) your friends list (b) your saved notes (c) tap to Start (d) a slider for volume
  13. 13.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) set a reminder time (b) share your streak (c) custom alert sounds (d) water animations
  14. 14.🛠️ At which stage do you sketch the screens? (a) the plan stage (b) the build stage (c) the idea stage (d) the release stage
  15. 15.🎯 What is a user need? (a) a problem a user has (b) a type of button (c) a phone setting (d) a colour theme
  16. 16.💾 What number does this code show?
    let lives = 8;
    lives = lives - 1;
    lives = lives + 1;
    show(lives);
  17. 17.Which of these fits saving on the phone? (a) the sound on/off setting (b) photos on two devices (c) a class leaderboard (d) chat messages to friends
  18. 18.🔀 What does if / else let an app do? (a) save a photo (b) draw a screen (c) pick one of two actions (d) repeat forever
  19. 19.👆 What kind of event is this: a finger hits Like? (a) a timer event (b) a load event (c) a text event (d) a tap event
  20. 20.🔀 What does this battery rule show?
    let battery = 54;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  21. 21.🔀 What does this battery rule show?
    let battery = 22;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  22. 22.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Chat tab
    2. open “Badges”
    3. tap the Chat tab
    4. tap the Chat tab
    Which screen are you on now?
    (a) Feed (b) Chat (c) Settings (d) Badges
  23. 23.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) well planned (c) ready to release (d) missing a must-have
  24. 24.True or false: a page of random dots solves no real problem. (a) True (b) False
  25. 25.True or false: a buzz (vibration) is processing. (a) True (b) False
  26. 26.🧩 Which input is best for typing your name? (a) a switch (b) a slider (c) a text box (d) a picture
  27. 27.🔍 Which is the odd one out? (a) the font size (b) how fast a task is done (c) how users feel after (d) how easy sign-up is
  28. 28.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(55, 4));
  29. 29.♿ Why add captions to videos? (a) to slow them down (b) so anyone can follow (c) to hide the sound (d) to add colour
  30. 30.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(4));
  31. 31.🧩 Which of these is a button on this screen?
    [title] Sign Up
    [slider] Brightness
    [button] Back
    [button] Help
    [text box] Name
    [switch] Show hints
    [button] Cancel
    [text box] Due date
    (a) Cancel (b) Due date (c) Name (d) Show hints
  32. 32.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Next button: 60 px tall
    Back button: 48 px tall
    Save button: 44 px tall
    (a) Back (b) Save (c) Next
  33. 33.🎯 Who are the users of an app? (a) the app icons (b) the people who use it (c) only the testers (d) only the coders
  34. 34.💾 Data saved only on the phone is lost when ___. (a) the screen turns off (b) the phone is lost (c) you send a message (d) the app is closed
  35. 35.🔀 What does this sign-up rule show?
    let age = 14;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  36. 36.🔁 What number does this code show?
    let scores = [2, 19, 3, 19];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  37. 37.🔍 Which is the odd one out? (a) a flashcard trainer (b) a unit converter (c) a calculator (d) an alarm clock
  38. 38.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Cancel button: 24 px tall
    Next button: 64 px tall
    Save button: 48 px tall
    (a) Save (b) Cancel (c) Next
  39. 39.True or false: a homework planner is the best fit for a pupil juggling five projects. (a) False (b) True
  40. 40.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a final design (b) a wireframe

Answer key

  1. pay for the order
  2. has a home-screen icon
  3. tap “Start quiz”
  4. 350
  5. Hello, Aman!
  6. after the must-haves
  7. a user need
  8. 77
  9. line 2
  10. greater than or equal
  11. Hello, Riya!
  12. a slider for volume
  13. set a reminder time
  14. the plan stage
  15. a problem a user has
  16. 8
  17. the sound on/off setting
  18. pick one of two actions
  19. a tap event
  20. Battery OK
  21. Battery OK
  22. Chat
  23. missing a must-have
  24. True
  25. False
  26. a text box
  27. the font size
  28. 220
  29. so anyone can follow
  30. 100
  31. Cancel
  32. Save
  33. the people who use it
  34. the phone is lost
  35. Welcome!
  36. 43
  37. a flashcard trainer
  38. Cancel
  39. True
  40. a wireframe

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