← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 161 · 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 shop app show?
    let total = 410;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  2. 2.Which of these is true of a website? (a) comes from an app store (b) is installed on a phone (c) has a home-screen icon (d) needs no installing
  3. 3.🔀 What does this sign-up rule show?
    let age = 13;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  4. 4.🗒️ Version 1 of a pocket-money tracker must be ready in 9 days. How many days are left for extras after the must-haves?
    add money received: 4 days
    add money spent: 1 days
    show the balance: 2 days
  5. 5.💾 Which can hold many values in order? (a) a list (b) a switch (c) a button (d) a single number
  6. 6.🔢 In a photo-post flow, which comes first: “add a filter” or “take the photo”? (a) add a filter (b) take the photo
  7. 7.🖼️ In this wireframe (top to bottom), what is right above the Add button?
    [ tab bar ]
    [ Save button ]
    [ list of items ]
    [ Add button ]
    [ title text ]
    (a) Save button (b) list of items (c) title text (d) tab bar
  8. 8.🔢 In a sign-up flow, which comes FIRST? (a) make a password (b) type name and email (c) see the home screen (d) open the app
  9. 9.Which of these makes the app harder to use? (a) strong colour contrast (b) labels on every icon (c) colour as the only clue (d) text that can grow
  10. 10.🎨 A beautiful app that confuses everyone has ___. (a) good UI but poor UX (b) good UX but poor UI (c) no UI at all (d) perfect UX
  11. 11.🔁 What number does this code show?
    let marks = [59, 59, 23, 19];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  12. 12.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Profile tab
    2. open “Map”
    3. open “Match report”
    Which screen are you on now?
    (a) Home (b) Map (c) Search (d) Match report
  13. 13.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Welcome, " + nameBox.text + "!";
    };
    (a) Aman (b) Welcome, nameBox.text! (c) Welcome, Aman! (d) Welcome!
  14. 14.Which of these is about UI (the look)? (a) how many taps it takes (b) the button colours (c) whether users get lost (d) how fast a task is done
  15. 15.🔁 list.length tells you ___. (a) the last item (b) the biggest item (c) the first item (d) how many items it has
  16. 16.👥 A clinic app has 285 patients, 280 doctors and 160 nurses as users. Which user group is the biggest? (a) patients (b) nurses (c) doctors
  17. 17.🔀 What does this battery rule show?
    let battery = 75;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  18. 18.🧩 Which of these is a button on this screen?
    [title] Edit Profile
    [button] Cancel
    [switch] Dark mode
    [text box] Name
    (a) Cancel (b) Name (c) Dark mode
  19. 19.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 95; // typed by the user
    line 2: let qty = 5; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 4 (b) line 2 (c) line 3 (d) line 1
  20. 20.♿ Does this help everyone, or make the app harder to use: tiny tap areas? (a) helps everyone (b) makes it harder
  21. 21.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
    function price(age) {
      if (age <= 8) {
        return 50;
      }
      return 100;
    }
    Test 1: price(5) → expected 50
    Test 2: price(14) → expected 100
    Test 3: price(8) → expected 100
    (a) Test 1 (b) Test 3 (c) Test 2
  22. 22.Which of these is true of a website? (a) has a home-screen icon (b) opens in a web browser (c) comes from an app store (d) updates from the store
  23. 23.📴 Which of these can often still work with no internet? (a) an installed app (b) an online search (c) a new website (d) a video call
  24. 24.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
  25. 25.👥 A school app has 140 students, 95 teachers and 80 parents as users. How many users does it have in all?
  26. 26.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Badges”
    2. tap Back
    3. open “Badges”
    How many times must you tap Back to reach the main screen of this tab?
  27. 27.🔀 Which badge does this quiz app show?
    let marks = 22;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Gold (c) Bronze
  28. 28.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(95, 3));
  29. 29.True or false: a library due-date alert solves a real problem. (a) True (b) False
  30. 30.🚀 Which of these versions is the NEWEST?
    1.13.4, 0.21.0, 1.9.5, 1.2.2
    (a) 1.2.2 (b) 1.9.5 (c) 1.13.4 (d) 0.21.0
  31. 31.✏️ Why draw a wireframe before coding? (a) it adds colours (b) changes are quick (c) it saves data (d) it runs the app
  32. 32.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 46; // start at 46
    line 2: points = points + 5; // add 5
    line 3: points = points - 3; // take away 3
    line 4: points = points + 2; // take away 2
    line 5: show(points); // show it
  33. 33.🔢 In a sign-up flow, which comes LAST? (a) open the app (b) type name and email (c) tap “Sign up” (d) see the home screen
  34. 34.💡 Which app idea solves this problem: the library is always full? (a) a study-room finder (b) a lost-and-found board (c) a medicine reminder (d) a bill splitter
  35. 35.📅 An app team plans for 2 days, builds for 4 days, tests for 2 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  36. 36.True or false: a lost-and-found board solves a real problem. (a) True (b) False
  37. 37.Which of these app ideas solves a real problem? (a) a button with no action (b) a blank grey screen (c) an app that just says hi (d) a bill splitter
  38. 38.💾 What number does this code show?
    let friends = ["Aman", "Riya", "Arjun"];
    friends.push("Zoya");
    friends.push("Kabir");
    show(friends.length);
  39. 39.🛠️ At which stage do you talk to possible users? (a) the release stage (b) the plan stage (c) the idea stage (d) the test stage
  40. 40.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) share tasks to friends (c) pick a theme colour (d) see tasks by day

Answer key

  1. 410
  2. needs no installing
  3. Welcome!
  4. 2
  5. a list
  6. take the photo
  7. list of items
  8. open the app
  9. colour as the only clue
  10. good UI but poor UX
  11. 0
  12. Match report
  13. Welcome, Aman!
  14. the button colours
  15. how many items it has
  16. patients
  17. Battery OK
  18. Cancel
  19. line 3
  20. makes it harder
  21. Test 3
  22. opens in a web browser
  23. an installed app
  24. Yes
  25. 315
  26. 1
  27. Bronze
  28. 285
  29. True
  30. 1.13.4
  31. changes are quick
  32. 50
  33. see the home screen
  34. a study-room finder
  35. 6
  36. True
  37. a bill splitter
  38. 5
  39. the idea stage
  40. see tasks by day

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