← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 328 · 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.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 150; // typed by the user
    line 2: let friends = 3; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 2 (b) line 1 (c) line 4 (d) line 3
  2. 2.True or false: space between buttons is poor button design. (a) True (b) False
  3. 3.🔁 What does a loop do? (a) deletes code (b) saves photos (c) draws icons (d) repeats code
  4. 4.🔀 What number does this shop app show?
    let total = 490;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  5. 5.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) write a caption (b) add a filter (c) take the photo (d) post the photo
  6. 6.True or false: a buzz (vibration) is an output. (a) True (b) False
  7. 7.👆 The user taps the button 4 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  8. 8.True or false: the sound on/off setting fits saving on the phone. (a) False (b) True
  9. 9.👆 The user taps the button 6 times. What number does the label show now?
    let score = 1;
    button.onTap = function () {
      score = score + 1;
      label.text = score;
    };
  10. 10.💾 What number does this code show?
    let coins = 5;
    coins = coins - 1;
    coins = coins + 5;
    show(coins);
  11. 11.🔍 Which is the odd one out? (a) a word battle (b) an alarm clock (c) a cricket run chase (d) a racing challenge
  12. 12.🌗 Is red on green easy or hard to read on a button? (a) hard to read (b) easy to read
  13. 13.🔍 Which is the odd one out? (a) whether users get lost (b) how many taps it takes (c) how easy sign-up is (d) the button colours
  14. 14.🔘 Our rule: buttons are at least 48 px tall. The Start button is 20 px tall. How many px taller must it be?
  15. 15.Which colour pair is hard to read? (a) dark blue on black (b) white on black (c) black on yellow (d) black on pale grey
  16. 16.True or false: the user types a letter is a timer event. (a) True (b) False
  17. 17.🖼️ In this wireframe (top to bottom), what is right below the list of items?
    [ search box ]
    [ list of items ]
    [ tab bar ]
    [ Add button ]
    [ top bar ]
    (a) search box (b) tab bar (c) Add button (d) top bar
  18. 18.👆 The user taps the button 3 times. What number does the label show now?
    let points = 8;
    button.onTap = function () {
      points = points + 2;
      label.text = points;
    };
  19. 19.🛠️ At which stage do you spot a problem to solve? (a) the release stage (b) the build stage (c) the plan stage (d) the idea stage
  20. 20.Which of these is a feature? (a) a reminder alarm (b) “I forget my homework” (c) “Small text is hard” (d) “I keep missing the bus”
  21. 21.⚙️ What number does this app show?
    let price = 30; // typed by the user
    let qty = 2; // typed by the user
    let total = price * qty;
    show(total);
  22. 22.🔀 What does if / else let an app do? (a) draw a screen (b) repeat forever (c) pick one of two actions (d) save a photo
  23. 23.🚀 Your app is at version 1.10.3. The next release is a big redesign that changes how the app works. What is its version number? (a) 1.11.0 (b) 1.10.4 (c) 2.0.0 (d) 1.11.3
  24. 24.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Well done, " + nameBox.text + "!";
    };
    (a) Well done! (b) Well done, Aman! (c) Well done, nameBox.text! (d) Aman
  25. 25.📱 Which one opens in a web browser: an app or a website? (a) a website (b) an app
  26. 26.🧩 Which input is best for typing your name? (a) a slider (b) a switch (c) a text box (d) a picture
  27. 27.💡 Which is a problem statement? (a) “Kids forget homework” (b) “Use blue buttons” (c) “Make it fast” (d) “Add a logo”
  28. 28.🧩 Scores, notes and settings that an app keeps are called ___. (a) buttons (b) data (c) screens (d) tabs
  29. 29.🔢 When you make an app, what comes right after “get an idea”? (a) build the app (b) plan the screens (c) release it (d) test the app
  30. 30.💡 Which app idea solves this problem: bottles go missing at school? (a) a bill splitter (b) a lost-and-found board (c) a study-room finder (d) a homework planner
  31. 31.🧭 About how many tabs suit a tab bar best? (a) 20 (b) 3 to 5 (c) 10 to 12 (d) 1
  32. 32.✏️ What is the easiest way to draw a first wireframe? (a) a 3D printer (b) pencil and paper (c) a phone case (d) a microphone
  33. 33.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting homework: 19 votes
    losing water bottles: 6 votes
    missing the bus: 11 votes
    (a) losing water bottles (b) missing the bus (c) forgetting homework
  34. 34.🎨 Who should you test the UX with? (a) the app icon (b) nobody (c) only yourself (d) real users
  35. 35.Which of these requests asks for too much? (a) camera app → camera (b) map app → location (c) voice notes → microphone (d) torch → contacts
  36. 36.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) change the bus icon (c) show arrival time (d) a dark mode
  37. 37.🗒️ Version 1 of a bus tracker must be ready in 15 days. How many days are left for extras after the must-haves?
    see where the bus is: 2 days
    show arrival time: 3 days
    pick your bus stop: 4 days
  38. 38.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [text box] Due date
    [button] Start
    [switch] Remind me
    [text box] Phone
    [slider] Brightness
  39. 39.👆 The user taps the button 5 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  40. 40.🧩 Which input is best for choosing a volume level? (a) a text box (b) a title (c) a slider (d) a switch

Answer key

  1. line 3
  2. False
  3. repeats code
  4. 490
  5. take the photo
  6. True
  7. 2
  8. True
  9. 7
  10. 9
  11. an alarm clock
  12. hard to read
  13. the button colours
  14. 28
  15. dark blue on black
  16. False
  17. tab bar
  18. 14
  19. the idea stage
  20. a reminder alarm
  21. 60
  22. pick one of two actions
  23. 2.0.0
  24. Well done, Aman!
  25. a website
  26. a text box
  27. “Kids forget homework”
  28. data
  29. plan the screens
  30. a lost-and-found board
  31. 3 to 5
  32. pencil and paper
  33. forgetting homework
  34. real users
  35. torch → contacts
  36. show arrival time
  37. 6
  38. 4
  39. 2
  40. a slider

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