← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 445 · 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.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Badges”
    2. tap the Feed tab
    3. open “Edit photo”
    4. tap the Feed tab
    Which screen are you on now?
    (a) Badges (b) Chat (c) Edit photo (d) Feed
  2. 2.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Pay → Pens → Search
    Design B: Home → Address → Menu
  3. 3.🔍 Which is the odd one out? (a) how easy sign-up is (b) the icon shapes (c) the theme colours (d) the screen layout
  4. 4.🔢 In a sign-up flow, which comes first: “enter the code sent” or “type name and email”? (a) enter the code sent (b) type name and email
  5. 5.🔁 What number does this code show?
    let runs = [12, 4, 10];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  6. 6.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 31; // start at 31
    line 2: stars = stars * 2; // double it
    line 3: stars = stars * 3; // double it
    line 4: stars = stars * 2; // double it
    line 5: show(stars); // show it
  7. 7.🔢 When you make an app, which comes first: “release it” or “test the app”? (a) release it (b) test the app
  8. 8.🖼️ How many parts (boxes) does this wireframe have?
    [ title text ]
    [ search box ]
    [ top bar ]
    [ big picture ]
    [ tab bar ]
    [ menu icon ]
  9. 9.Which of these is true of the back button? (a) opens a list of pages (b) goes to the last screen (c) switches main sections (d) sits at the bottom
  10. 10.🖼️ In this wireframe (top to bottom), what is right above the filter buttons?
    [ Add button ]
    [ top bar ]
    [ big picture ]
    [ title text ]
    [ filter buttons ]
    [ search box ]
    (a) big picture (b) top bar (c) title text (d) search box
  11. 11.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Caption: 17 px
    Label: 13 px
    Menu: 21 px
    Body text: 17 px
    Title: 16 px
  12. 12.🚀 Which of these versions is the OLDEST?
    2.25.8, 3.9.4, 3.2.1, 3.6.3
    (a) 3.6.3 (b) 2.25.8 (c) 3.9.4 (d) 3.2.1
  13. 13.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a bus tracker (b) a homework planner (c) a recipe finder (d) a pocket-money tracker
  14. 14.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) add a homework task (c) see tasks by day (d) pick a theme colour
  15. 15.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) add a homework task (c) see tasks by day (d) share tasks to friends
  16. 16.📱 Where do people usually download phone apps from? (a) a charger (b) a printer (c) an app store (d) a web server
  17. 17.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) home screen (c) dead end (d) tab bar
  18. 18.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age <= 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(15) → expected 100
    Test 2: price(18) → expected 100
    Test 3: price(12) → expected 50
  19. 19.Which of these is true of a website? (a) has a web address (b) comes from an app store (c) updates from the store (d) has a home-screen icon
  20. 20.👆 Code that runs when an event happens is called a ___. (a) header (b) handler (c) headline (d) hashtag
  21. 21.👆 The user taps the button 5 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) OFF (b) ON
  22. 22.🔁 What number does this code show?
    let marks = [73, 87, 11, 90];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  23. 23.🔢 In a quiz-app flow, what comes right after “tap “Start quiz””? (a) see if it is right (b) read a question (c) see the final score (d) pick an answer
  24. 24.🔍 Which is the odd one out? (a) working out a tip (b) sorting the scores (c) adding up a bill (d) tapping a button
  25. 25.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ menu icon ]
    [ top bar ]
    [ search box ]
    [ tab bar ]
    (a) menu icon (b) search box (c) top bar (d) tab bar
  26. 26.🔀 What does this battery rule show?
    let battery = 78;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  27. 27.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 48; // start at 48
    line 2: coins = coins - 2; // take away 2
    line 3: coins = coins - 5; // add 5
    line 4: coins = coins + 2; // add 2
    line 5: show(coins); // show it
  28. 28.🗂️ What kind of app is a times-table quiz? (a) a game (b) a health app (c) a learning app (d) a tool app
  29. 29.🧩 Which input is best for typing your name? (a) a switch (b) a picture (c) a slider (d) a text box
  30. 30.🔍 Which is the odd one out? (a) a times-table quiz (b) a flashcard trainer (c) a spelling coach (d) a sleep tracker
  31. 31.🔀 What does this sign-up rule show?
    let age = 9;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  32. 32.True or false: the game-over page is a screen. (a) False (b) True
  33. 33.🧰 What does return do in a function? (a) closes the screen (b) sends back a value (c) deletes the app (d) repeats the code
  34. 34.🚀 Which of these versions is the OLDEST?
    2.18.0, 2.17.5, 1.24.6, 2.10.5
    (a) 1.24.6 (b) 2.18.0 (c) 2.17.5 (d) 2.10.5
  35. 35.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [button] Back
    [switch] Show hints
    [text box] Notes
  36. 36.🔢 In a food-order flow, which comes first: “check the cart” or “open the menu”? (a) open the menu (b) check the cart
  37. 37.Which of these makes the app harder to use? (a) big touch targets (b) labels on every icon (c) captions on videos (d) fast-flashing lights
  38. 38.🖼️ In this wireframe (top to bottom), what is right below the Add button?
    [ top bar ]
    [ Add button ]
    [ filter buttons ]
    [ search box ]
    [ Save button ]
    (a) top bar (b) Save button (c) search box (d) filter buttons
  39. 39.True or false: the icon shapes is about UX (the experience). (a) True (b) False
  40. 40.🧰 What does this code show?
    function greet(name) {
      return "Well done, " + name + "!";
    }
    show(greet("Riya"));
    (a) greet (b) Well done, name! (c) Riya (d) Well done, Riya!

Answer key

  1. Feed
  2. 3
  3. how easy sign-up is
  4. type name and email
  5. 26
  6. 248
  7. test the app
  8. 6
  9. goes to the last screen
  10. title text
  11. 1
  12. 2.25.8
  13. a pocket-money tracker
  14. pick a theme colour
  15. share tasks to friends
  16. an app store
  17. dead end
  18. 3
  19. has a web address
  20. handler
  21. ON
  22. 3
  23. read a question
  24. tapping a button
  25. tab bar
  26. Battery OK
  27. 43
  28. a learning app
  29. a text box
  30. a sleep tracker
  31. Ask a parent
  32. True
  33. sends back a value
  34. 1.24.6
  35. 2
  36. open the menu
  37. fast-flashing lights
  38. filter buttons
  39. False
  40. Well done, Riya!

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