← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 435 · 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(1) + points(4));
  2. 2.True or false: a water reminder is the best fit for a teen whose money runs out by Friday. (a) False (b) True
  3. 3.Which of these makes the app harder to use? (a) text that can grow (b) labels on every icon (c) captions on videos (d) icons with no labels
  4. 4.🔍 Which is the odd one out? (a) a pop-up message (b) taking a photo (c) a result on screen (d) a beep sound
  5. 5.True or false: how users feel after is about UI (the look). (a) False (b) True
  6. 6.🔀 What does this PIN rule show?
    let pin = "942";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  7. 7.🎨 UI stands for user ___. (a) input (b) idea (c) interface (d) internet
  8. 8.Which of these helps everyone use the app? (a) icons with no labels (b) tiny tap areas (c) captions on videos (d) sudden loud sounds
  9. 9.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) add a homework task (b) share tasks to friends (c) pick a theme colour (d) earn stickers
  10. 10.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(20));
  11. 11.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. open “Edit photo”
    3. open “Video”
    Which screen are you on now?
    (a) Video (b) Quiz (c) Edit photo (d) Lessons
  12. 12.🔘 Our rule: buttons are at least 48 px tall. The Back button is 36 px tall. How many px taller must it be?
  13. 13.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 44; // start at 44
    line 2: coins = coins + 4; // take away 4
    line 3: coins = coins + 3; // add 3
    line 4: coins = coins - 1; // take away 1
    line 5: show(coins); // show it
    (a) line 2 (b) line 3 (c) line 1 (d) line 4
  14. 14.Which of these is a button? (a) your friends list (b) your saved notes (c) tap to Save (d) the log-in page
  15. 15.True or false: a recipe finder is the best fit for a cook with no idea for dinner. (a) False (b) True
  16. 16.🧩 In an app, what is the settings page? (a) an input (b) a screen (c) a button (d) data
  17. 17.🖼️ How many parts (boxes) does this wireframe have?
    [ search box ]
    [ Add button ]
    [ Save button ]
    [ tab bar ]
  18. 18.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Label: 22 px
    Footer: 18 px
    Body text: 12 px
  19. 19.👥 A school app has 25 students, 225 teachers and 160 parents as users. How many more teachers than students are there?
  20. 20.Which of these is an output? (a) working out a tip (b) typing your age (c) tapping a button (d) a pop-up message
  21. 21.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 35; // start at 35
    line 2: coins = coins - 1; // take away 1
    line 3: coins = coins + 6; // add 4
    line 4: show(coins); // show it
  22. 22.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Body text: 24 px
    Menu: 13 px
    Hint: 24 px
    Label: 26 px
    (a) Body text (b) Hint (c) Label (d) Menu
  23. 23.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 30; // start at 30
    line 2: stars = stars - 8; // take away 5
    line 3: stars = stars + 3; // add 3
    line 4: show(stars); // show it
  24. 24.True or false: you connect the data at the plan stage. (a) True (b) False
  25. 25.🔀 When does the else part run? (a) never (b) always (c) when the test is true (d) when the test is false
  26. 26.True or false: whether users get lost is about UI (the look). (a) False (b) True
  27. 27.Which of these is about UX (the experience)? (a) the button colours (b) the theme colours (c) how easy sign-up is (d) the icon shapes
  28. 28.True or false: you pick the features at the release stage. (a) True (b) False
  29. 29.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. open “Match report”
    3. tap Back
    4. tap the Lessons tab
    5. tap the Me tab
    Which screen are you on now?
    (a) Lessons (b) Me (c) Match report (d) Quiz
  30. 30.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(38));
  31. 31.🧩 Which of these is a button on this screen?
    [title] Sign Up
    [text box] Due date
    [button] Done
    [button] Send
    [text box] Subject
    [switch] Sound
    [button] Save
    (a) Sound (b) Done (c) Subject (d) Due date
  32. 32.🔐 Which permission does a birthday list of friends really need? (a) contacts (b) location (c) the microphone (d) the camera
  33. 33.🔢 In a quiz-app flow, which comes first: “read a question” or “pick an answer”? (a) read a question (b) pick an answer
  34. 34.🗒️ Version 1 of a quiz app must be ready in 14 days. How many days are left for extras after the must-haves?
    show a question: 4 days
    check the answer: 1 days
    show the score: 4 days
  35. 35.🚀 Your app is at version 1.6.1. The next release is a big redesign that changes how the app works. What is its version number? (a) 1.7.1 (b) 1.6.2 (c) 1.7.0 (d) 2.0.0
  36. 36.📱 Which one opens in a web browser: an app or a website? (a) an app (b) a website
  37. 37.🔢 In a food-order flow, what comes right after “pick a dish”? (a) add it to the cart (b) track the order (c) open the menu (d) check the cart
  38. 38.True or false: the app starts up is a text event. (a) True (b) False
  39. 39.🧪 What is the ACTUAL result of Test 2?
    🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 700) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(750) → expected 0
    Test 2: delivery(700) → expected 0
    Test 3: delivery(600) → expected 40
  40. 40.💾 What does this code show? (Positions start at 0.)
    let friends = ["Zoya", "Arjun", "Riya", "Meera"];
    show(friends[2]);
    (a) Arjun (b) Zoya (c) Meera (d) Riya

Answer key

  1. 60
  2. False
  3. icons with no labels
  4. taking a photo
  5. False
  6. Use 4 digits
  7. interface
  8. captions on videos
  9. add a homework task
  10. 40
  11. Video
  12. 12
  13. line 2
  14. tap to Save
  15. True
  16. a screen
  17. 4
  18. 1
  19. 200
  20. a pop-up message
  21. 40
  22. Menu
  23. 25
  24. False
  25. when the test is false
  26. False
  27. how easy sign-up is
  28. False
  29. Me
  30. 76
  31. Done
  32. contacts
  33. read a question
  34. 5
  35. 2.0.0
  36. a website
  37. add it to the cart
  38. False
  39. 40
  40. Riya

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