← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 587 · 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.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hi, " + nameBox.text + "!";
    };
    (a) Hi! (b) Hi, nameBox.text! (c) Hi, Kabir! (d) Kabir
  2. 2.🔍 Which is the odd one out? (a) taking a photo (b) tapping a button (c) typing your age (d) adding up a bill
  3. 3.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 49; // start at 49
    line 2: stars = stars + 6; // add 6
    line 3: stars = stars - 5; // add 5
    line 4: show(stars); // show it
    (a) line 2 (b) line 3 (c) line 1
  4. 4.True or false: a step counter is a health app. (a) False (b) True
  5. 5.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a big-text reader (b) a bus tracker (c) a homework planner (d) a water reminder
  6. 6.🔀 When does the else part run? (a) when the test is true (b) always (c) never (d) when the test is false
  7. 7.🔀 What does this battery rule show?
    let battery = 35;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  8. 8.Which of these is a screen? (a) the settings page (b) a box to type a name (c) a date picker (d) tap to Save
  9. 9.🔀 What does this sign-up rule show?
    let age = 9;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  10. 10.👆 The user taps the button 7 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  11. 11.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Pay → Cart → Pens → Item → Size
    Design B: Home → Pay → Search
  12. 12.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 47; // start at 47
    line 2: coins = coins + 2; // double it
    line 3: coins = coins * 2; // double it
    line 4: show(coins); // show it
    (a) line 2 (b) line 3 (c) line 1
  13. 13.💾 What does this code show? (Positions start at 0.)
    let songs = ["Ocean", "Monsoon", "Kites", "Sunrise", "Rain"];
    show(songs[2]);
    (a) Ocean (b) Sunrise (c) Kites (d) Monsoon
  14. 14.⚙️ In an app, is working out a tip an input, processing or an output? (a) input (b) output (c) processing
  15. 15.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting homework: 12 votes
    losing water bottles: 8 votes
    no quiet study place: 17 votes
  16. 16.🔁 What number does this code show?
    let scores = [90, 67, 16];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  17. 17.True or false: you share the download link at the test stage. (a) True (b) False
  18. 18.👥 A cricket club app has 185 players, 290 coaches and 20 fans as users. Which user group is the biggest? (a) players (b) coaches (c) fans
  19. 19.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Hint: 14 px
    Title: 24 px
    Label: 17 px
    Caption: 19 px
    Body text: 17 px
    (a) Title (b) Label (c) Caption (d) Hint
  20. 20.💾 pop() takes off the last item. What does this code show?
    let friends = ["Aman", "Arjun", "Zoya"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Zoya (b) Arjun (c) Aman
  21. 21.✏️ Is this true of a wireframe or of a final design: has the real colours? (a) a wireframe (b) a final design
  22. 22.🗒️ Version 1 of a water reminder must be ready in 10 days. How many days are left for extras after the must-haves?
    set a reminder time: 4 days
    log a glass of water: 1 days
    see today’s total: 2 days
  23. 23.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(70, 4));
  24. 24.🎯 Is this a user need or a feature: “What should I cook?”? (a) a user need (b) a feature
  25. 25.🔘 Is this good or poor button design: a big, easy tap area? (a) good design (b) poor design
  26. 26.👆 The user taps the button 5 times. What number does the label show now?
    let lives = 9;
    button.onTap = function () {
      lives = lives + 2;
      label.text = lives;
    };
  27. 27.True or false: you sketch the screens at the idea stage. (a) False (b) True
  28. 28.🔢 When you make an app, what comes right after “get an idea”? (a) test the app (b) build the app (c) release it (d) plan the screens
  29. 29.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(10, 3));
  30. 30.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Order Snacks
    [button] Done
    [switch] Sound
    [slider] Brightness
    [text box] Due date
  31. 31.Which of these is true of a final design? (a) shows where things go (b) is a quick sketch (c) shows the real fonts (d) uses plain grey boxes
  32. 32.🧭 Tapping a tab usually takes you to ___. (a) the phone settings (b) that tab’s main screen (c) a random page (d) the last app used
  33. 33.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) custom alert sounds (b) share your streak (c) log a glass of water (d) water animations
  34. 34.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Title: 21 px
    Menu: 10 px
    Footer: 13 px
    Hint: 24 px
    Body text: 13 px
  35. 35.📱 Which one needs no installing: an app or a website? (a) a website (b) an app
  36. 36.🗒️ Version 1 of a water reminder must be ready in 12 days. How many days are left for extras after the must-haves?
    set a reminder time: 1 days
    log a glass of water: 3 days
    see today’s total: 3 days
  37. 37.👆 The user taps the button 6 times. What number does the label show now?
    let stars = 0;
    button.onTap = function () {
      stars = stars + 2;
      label.text = stars;
    };
  38. 38.Which of these is true of the back button? (a) opens a list of pages (b) switches main sections (c) hides extra links (d) goes to the last screen
  39. 39.👆 The user taps the button 3 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.💾 What does this code show? (Positions start at 0.)
    let friends = ["Zoya", "Meera", "Aman", "Riya"];
    show(friends[0]);
    (a) Zoya (b) Aman (c) Riya (d) Meera

Answer key

  1. Hi, Kabir!
  2. adding up a bill
  3. line 3
  4. True
  5. a homework planner
  6. when the test is false
  7. Battery OK
  8. the settings page
  9. Ask a parent
  10. 2
  11. 3
  12. line 2
  13. Kites
  14. processing
  15. 37
  16. 1
  17. False
  18. coaches
  19. Hint
  20. Arjun
  21. a final design
  22. 3
  23. 280
  24. a user need
  25. good design
  26. 19
  27. False
  28. plan the screens
  29. 30
  30. 3
  31. shows the real fonts
  32. that tab’s main screen
  33. log a glass of water
  34. 3
  35. a website
  36. 5
  37. 12
  38. goes to the last screen
  39. 2
  40. Zoya

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