← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 498 · 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.💾 pop() takes off the last item. What does this code show?
    let songs = ["Sunrise", "Ocean", "Rain", "Monsoon", "Kites"];
    songs.pop();
    show(songs[songs.length - 1]);
    (a) Sunrise (b) Rain (c) Ocean (d) Monsoon
  2. 2.Which of these is data? (a) the settings page (b) a date picker (c) a box to type a name (d) your high score
  3. 3.True or false: a wireframe uses the final pictures. (a) True (b) False
  4. 4.Which of these is an output? (a) tapping a button (b) a beep sound (c) working out a tip (d) checking a password
  5. 5.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) set a due date (b) earn stickers (c) pick a theme colour (d) share tasks to friends
  6. 6.🗒️ What is a must-have feature? (a) a sound effect (b) a colour theme (c) one the app cannot skip (d) a nice extra
  7. 7.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) pie-chart colours (b) show the balance (c) add money spent (d) add money received
  8. 8.💡 Which app idea solves this problem: bottles go missing at school? (a) a bill splitter (b) a lost-and-found board (c) a medicine reminder (d) a study-room finder
  9. 9.🧩 In an app, what is tap to Save? (a) a screen (b) data (c) a button (d) an input
  10. 10.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “missing the bus”?
    forgetting homework: 15 votes
    missing the bus: 11 votes
    no quiet study place: 23 votes
  11. 11.True or false: a big-text reader is the best fit for a student who keeps forgetting due dates. (a) False (b) True
  12. 12.🧩 What do we call one full page of an app? (a) a cable (b) a screen (c) a variable (d) a battery
  13. 13.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Menu: 9 px
    Title: 16 px
    Label: 24 px
    Footer: 16 px
    (a) Footer (b) Menu (c) Label (d) Title
  14. 14.👆 The user taps the button 4 times. What number does the label show now?
    let lives = 5;
    button.onTap = function () {
      lives = lives + 3;
      label.text = lives;
    };
  15. 15.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) see tasks by day (b) add a homework task (c) set a due date (d) pick a theme colour
  16. 16.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Help page”
    2. open “Match report”
    3. tap Back
    4. open “Edit photo”
    Which screen are you on now?
    (a) Lessons (b) Match report (c) Help page (d) Edit photo
  17. 17.🧩 In an app, what is tap to go Next? (a) an input (b) a screen (c) data (d) a button
  18. 18.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) MVP (c) URL (d) FAQ
  19. 19.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age <= 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(15) → expected 100
    Test 2: price(11) → expected 100
    Test 3: price(8) → expected 50
  20. 20.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [button] Help
    [button] Save
    [text box] Notes
    [text box] Subject
    [button] Cancel
    [switch] Remind me
  21. 21.True or false: the user presses Save is a load event. (a) False (b) True
  22. 22.True or false: tap to go Next is a button. (a) True (b) False
  23. 23.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(4));
  24. 24.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) phone cases (b) old cases (c) edge cases (d) easy cases
  25. 25.🔍 Which is the odd one out? (a) working out a tip (b) sorting the scores (c) checking a password (d) speaking a command
  26. 26.🔢 In a photo-post flow, which comes first: “open the camera screen” or “write a caption”? (a) open the camera screen (b) write a caption
  27. 27.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 4 votes
    forgetting homework: 24 votes
    forgetting birthdays: 13 votes
  28. 28.🗂️ What kind of app is a unit converter? (a) a learning app (b) a game (c) a tool app (d) a health app
  29. 29.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Meera", "Zoya", "Arjun", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Riya (c) Hi, Zoya (d) Hi, Meera
  30. 30.🧪 How many of these test cases pass?
    🚚 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(900) → expected 0
    Test 2: delivery(1000) → expected 0
    Test 3: delivery(600) → expected 40
  31. 31.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 32; // start at 32
    line 2: score = score * 2; // double it
    line 3: score = score + 2; // add 2
    line 4: score = score + 4; // take away 4
    line 5: show(score); // show it
    (a) line 4 (b) line 1 (c) line 2 (d) line 3
  32. 32.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(4) + points(0));
  33. 33.💾 Where should the app save notes to read offline: on the phone or in the cloud? (a) on the phone (b) in the cloud
  34. 34.🔀 Which badge does this quiz app show?
    let marks = 56;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Bronze (c) Silver
  35. 35.🎯 A short made-up profile of a typical user is called a ___. (a) protocol (b) pixel (c) persona (d) password
  36. 36.💾 What number does this code show?
    let stars = 3;
    stars = stars - 1;
    stars = stars + 1;
    show(stars);
  37. 37.True or false: a flashcard trainer is a game. (a) True (b) False
  38. 38.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [text box] Due date
    [button] Back
    [slider] Brightness
    [text box] Phone
    [text box] City
  39. 39.🔢 In a food-order flow, what comes right after “open the menu”? (a) pay for the order (b) check the cart (c) pick a dish (d) track the order
  40. 40.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Profile tab
    2. tap the Search tab
    3. open “Edit photo”
    4. tap Back
    How many times must you tap Back to reach the main screen of this tab?

Answer key

  1. Monsoon
  2. your high score
  3. False
  4. a beep sound
  5. set a due date
  6. one the app cannot skip
  7. pie-chart colours
  8. a lost-and-found board
  9. a button
  10. 4
  11. False
  12. a screen
  13. Menu
  14. 17
  15. pick a theme colour
  16. Edit photo
  17. a button
  18. MVP
  19. 2
  20. 3
  21. False
  22. True
  23. 12
  24. edge cases
  25. speaking a command
  26. open the camera screen
  27. 41
  28. a tool app
  29. Hi, Riya
  30. 3
  31. line 4
  32. 50
  33. on the phone
  34. Silver
  35. persona
  36. 3
  37. False
  38. 1
  39. pick a dish
  40. 0

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