← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 231 · 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 is a variable? (a) a phone setting (b) a picture (c) a type of screen (d) a named box for a value
  2. 2.🔐 Is this permission request fair or too much: calculator → location? (a) too much (b) fair
  3. 3.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Video”
    2. open “Help page”
    3. tap the Search tab
    How many times must you tap Back to reach the main screen of this tab?
  4. 4.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
    function price(age) {
      if (age <= 12) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 100
    Test 2: price(9) → expected 50
    Test 3: price(12) → expected 100
    (a) Test 1 (b) Test 3 (c) Test 2
  5. 5.🎯 Who are the users of an app? (a) only the coders (b) the people who use it (c) the app icons (d) only the testers
  6. 6.👆 The user taps the button 3 times. What number does the label show now?
    let stars = 0;
    button.onTap = function () {
      stars = stars + 2;
      label.text = stars;
    };
  7. 7.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Hint: 21 px
    Body text: 16 px
    Label: 22 px
  8. 8.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(45, 2));
  9. 9.🧩 How many buttons does this app screen have?
    [title] New Note
    [button] Send
    [button] Back
    [button] Start
    [text box] Email
  10. 10.Which of these app ideas solves no real problem? (a) a button with no action (b) a library due-date alert (c) a lost-and-found board (d) a medicine reminder
  11. 11.True or false: a website needs no installing. (a) False (b) True
  12. 12.💾 pop() takes off the last item. What does this code show?
    let friends = ["Riya", "Arjun", "Kabir", "Aman", "Meera"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Kabir (b) Arjun (c) Aman (d) Riya
  13. 13.💾 What number does this code show?
    let score = 6;
    score = score - 3;
    score = score + 4;
    show(score);
  14. 14.🧭 Tapping a tab usually takes you to ___. (a) the last app used (b) that tab’s main screen (c) the phone settings (d) a random page
  15. 15.True or false: a clear word like Save is poor button design. (a) False (b) True
  16. 16.True or false: a puzzle with levels is a health app. (a) True (b) False
  17. 17.🔁 What number does this code show?
    let scores = [82, 37, 28];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  18. 18.Which of these is about UI (the look)? (a) how users feel after (b) how fast a task is done (c) how easy sign-up is (d) the font size
  19. 19.👆 An event in an app is ___. (a) an app store (b) something that happens (c) a kind of list (d) a colour theme
  20. 20.🗒️ When should nice-to-have features be built? (a) after the must-haves (b) before anything (c) on day one (d) never
  21. 21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 37; // start at 37
    line 2: lives = lives + 2; // add 2
    line 3: lives = lives * 2; // double it
    line 4: lives = lives + 2; // double it
    line 5: show(lives); // show it
    (a) line 1 (b) line 3 (c) line 4 (d) line 2
  22. 22.🎯 Which app would help this user most: a grandparent with weak eyesight? (a) a recipe finder (b) a bus tracker (c) a big-text reader (d) a homework planner
  23. 23.🧑 Who is an app really made for? (a) its coder only (b) its charger (c) its users (d) its icon
  24. 24.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 47; // start at 44
    line 2: stars = stars * 2; // double it
    line 3: stars = stars - 2; // take away 2
    line 4: show(stars); // show it
    (a) line 3 (b) line 1 (c) line 2
  25. 25.🔘 Is this good or poor button design: buttons almost touching? (a) good design (b) poor design
  26. 26.⚙️ What number does this app show?
    let bill = 80; // typed by the user
    let friends = 5; // typed by the user
    let share = bill / friends;
    show(share);
  27. 27.💡 Does an app idea like a medicine reminder solve a real problem? (a) No (b) Yes
  28. 28.⚙️ What number does this app show?
    let bill = 100; // typed by the user
    let friends = 4; // typed by the user
    let share = bill / friends;
    show(share);
  29. 29.True or false: you talk to possible users at the idea stage. (a) True (b) False
  30. 30.⚙️ In an app, is checking a password an input, processing or an output? (a) processing (b) input (c) output
  31. 31.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) helps everyone (b) makes it harder
  32. 32.🔢 In a quiz-app flow, which comes LAST? (a) tap “Start quiz” (b) see the final score (c) see if it is right (d) read a question
  33. 33.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Save button: 32 px tall
    Next button: 52 px tall
    Done button: 56 px tall
  34. 34.🖼️ In this wireframe (top to bottom), what is right above the big picture?
    [ list of items ]
    [ big picture ]
    [ menu icon ]
    [ title text ]
    [ filter buttons ]
    [ search box ]
    (a) list of items (b) menu icon (c) filter buttons (d) title text
  35. 35.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) delete the app (c) find where it goes wrong (d) buy a new phone
  36. 36.👥 A school app has 60 students, 140 teachers and 50 parents as users. How many users does it have in all?
  37. 37.Which of these happens at the idea stage? (a) write the code (b) put it on an app store (c) talk to possible users (d) let friends try it
  38. 38.🗂️ What kind of app is a times-table quiz? (a) a health app (b) a learning app (c) a tool app (d) a game
  39. 39.Which of these happens at the release stage? (a) talk to possible users (b) put it on an app store (c) pick the features (d) draw the user flow
  40. 40.👥 A cricket club app has 175 players, 145 coaches and 165 fans as users. How many users does it have in all?

Answer key

  1. a named box for a value
  2. too much
  3. 0
  4. Test 3
  5. the people who use it
  6. 6
  7. 0
  8. 90
  9. 3
  10. a button with no action
  11. True
  12. Aman
  13. 7
  14. that tab’s main screen
  15. False
  16. False
  17. 1
  18. the font size
  19. something that happens
  20. after the must-haves
  21. line 4
  22. a big-text reader
  23. its users
  24. line 1
  25. poor design
  26. 16
  27. Yes
  28. 25
  29. True
  30. processing
  31. helps everyone
  32. see the final score
  33. 2
  34. list of items
  35. find where it goes wrong
  36. 250
  37. talk to possible users
  38. a learning app
  39. put it on an app store
  40. 485

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