← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 807 · 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.🔀 What does this sign-up rule show?
    let age = 10;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  2. 2.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Pay → Pens
    Design B: Home → Shop → Offers → Search → Pens → Cart
    (a) Design A (b) Design B
  3. 3.👥 A clinic app has 185 patients, 125 doctors and 165 nurses as users. How many more patients than nurses are there?
  4. 4.🔁 What number does this code show?
    let marks = [2, 17, 7];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  5. 5.🚀 Which of these versions is the NEWEST?
    3.29.7, 4.19.8, 4.18.9, 4.12.3
    (a) 3.29.7 (b) 4.19.8 (c) 4.18.9 (d) 4.12.3
  6. 6.🔁 What number does this code show?
    let steps = [79, 94, 52, 61, 25];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  7. 7.💾 What number does this code show?
    let songs = ["Ocean", "Rain", "Monsoon"];
    songs.push("Kites");
    show(songs.length);
  8. 8.🗒️ Version 1 of a pocket-money tracker must be ready in 9 days. How many days are left for extras after the must-haves?
    add money received: 2 days
    add money spent: 2 days
    show the balance: 2 days
  9. 9.🔀 In this course’s code, which sign tests “is equal to”? (a) = (b) !== (c) => (d) ===
  10. 10.🗒️ Version 1 of a bus tracker must be ready in 10 days. How many days are left for extras after the must-haves?
    see where the bus is: 4 days
    show arrival time: 1 days
    pick your bus stop: 2 days
  11. 11.Which of these is a feature? (a) “Small text is hard” (b) “I forget my homework” (c) “I keep missing the bus” (d) a share button
  12. 12.💾 Which can hold many values in order? (a) a list (b) a single number (c) a button (d) a switch
  13. 13.True or false: chat messages to friends fits saving in the cloud. (a) True (b) False
  14. 14.🧪 A test case is an input together with its ___. (a) screen colour (b) app icon (c) font size (d) expected result
  15. 15.🔢 In a photo-post flow, which comes first: “write a caption” or “post the photo”? (a) write a caption (b) post the photo
  16. 16.🔢 In a food-order flow, which comes first: “pick a dish” or “check the cart”? (a) pick a dish (b) check the cart
  17. 17.True or false: a water reminder is the best fit for a gamer who forgets to drink. (a) True (b) False
  18. 18.Which colour pair is hard to read? (a) red on green (b) black on yellow (c) dark blue on white (d) white on dark green
  19. 19.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ list of items ]
    [ Add button ]
    [ menu icon ]
    [ Save button ]
    [ filter buttons ]
    [ top bar ]
    (a) top bar (b) Add button (c) menu icon (d) list of items
  20. 20.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 38; // start at 38
    line 2: score = score - 5; // take away 5
    line 3: score = score - 3; // take away 3
    line 4: score = score + 4; // take away 4
    line 5: show(score); // show it
  21. 21.⚙️ What number does this app show?
    let price = 40; // typed by the user
    let qty = 3; // typed by the user
    let total = price * qty;
    show(total);
  22. 22.🔀 When does the else part run? (a) when the test is true (b) when the test is false (c) never (d) always
  23. 23.True or false: a page of random dots solves a real problem. (a) True (b) False
  24. 24.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) pie-chart colours (c) add money spent (d) savings stickers
  25. 25.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Offers → Search
    Design B: Home → Results → Size → Menu → Address → Cart → Shop
  26. 26.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) pick a theme colour (b) set a due date (c) see tasks by day (d) add a homework task
  27. 27.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Title: 11 px
    Caption: 16 px
    Menu: 10 px
  28. 28.🧩 Which of these is a button on this screen?
    [title] Sign Up
    [button] Start
    [text box] Email
    [text box] Phone
    [button] Next
    [button] Done
    (a) Start (b) Email (c) Phone
  29. 29.🔀 What does this battery rule show?
    let battery = 38;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  30. 30.🔀 What does if / else let an app do? (a) draw a screen (b) repeat forever (c) pick one of two actions (d) save a photo
  31. 31.True or false: a medicine reminder solves no real problem. (a) True (b) False
  32. 32.🔁 What number does this code show?
    let runs = [17, 3, 2];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  33. 33.🧩 Which of these is a button on this screen?
    [title] Order Snacks
    [button] Help
    [button] Send
    [slider] Brightness
    [text box] Name
    [text box] City
    (a) City (b) Brightness (c) Help (d) Name
  34. 34.👆 The user taps the button 7 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  35. 35.True or false: working out a tip is an input. (a) True (b) False
  36. 36.💾 In most code, the first item of a list is at position ___. (a) 1 (b) 10 (c) 0 (d) 2
  37. 37.🔍 Which is the odd one out? (a) a sleep tracker (b) a step counter (c) a water reminder (d) a word battle
  38. 38.🖼️ How many parts (boxes) does this wireframe have?
    [ top bar ]
    [ big picture ]
    [ search box ]
    [ Add button ]
  39. 39.🔁 What number does this code show?
    let marks = [13, 16, 2, 17, 20];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  40. 40.💾 Where should the app save notes to read offline: on the phone or in the cloud? (a) on the phone (b) in the cloud

Answer key

  1. Ask a parent
  2. Design A
  3. 20
  4. 17
  5. 4.19.8
  6. 4
  7. 4
  8. 3
  9. ===
  10. 3
  11. a share button
  12. a list
  13. True
  14. expected result
  15. write a caption
  16. pick a dish
  17. True
  18. red on green
  19. top bar
  20. 34
  21. 120
  22. when the test is false
  23. False
  24. add money spent
  25. 4
  26. pick a theme colour
  27. 2
  28. Start
  29. Battery OK
  30. pick one of two actions
  31. False
  32. 22
  33. Help
  34. 4
  35. False
  36. 0
  37. a word battle
  38. 4
  39. 68
  40. on the phone

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