← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 591 · 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.💾 Where should the app save a shared to-do list: on the phone or in the cloud? (a) on the phone (b) in the cloud
  2. 2.💾 Saving data in the cloud lets you ___. (a) use it on any device (b) never need a password (c) skip the internet (d) shrink the app
  3. 3.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(700) → expected 40
    Test 2: delivery(950) → expected 0
    Test 3: delivery(800) → expected 0
    (a) Test 2 (b) Test 1 (c) Test 3
  4. 4.🔁 What number does this code show?
    let marks = [6, 10, 1, 15];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  5. 5.True or false: a clear word like Save is poor button design. (a) False (b) True
  6. 6.Which of these happens at the build stage? (a) try every button (b) connect the data (c) list what users need (d) draw the user flow
  7. 7.Which of these is true of a wireframe? (a) shows the real fonts (b) has the real colours (c) looks like the real app (d) has no real colours
  8. 8.Which of these is about UI (the look)? (a) how users feel after (b) how fast a task is done (c) the font size (d) how easy sign-up is
  9. 9.👆 The user taps the button 2 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  10. 10.♿ Why add captions to videos? (a) to add colour (b) to hide the sound (c) so anyone can follow (d) to slow them down
  11. 11.🛠️ At which stage do you pick the features? (a) the test stage (b) the build stage (c) the idea stage (d) the plan stage
  12. 12.🔁 What number does this code show?
    let runs = [24, 98, 75, 66, 55];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  13. 13.🎨 UX stands for user ___. (a) experience (b) extra (c) express (d) example
  14. 14.🎯 Is this a user need or a feature: a reminder alarm? (a) a user need (b) a feature
  15. 15.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Aman", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Kabir (c) Hi, Riya
  16. 16.👆 Which of these is an event? (a) the font size (b) the user taps a button (c) the icon colour (d) a list of names
  17. 17.🚀 Which version is newer: 1.5.0 or 1.16.3? (a) 1.16.3 (b) 1.5.0
  18. 18.True or false: photos on two devices fits saving in the cloud. (a) True (b) False
  19. 19.♿ A screen has 10 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
  20. 20.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) rate the driver (c) a dark mode (d) see where the bus is
  21. 21.True or false: you sketch the screens at the plan stage. (a) True (b) False
  22. 22.👆 What kind of event is this: the search box changes? (a) a load event (b) a text event (c) a tap event (d) a timer event
  23. 23.🔀 When does the else part run? (a) never (b) when the test is false (c) always (d) when the test is true
  24. 24.📅 An app team plans for 3 days, builds for 12 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  25. 25.True or false: a clear word like Save is good button design. (a) False (b) True
  26. 26.Which of these is a feature? (a) a dark mode switch (b) “I keep missing the bus” (c) “Small text is hard” (d) “I forget my homework”
  27. 27.Which of these is true of an app? (a) opens from a link (b) needs no installing (c) has a web address (d) is installed on a phone
  28. 28.Which of these is true of an app? (a) updates from the store (b) opens in a web browser (c) has a web address (d) needs no installing
  29. 29.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(550) → expected 40
    Test 2: delivery(850) → expected 0
    Test 3: delivery(700) → expected 0
  30. 30.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a lost-and-found board (b) a bill splitter (c) a study-room finder (d) a medicine reminder
  31. 31.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Send button: 72 px tall
    Next button: 36 px tall
    Save button: 60 px tall
    (a) Save (b) Send (c) Next
  32. 32.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 35; // start at 32
    line 2: points = points + 4; // add 4
    line 3: points = points - 4; // take away 4
    line 4: points = points - 1; // take away 1
    line 5: show(points); // show it
  33. 33.🔀 Which badge does this quiz app show?
    let marks = 60;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Gold (c) Bronze
  34. 34.True or false: “text that can grow” makes the app harder to use. (a) False (b) True
  35. 35.Which of these is true of a menu button? (a) goes to the last screen (b) switches main sections (c) opens a list of pages (d) shows 3 to 5 icons
  36. 36.🌗 Is yellow on white easy or hard to read on a button? (a) hard to read (b) easy to read
  37. 37.🛠️ At which stage do you list what users need? (a) the test stage (b) the release stage (c) the plan stage (d) the idea stage
  38. 38.🚀 In version 2.5.1, which number is the major version? (a) 5 (b) 1 (c) 2 (d) 251
  39. 39.🧩 Which input is best for typing your name? (a) a slider (b) a switch (c) a picture (d) a text box
  40. 40.🎨 Is this about UI or UX: the font size? (a) UX (b) UI

Answer key

  1. in the cloud
  2. use it on any device
  3. Test 3
  4. 32
  5. False
  6. connect the data
  7. has no real colours
  8. the font size
  9. 2
  10. so anyone can follow
  11. the plan stage
  12. 4
  13. experience
  14. a feature
  15. Hi, Kabir
  16. the user taps a button
  17. 1.16.3
  18. True
  19. 9
  20. see where the bus is
  21. True
  22. a text event
  23. when the test is false
  24. 19
  25. True
  26. a dark mode switch
  27. is installed on a phone
  28. updates from the store
  29. 3
  30. a lost-and-found board
  31. Next
  32. 31
  33. Silver
  34. False
  35. opens a list of pages
  36. hard to read
  37. the idea stage
  38. 2
  39. a text box
  40. UI

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