← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 333 · 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.🧰 In function tip(bill), what is bill? (a) a parameter (b) an event (c) a loop (d) a screen
  2. 2.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(11));
  3. 3.🐞 What is a good first step when an app gives a wrong result? (a) find where it goes wrong (b) add more colours (c) delete the app (d) buy a new phone
  4. 4.👥 A school app has 140 students, 85 teachers and 240 parents as users. Which user group is the biggest? (a) parents (b) students (c) teachers
  5. 5.🧑 Who is an app really made for? (a) its coder only (b) its users (c) its icon (d) its charger
  6. 6.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) see tasks by day (b) set a due date (c) add a homework task (d) pick a theme colour
  7. 7.🔢 When you make an app, which comes FIRST? (a) test the app (b) build the app (c) get an idea (d) release it
  8. 8.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting homework: 15 votes
    missing the bus: 3 votes
    forgetting birthdays: 23 votes
    (a) forgetting homework (b) forgetting birthdays (c) missing the bus
  9. 9.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [button] Cancel
    [button] Help
    [text box] Email
    [button] Save
    [switch] Sound
  10. 10.📱 Where do people usually download phone apps from? (a) an app store (b) a charger (c) a web server (d) a printer
  11. 11.🔢 After an app is released, which comes FIRST? (a) test it again (b) fix and improve (c) list what to fix (d) read user reviews
  12. 12.🧪 What is the ACTUAL result of Test 3?
    🚚 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(450) → expected 40
    Test 2: delivery(850) → expected 0
    Test 3: delivery(900) → expected 0
  13. 13.♿ What does a screen reader do? (a) plays music (b) reads the screen aloud (c) takes photos (d) makes text tiny
  14. 14.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) MVP (c) FAQ (d) URL
  15. 15.Which of these happens at the test stage? (a) connect the data (b) write the store text (c) write the code (d) try every button
  16. 16.True or false: the app starts up is a load event. (a) False (b) True
  17. 17.True or false: a medicine reminder solves a real problem. (a) True (b) False
  18. 18.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 37; // start at 34
    line 2: stars = stars * 2; // double it
    line 3: stars = stars + 3; // add 3
    line 4: stars = stars * 2; // double it
    line 5: show(stars); // show it
    (a) line 1 (b) line 3 (c) line 4 (d) line 2
  19. 19.True or false: the home page of an app is an input. (a) True (b) False
  20. 20.True or false: a final design looks like the real app. (a) False (b) True
  21. 21.♿ Does this help everyone, or make the app harder to use: fast-flashing lights? (a) helps everyone (b) makes it harder
  22. 22.🔁 Why use a loop to show 100 messages? (a) it hides them (b) it uses more lines (c) less code to write (d) it is slower
  23. 23.🎯 Is this a user need or a feature: “What should I cook?”? (a) a user need (b) a feature
  24. 24.🗒️ Version 1 of a bus tracker must be ready in 9 days. How many days are left for extras after the must-haves?
    see where the bus is: 3 days
    show arrival time: 3 days
    pick your bus stop: 3 days
  25. 25.🎯 What is the best first step to learn what users need? (a) pick the colours (b) write the code (c) guess on your own (d) ask and watch users
  26. 26.⚙️ What number does this app show?
    let km = 15; // typed by the user
    let metres = km * 1000;
    show(metres);
  27. 27.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Friend list”
    2. open “Score card”
    3. tap Back
    4. tap the Search tab
    Which screen are you on now?
    (a) Score card (b) Search (c) Friend list (d) Home
  28. 28.Which of these is an output? (a) adding up a bill (b) speaking a command (c) taking a photo (d) a result on screen
  29. 29.🔢 In a quiz-app flow, which comes first: “read a question” or “see if it is right”? (a) read a question (b) see if it is right
  30. 30.💾 What number does this code show?
    let points = 9;
    points = points - 1;
    points = points + 1;
    show(points);
  31. 31.🧩 Which of these is a button on this screen?
    [title] New Note
    [text box] Notes
    [switch] Show hints
    [text box] Age
    [slider] Brightness
    [text box] Name
    [button] Done
    [button] Start
    (a) Done (b) Notes (c) Name (d) Age
  32. 32.💾 pop() takes off the last item. What does this code show?
    let friends = ["Meera", "Aman", "Riya", "Arjun", "Zoya"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Arjun (b) Riya (c) Meera (d) Aman
  33. 33.🔘 Is this good or poor button design: strong colour contrast? (a) poor design (b) good design
  34. 34.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 33; // start at 30
    line 2: stars = stars * 2; // double it
    line 3: stars = stars + 6; // add 6
    line 4: show(stars); // show it
  35. 35.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(60, 5));
  36. 36.True or false: a unit converter is a game. (a) True (b) False
  37. 37.🧩 How many buttons does this app screen have?
    [title] Sign Up
    [text box] Name
    [button] Help
    [button] Start
    [switch] Dark mode
    [text box] City
  38. 38.✏️ What is a wireframe? (a) a charging cable (b) a type of password (c) a simple screen sketch (d) the finished app
  39. 39.🎯 Is this a user need or a feature: “Small text is hard”? (a) a feature (b) a user need
  40. 40.👆 The user taps the button 6 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

Answer key

  1. a parameter
  2. 22
  3. find where it goes wrong
  4. parents
  5. its users
  6. pick a theme colour
  7. get an idea
  8. forgetting birthdays
  9. 3
  10. an app store
  11. read user reviews
  12. 0
  13. reads the screen aloud
  14. MVP
  15. try every button
  16. True
  17. True
  18. line 1
  19. False
  20. True
  21. makes it harder
  22. less code to write
  23. a user need
  24. 0
  25. ask and watch users
  26. 15000
  27. Search
  28. a result on screen
  29. read a question
  30. 9
  31. Done
  32. Arjun
  33. good design
  34. 66
  35. 300
  36. False
  37. 2
  38. a simple screen sketch
  39. a user need
  40. OFF

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