← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 505 · 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 number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(4));
  2. 2.🔘 Is this good or poor button design: grey text on grey? (a) good design (b) poor design
  3. 3.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 400) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(500) → expected 0
    Test 2: delivery(350) → expected 40
    Test 3: delivery(650) → expected 0
  4. 4.🔢 When you make an app, which comes first: “test the app” or “get an idea”? (a) test the app (b) get an idea
  5. 5.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a big redesign (b) a new app (c) a bug fix (d) a new feature
  6. 6.👥 A library app has 215 readers, 25 librarians and 190 volunteers as users. How many more readers than librarians are there?
  7. 7.🔘 Is this good or poor button design: strong colour contrast? (a) good design (b) poor design
  8. 8.📊 Survey: which problem bugs you most? How many students voted in all?
    losing water bottles: 22 votes
    forgetting homework: 19 votes
    missing the bus: 11 votes
  9. 9.True or false: a times-table quiz is a tool app. (a) False (b) True
  10. 10.🎨 Is this about UI or UX: the button colours? (a) UX (b) UI
  11. 11.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Home tab
    2. open “Help page”
    3. open “Score card”
    4. open “Badges”
    5. tap the Home tab
    Which screen are you on now?
    (a) Help page (b) Score card (c) Home (d) Badges
  12. 12.👥 A cricket club app has 240 players, 185 coaches and 60 fans as users. How many users does it have in all?
  13. 13.🔀 Which badge does this quiz app show?
    let marks = 39;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Gold (c) Bronze
  14. 14.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) custom alert sounds (b) water animations (c) share your streak (d) see today’s total
  15. 15.👆 An event in an app is ___. (a) an app store (b) a kind of list (c) something that happens (d) a colour theme
  16. 16.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting homework: 14 votes
    no quiet study place: 8 votes
    wasting pocket money: 9 votes
  17. 17.🧩 How many buttons does this app screen have?
    [title] Sign Up
    [text box] Phone
    [button] Next
    [text box] Age
  18. 18.💾 What number does this code show?
    let friends = ["Aman", "Zoya", "Meera"];
    friends.push("Kabir");
    friends.push("Arjun");
    show(friends.length);
  19. 19.True or false: “big touch targets” helps everyone use the app. (a) True (b) False
  20. 20.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 47; // start at 44
    line 2: points = points * 2; // double it
    line 3: points = points + 3; // add 3
    line 4: show(points); // show it
    (a) line 3 (b) line 1 (c) line 2
  21. 21.True or false: icons with no meaning is poor button design. (a) False (b) True
  22. 22.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Title: 18 px
    Menu: 22 px
    Hint: 11 px
    (a) Title (b) Hint (c) Menu
  23. 23.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(20));
  24. 24.True or false: a finger hits Like is a text event. (a) False (b) True
  25. 25.🔢 In a quiz-app flow, what comes right after “read a question”? (a) tap “Start quiz” (b) see the final score (c) see if it is right (d) pick an answer
  26. 26.♿ Does this help everyone, or make the app harder to use: labels on every icon? (a) makes it harder (b) helps everyone
  27. 27.⚙️ In an app, is speaking a command an input, processing or an output? (a) processing (b) input (c) output
  28. 28.💾 pop() takes off the last item. What does this code show?
    let notes = ["Hindi", "Art", "Maths"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Maths (b) Art (c) Hindi
  29. 29.🔀 What does if / else let an app do? (a) repeat forever (b) draw a screen (c) pick one of two actions (d) save a photo
  30. 30.Which of these is true of a final design? (a) uses the final pictures (b) uses plain grey boxes (c) is a quick sketch (d) shows where things go
  31. 31.🎨 Who should you test the UX with? (a) real users (b) the app icon (c) only yourself (d) nobody
  32. 32.True or false: the user taps Play is a tap event. (a) True (b) False
  33. 33.💡 Which app idea solves this problem: pupils forget due dates? (a) a bill splitter (b) a lost-and-found board (c) a study-room finder (d) a homework planner
  34. 34.♿ Accessibility means an app works for ___. (a) only experts (b) nobody (c) everyone (d) only the coder
  35. 35.💾 pop() takes off the last item. What does this code show?
    let songs = ["Monsoon", "Sunrise", "Rain"];
    songs.pop();
    show(songs[songs.length - 1]);
    (a) Sunrise (b) Rain (c) Monsoon
  36. 36.🧭 Which part of navigation hides extra links? (a) a menu button (b) a tab bar (c) the back button
  37. 37.💾 What number does this code show?
    let coins = 4;
    coins = coins - 1;
    coins = coins + 3;
    show(coins);
  38. 38.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Kabir"));
    (a) Kabir (b) greet (c) Welcome, name! (d) Welcome, Kabir!
  39. 39.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Feed tab
    2. open “Match report”
    3. tap the Chat tab
    Which screen are you on now?
    (a) Settings (b) Chat (c) Match report (d) Feed
  40. 40.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 130; // typed by the user
    line 2: let off = 50; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 1 (b) line 4 (c) line 3 (d) line 2

Answer key

  1. 70
  2. poor design
  3. 3
  4. get an idea
  5. a bug fix
  6. 190
  7. good design
  8. 52
  9. False
  10. UI
  11. Home
  12. 485
  13. Bronze
  14. see today’s total
  15. something that happens
  16. 31
  17. 1
  18. 5
  19. True
  20. line 1
  21. True
  22. Hint
  23. 40
  24. False
  25. pick an answer
  26. helps everyone
  27. input
  28. Art
  29. pick one of two actions
  30. uses the final pictures
  31. real users
  32. True
  33. a homework planner
  34. everyone
  35. Sunrise
  36. a menu button
  37. 6
  38. Welcome, Kabir!
  39. Chat
  40. line 3

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