← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 414 · 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.Which colour pair is easy to read? (a) light grey on white (b) yellow on white (c) dark blue on black (d) black on yellow
  2. 2.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Menu → Address
    Design B: Home → Address → Results → Confirm
    (a) Design B (b) Design A
  3. 3.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Riya", "Aman", "Zoya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Aman (c) Hi, Zoya (d) Hi, Riya
  4. 4.👆 What kind of event is this: one second passes? (a) a load event (b) a text event (c) a timer event (d) a tap event
  5. 5.True or false: taking a photo is an input. (a) True (b) False
  6. 6.🔢 In a sign-up flow, which comes FIRST? (a) make a password (b) tap “Sign up” (c) type name and email (d) open the app
  7. 7.🔍 Which is the odd one out? (a) taking a photo (b) adding up a bill (c) speaking a command (d) tapping a button
  8. 8.True or false: the icon shapes is about UI (the look). (a) True (b) False
  9. 9.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 49; // start at 49
    line 2: stars = stars + 2; // add 2
    line 3: stars = stars - 4; // take away 1
    line 4: stars = stars + 2; // add 2
    line 5: show(stars); // show it
  10. 10.🔁 What number does this code show?
    let marks = [37, 17, 72, 19];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  11. 11.🧭 Why should every screen show where you are? (a) to hide the menu (b) so users do not get lost (c) to use more battery (d) to look busy
  12. 12.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 34; // start at 34
    line 2: coins = coins * 2; // double it
    line 3: coins = coins - 6; // add 6
    line 4: show(coins); // show it
  13. 13.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Add button ]
    [ title text ]
    [ big picture ]
    [ tab bar ]
    [ Save button ]
    (a) tab bar (b) title text (c) Save button (d) big picture
  14. 14.Which of these fits saving on the phone? (a) a class leaderboard (b) chat messages to friends (c) the sound on/off setting (d) a shared to-do list
  15. 15.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 31; // start at 31
    line 2: coins = coins - 5; // add 5
    line 3: coins = coins + 4; // add 4
    line 4: show(coins); // show it
  16. 16.🔁 What number does this code show?
    let runs = [34, 75, 64, 22, 56];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  17. 17.Which of these is about UI (the look)? (a) the button colours (b) how easy sign-up is (c) how fast a task is done (d) how many taps it takes
  18. 18.👆 The user taps the button 1 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) ON (b) OFF
  19. 19.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “wasting pocket money”?
    wasting pocket money: 9 votes
    forgetting homework: 22 votes
    missing the bus: 16 votes
  20. 20.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [button] Cancel
    [text box] Age
    [text box] Name
    [button] Next
    [button] Help
    [slider] Brightness
  21. 21.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Done button: 72 px tall
    Save button: 56 px tall
    Help button: 68 px tall
    Send button: 40 px tall
    (a) Done (b) Send (c) Help (d) Save
  22. 22.True or false: a racing challenge is a game. (a) True (b) False
  23. 23.💡 Which app idea solves this problem: a patient misses doses? (a) a homework planner (b) a medicine reminder (c) a lost-and-found board (d) a bill splitter
  24. 24.🛠️ At which stage do you spot a problem to solve? (a) the plan stage (b) the build stage (c) the release stage (d) the idea stage
  25. 25.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Address → Confirm → Shop
    Design B: Home → Address → Results → Shop → Confirm → Pay
  26. 26.🧩 In an app, what is your saved notes? (a) an input (b) a button (c) a screen (d) data
  27. 27.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(13));
  28. 28.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [button] Done
    [text box] Email
    [slider] Volume
    [switch] Show hints
    [button] Next
    [text box] Age
    [button] Save
  29. 29.🧭 Which part of navigation hides extra links? (a) a menu button (b) a tab bar (c) the back button
  30. 30.🔀 In this course’s code, which sign tests “is equal to”? (a) => (b) = (c) === (d) !==
  31. 31.Which of these happens at the release stage? (a) list what users need (b) sketch the screens (c) pick the features (d) share the download link
  32. 32.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Order Snacks
    [text box] Due date
    [text box] Subject
    [button] Send
    [text box] Phone
    [button] Help
    [button] Save
  33. 33.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 39; // start at 39
    line 2: coins = coins - 2; // take away 2
    line 3: coins = coins + 3; // add 3
    line 4: coins = coins - 2; // add 2
    line 5: show(coins); // show it
  34. 34.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [slider] Volume
    [text box] Age
    [text box] Phone
    [text box] City
    [button] Send
    [button] Start
  35. 35.Which of these is true of a menu button? (a) shows 3 to 5 icons (b) undoes one move (c) switches main sections (d) hides extra links
  36. 36.👆 The user types Aman 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, Aman! (c) Well done! (d) Aman
  37. 37.⚙️ What number does this app show?
    let price = 45; // typed by the user
    let qty = 4; // typed by the user
    let total = price * qty;
    show(total);
  38. 38.👥 A cricket club app has 255 players, 290 coaches and 175 fans as users. How many more players than fans are there?
  39. 39.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a wireframe (b) a final design
  40. 40.🌗 Is black on yellow easy or hard to read on a button? (a) hard to read (b) easy to read

Answer key

  1. black on yellow
  2. Design A
  3. Hi, Zoya
  4. a timer event
  5. True
  6. open the app
  7. adding up a bill
  8. True
  9. 52
  10. 1
  11. so users do not get lost
  12. 62
  13. Save button
  14. the sound on/off setting
  15. 30
  16. 3
  17. the button colours
  18. ON
  19. 7
  20. 3
  21. Send
  22. True
  23. a medicine reminder
  24. the idea stage
  25. 3
  26. data
  27. 26
  28. 4
  29. a menu button
  30. ===
  31. share the download link
  32. 3
  33. 38
  34. 2
  35. hides extra links
  36. Well done, Aman!
  37. 180
  38. 80
  39. a final design
  40. easy to read

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