← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 465 · 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 app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Score card”
    2. open “Friend list”
    3. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  2. 2.💡 Which app idea solves this problem: bottles go missing at school? (a) a homework planner (b) a lost-and-found board (c) a bill splitter (d) a study-room finder
  3. 3.🔀 When does the else part run? (a) when the test is false (b) never (c) always (d) when the test is true
  4. 4.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Meera", "Riya", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Riya (c) Hi, Arjun (d) Hi, Kabir
  5. 5.💾 Data saved only on the phone is lost when ___. (a) the screen turns off (b) the phone is lost (c) the app is closed (d) you send a message
  6. 6.True or false: a unit converter is a tool app. (a) False (b) True
  7. 7.🔁 What number does this code show?
    let steps = [69, 95, 42, 56];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  8. 8.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
  9. 9.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting birthdays: 25 votes
    wasting pocket money: 9 votes
    losing water bottles: 15 votes
  10. 10.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) savings stickers (c) add money received (d) show the balance
  11. 11.🔁 What number does this code show?
    let runs = [2, 10, 1];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  12. 12.🔀 What does this battery rule show?
    let battery = 65;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  13. 13.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Hint: 13 px
    Body text: 19 px
    Footer: 24 px
    Menu: 22 px
    Title: 19 px
  14. 14.Which of these is an input? (a) checking a password (b) tapping a button (c) a beep sound (d) adding up a bill
  15. 15.Which of these is about UX (the experience)? (a) the font size (b) the theme colours (c) the button colours (d) how users feel after
  16. 16.🔀 With if / else if / else, how many parts run? (a) none (b) two (c) only one (d) all of them
  17. 17.⚙️ What number does this app show?
    let price = 80; // typed by the user
    let qty = 5; // typed by the user
    let total = price * qty;
    show(total);
  18. 18.🧩 Which of these is a button on this screen?
    [title] Sign Up
    [button] Start
    [switch] Show hints
    [text box] Age
    [text box] Name
    [text box] Phone
    (a) Name (b) Age (c) Start (d) Phone
  19. 19.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(100, 6));
  20. 20.🧪 A test case is an input together with its ___. (a) font size (b) expected result (c) screen colour (d) app icon
  21. 21.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 32; // start at 32
    line 2: score = score + 6; // add 3
    line 3: score = score + 3; // add 3
    line 4: score = score * 2; // double it
    line 5: show(score); // show it
  22. 22.📱 Where do people usually download phone apps from? (a) a web server (b) a printer (c) a charger (d) an app store
  23. 23.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a user need (b) a feature
  24. 24.💾 What does this code show? (Positions start at 0.)
    let friends = ["Meera", "Riya", "Arjun", "Kabir", "Zoya"];
    show(friends[2]);
    (a) Kabir (b) Meera (c) Arjun (d) Riya
  25. 25.True or false: an app is installed on a phone. (a) False (b) True
  26. 26.🧩 In an app, what is tap to Save? (a) a screen (b) data (c) an input (d) a button
  27. 27.⚙️ What number does this app show?
    let price = 85; // typed by the user
    let qty = 2; // typed by the user
    let total = price * qty;
    show(total);
  28. 28.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Match report”
    2. open “Match report”
    3. open “Help page”
    How many times must you tap Back to reach the main screen of this tab?
  29. 29.🔢 In a sign-up flow, what comes right after “tap “Sign up””? (a) enter the code sent (b) type name and email (c) make a password (d) open the app
  30. 30.🐞 What is a bug? (a) a new feature (b) a nice icon (c) a mistake in the code (d) a fast phone
  31. 31.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Meera"));
    (a) Hello, name! (b) Meera (c) Hello, Meera! (d) greet
  32. 32.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(10, 2));
  33. 33.🎨 Fewer taps to finish a task usually means ___. (a) worse UX (b) more colours (c) a bigger app (d) better UX
  34. 34.True or false: a date picker is a button. (a) True (b) False
  35. 35.👆 The user taps the button 4 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) ON (b) OFF
  36. 36.👆 What kind of event is this: a countdown hits zero? (a) a timer event (b) a tap event (c) a text event (d) a load event
  37. 37.⚙️ What number does this app show?
    let price = 70; // typed by the user
    let qty = 6; // typed by the user
    let total = price * qty;
    show(total);
  38. 38.👆 An event in an app is ___. (a) a colour theme (b) an app store (c) something that happens (d) a kind of list
  39. 39.🧩 Which of these is a button on this screen?
    [title] Settings
    [slider] Volume
    [button] Send
    [text box] Email
    (a) Send (b) Volume (c) Email
  40. 40.🧭 What does the back button usually do? (a) closes all apps (b) goes to the last screen (c) deletes the page (d) opens settings

Answer key

  1. 1
  2. a lost-and-found board
  3. when the test is false
  4. Hi, Kabir
  5. the phone is lost
  6. True
  7. 1
  8. an app
  9. 49
  10. savings stickers
  11. 10
  12. Battery OK
  13. 1
  14. tapping a button
  15. how users feel after
  16. only one
  17. 400
  18. Start
  19. 600
  20. expected result
  21. 82
  22. an app store
  23. a user need
  24. Arjun
  25. True
  26. a button
  27. 170
  28. 3
  29. type name and email
  30. a mistake in the code
  31. Hello, Meera!
  32. 20
  33. better UX
  34. False
  35. OFF
  36. a timer event
  37. 420
  38. something that happens
  39. Send
  40. goes to the last screen

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