← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 866 · 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 of these versions is the OLDEST?
    2.8.4, 2.7.9, 1.30.3, 2.2.5
    (a) 2.7.9 (b) 2.2.5 (c) 2.8.4 (d) 1.30.3
  2. 2.👆 “On tap → do this” links an event to ___. (a) an action (b) a charger (c) a font (d) a web address
  3. 3.🔐 A torch app asks for your contacts. What should you do? (a) share them all (b) deny it (c) allow it (d) post them online
  4. 4.🔀 What number does this shop app show?
    let total = 510;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  5. 5.Which of these is an input? (a) your saved notes (b) a slider for volume (c) tap to Save (d) tap to Send
  6. 6.💾 What does this code show? (Positions start at 0.)
    let notes = ["Sports", "Science", "Maths"];
    show(notes[1]);
    (a) Science (b) Maths (c) Sports
  7. 7.True or false: a selfie sticker app needs the microphone. (a) False (b) True
  8. 8.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hi, " + nameBox.text + "!";
    };
    (a) Aman (b) Hi, Aman! (c) Hi, nameBox.text! (d) Hi!
  9. 9.🔀 What does this PIN rule show?
    let pin = "644";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  10. 10.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(60, 5));
  11. 11.Which colour pair is easy to read? (a) dark blue on white (b) light grey on white (c) pale pink on white (d) dark blue on black
  12. 12.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Home tab
    2. tap the Profile tab
    3. open “Help page”
    How many times must you tap Back to reach the main screen of this tab?
  13. 13.🗂️ What kind of app is a calculator? (a) a health app (b) a game (c) a learning app (d) a tool app
  14. 14.Which of these is a user need? (a) “Small text is hard” (b) a share button (c) a dark mode switch (d) a reminder alarm
  15. 15.True or false: a big-text reader is the best fit for a pupil juggling five projects. (a) True (b) False
  16. 16.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
  17. 17.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Results → Cart → Size → Menu → Address → Confirm
    Design B: Home → Confirm → Search → Address
  18. 18.💾 pop() takes off the last item. What does this code show?
    let songs = ["Sunrise", "Monsoon", "Kites"];
    songs.pop();
    show(songs[songs.length - 1]);
    (a) Sunrise (b) Monsoon (c) Kites
  19. 19.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Add button ]
    [ filter buttons ]
    [ search box ]
    [ title text ]
    [ top bar ]
    [ menu icon ]
    (a) filter buttons (b) menu icon (c) Add button (d) search box
  20. 20.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 70; // typed by the user
    line 2: let qty = 2; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 2 (b) line 4 (c) line 3 (d) line 1
  21. 21.🔀 What does this sign-up rule show?
    let age = 10;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  22. 22.True or false: a bus tracker is the best fit for a parent waiting at the bus stop. (a) True (b) False
  23. 23.🗒️ What is a must-have feature? (a) a nice extra (b) one the app cannot skip (c) a sound effect (d) a colour theme
  24. 24.🔁 What number does this code show?
    let runs = [20, 1, 12, 12];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  25. 25.💾 pop() takes off the last item. What does this code show?
    let friends = ["Arjun", "Kabir", "Meera", "Riya"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Kabir (b) Arjun (c) Riya (d) Meera
  26. 26.👆 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, nameBox.text! (b) Well done! (c) Well done, Aman! (d) Aman
  27. 27.🔐 Which permission does a bus tracker really need? (a) the microphone (b) location (c) contacts (d) the camera
  28. 28.True or false: a word battle is a game. (a) True (b) False
  29. 29.Which of these fits saving in the cloud? (a) notes to read offline (b) your last game level (c) a shared to-do list (d) a draft you are typing
  30. 30.🌗 Is black on yellow easy or hard to read on a button? (a) easy to read (b) hard to read
  31. 31.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Caption: 13 px
    Title: 11 px
    Body text: 24 px
  32. 32.🔁 What does a loop do? (a) repeats code (b) saves photos (c) draws icons (d) deletes code
  33. 33.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(95, 5));
  34. 34.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Done button: 32 px tall
    Cancel button: 52 px tall
    Save button: 60 px tall
  35. 35.🔢 When you make an app, what comes right after “plan the screens”? (a) test the app (b) get an idea (c) release it (d) build the app
  36. 36.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age <= 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(6) → expected 50
    Test 2: price(10) → expected 100
    Test 3: price(12) → expected 100
  37. 37.👆 The user types Meera 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, nameBox.text! (b) Well done, Meera! (c) Well done! (d) Meera
  38. 38.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Save button: 28 px tall
    Next button: 48 px tall
    Back button: 68 px tall
    Send button: 68 px tall
    (a) Send (b) Save (c) Back (d) Next
  39. 39.✏️ A box with a cross in a wireframe usually means ___. (a) delete this (b) a closed app (c) an error (d) a picture goes here
  40. 40.⚙️ What number does this app show?
    let price = 140; // typed by the user
    let off = 30; // typed by the user
    let pay = price - off;
    show(pay);

Answer key

  1. 1.30.3
  2. an action
  3. deny it
  4. 460
  5. a slider for volume
  6. Science
  7. False
  8. Hi, Aman!
  9. Use 4 digits
  10. 300
  11. dark blue on white
  12. 1
  13. a tool app
  14. “Small text is hard”
  15. False
  16. good design
  17. 3
  18. Monsoon
  19. menu icon
  20. line 3
  21. Ask a parent
  22. True
  23. one the app cannot skip
  24. 45
  25. Meera
  26. Well done, Aman!
  27. location
  28. True
  29. a shared to-do list
  30. easy to read
  31. 2
  32. repeats code
  33. 475
  34. 2
  35. build the app
  36. 2
  37. Well done, Meera!
  38. Save
  39. a picture goes here
  40. 110

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