← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 482 · 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.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 49; // start at 49
    line 2: lives = lives + 3; // add 3
    line 3: lives = lives - 4; // add 4
    line 4: lives = lives * 2; // double it
    line 5: show(lives); // show it
    (a) line 1 (b) line 4 (c) line 2 (d) line 3
  2. 2.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 45; // start at 45
    line 2: lives = lives - 4; // take away 1
    line 3: lives = lives + 3; // add 3
    line 4: show(lives); // show it
  3. 3.🔢 In a food-order flow, which comes LAST? (a) open the menu (b) check the cart (c) add it to the cart (d) track the order
  4. 4.🖼️ In this wireframe (top to bottom), what is right above the filter buttons?
    [ Save button ]
    [ search box ]
    [ filter buttons ]
    [ big picture ]
    (a) Save button (b) search box (c) big picture
  5. 5.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    missing the bus: 6 votes
    wasting pocket money: 8 votes
    losing water bottles: 21 votes
    (a) missing the bus (b) losing water bottles (c) wasting pocket money
  6. 6.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 68; // 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 2 (b) line 3 (c) line 1 (d) line 4
  7. 7.🎯 Is this a user need or a feature: a dark mode switch? (a) a feature (b) a user need
  8. 8.True or false: the game-over page is a button. (a) False (b) True
  9. 9.🔀 What is a user flow? (a) a charging cable (b) a colour theme (c) a type of font (d) the path through screens
  10. 10.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Badges”
    2. tap Back
    3. tap the Settings tab
    4. open “Match report”
    5. open “Help page”
    Which screen are you on now?
    (a) Badges (b) Feed (c) Match report (d) Help page
  11. 11.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Edit photo”
    2. tap the Feed tab
    3. open “Help page”
    How many times must you tap Back to reach the main screen of this tab?
  12. 12.🧩 How many buttons does this app screen have?
    [title] New Note
    [button] Done
    [button] Start
    [text box] Age
    [text box] Name
    [slider] Brightness
  13. 13.🗂️ What kind of app is a sleep tracker? (a) a game (b) a health app (c) a tool app (d) a learning app
  14. 14.🖼️ In this wireframe (top to bottom), what is right below the tab bar?
    [ filter buttons ]
    [ tab bar ]
    [ list of items ]
    [ Save button ]
    (a) list of items (b) Save button (c) filter buttons
  15. 15.🚀 Which of these versions is the NEWEST?
    1.5.4, 1.19.8, 1.16.7, 0.20.9
    (a) 0.20.9 (b) 1.5.4 (c) 1.16.7 (d) 1.19.8
  16. 16.Which of these requests asks for too much? (a) map app → location (b) calling app → contacts (c) timer → your photos (d) voice notes → microphone
  17. 17.🗒️ What is a must-have feature? (a) a colour theme (b) a nice extra (c) a sound effect (d) one the app cannot skip
  18. 18.🚀 What should an app ask for only when it really needs it? (a) a font (b) its icon (c) a permission (d) its name
  19. 19.🧩 In an app, what is tap to Send? (a) data (b) a screen (c) an input (d) a button
  20. 20.True or false: a medicine reminder solves no real problem. (a) True (b) False
  21. 21.🔢 When you make an app, which comes LAST? (a) test the app (b) release it (c) get an idea (d) build the app
  22. 22.🔀 What number does this shop app show?
    let total = 720;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  23. 23.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Sign Up
    [button] Cancel
    [text box] Phone
    [button] Done
    [switch] Sound
    [text box] Due date
    [slider] Volume
  24. 24.🗒️ Version 1 of a bus tracker must be ready in 14 days. How many days are left for extras after the must-haves?
    see where the bus is: 4 days
    show arrival time: 3 days
    pick your bus stop: 4 days
  25. 25.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 49; // start at 49
    line 2: points = points - 3; // add 3
    line 3: points = points - 2; // take away 2
    line 4: points = points - 5; // take away 5
    line 5: show(points); // show it
    (a) line 4 (b) line 2 (c) line 3 (d) line 1
  26. 26.👆 The user types Zoya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Well done, " + nameBox.text + "!";
    };
    (a) Well done, nameBox.text! (b) Well done! (c) Well done, Zoya! (d) Zoya
  27. 27.🔢 In a sign-up flow, which comes first: “open the app” or “type name and email”? (a) type name and email (b) open the app
  28. 28.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) savings stickers (c) export to a file (d) add money spent
  29. 29.🧩 In an app, what is a box to type a name? (a) data (b) a screen (c) a button (d) an input
  30. 30.🎯 Is this a user need or a feature: “I forget my homework”? (a) a feature (b) a user need
  31. 31.🧰 How do you run (call) a function called greet? (a) greet[] (b) greet() (c) run greet (d) #greet
  32. 32.🔁 What is the LAST line this code shows?
    let names = ["Zoya", "Aman", "Riya", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Aman (c) Hi, Zoya (d) Hi, Riya
  33. 33.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Menu: 9 px
    Hint: 24 px
    Body text: 28 px
    Title: 21 px
    Label: 17 px
    (a) Title (b) Menu (c) Body text (d) Hint
  34. 34.🧰 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(5) + fee(4));
  35. 35.💾 Which can hold many values in order? (a) a switch (b) a single number (c) a button (d) a list
  36. 36.🔢 When you make an app, what comes right after “get an idea”? (a) release it (b) build the app (c) test the app (d) plan the screens
  37. 37.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 30;
    }
    show(fee(9) + fee(7));
  38. 38.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a wireframe (b) a final design
  39. 39.Which of these is true of a final design? (a) has no real colours (b) shows the real fonts (c) shows where things go (d) uses plain grey boxes
  40. 40.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(2));

Answer key

  1. line 3
  2. 44
  3. track the order
  4. search box
  5. losing water bottles
  6. line 3
  7. a feature
  8. False
  9. the path through screens
  10. Help page
  11. 1
  12. 2
  13. a health app
  14. list of items
  15. 1.19.8
  16. timer → your photos
  17. one the app cannot skip
  18. a permission
  19. a button
  20. False
  21. release it
  22. 670
  23. 4
  24. 3
  25. line 2
  26. Well done, Zoya!
  27. open the app
  28. add money spent
  29. an input
  30. a user need
  31. greet()
  32. Hi, Arjun
  33. Menu
  34. 60
  35. a list
  36. plan the screens
  37. 60
  38. a final design
  39. shows the real fonts
  40. 60

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