← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 825 · 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.📅 An app team plans for 5 days, builds for 4 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
  2. 2.True or false: a homework planner is the best fit for a grandparent with weak eyesight. (a) False (b) True
  3. 3.Which of these makes the app harder to use? (a) captions on videos (b) tiny tap areas (c) strong colour contrast (d) text that can grow
  4. 4.🧩 What do we call one full page of an app? (a) a cable (b) a screen (c) a battery (d) a variable
  5. 5.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 115; // typed by the user
    line 2: let friends = 5; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 2 (b) line 4 (c) line 1 (d) line 3
  6. 6.👆 The user taps the button 7 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) OFF (b) ON
  7. 7.♿ What does a screen reader do? (a) takes photos (b) reads the screen aloud (c) plays music (d) makes text tiny
  8. 8.👆 The user taps the button 4 times. What number does the label show now?
    let stars = 4;
    button.onTap = function () {
      stars = stars + 2;
      label.text = stars;
    };
  9. 9.Which of these is true of a final design? (a) has the real colours (b) shows where things go (c) is a quick sketch (d) has no real colours
  10. 10.🔀 What does this sign-up rule show?
    let age = 17;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  11. 11.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Badges”
    2. tap Back
    3. open “Map”
    How many times must you tap Back to reach the main screen of this tab?
  12. 12.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Match report”
    2. open “Map”
    3. tap the Search tab
    4. open “Badges”
    How many times must you tap Back to reach the main screen of this tab?
  13. 13.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(100, 6));
  14. 14.💾 What number does this code show?
    let coins = 5;
    coins = coins - 4;
    coins = coins + 5;
    show(coins);
  15. 15.👆 The user taps the button 2 times. What number does the label show now?
    let points = 4;
    button.onTap = function () {
      points = points + 2;
      label.text = points;
    };
  16. 16.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 33; // start at 33
    line 2: lives = lives - 5; // take away 5
    line 3: lives = lives + 2; // double it
    line 4: lives = lives * 2; // double it
    line 5: show(lives); // show it
  17. 17.📱 The word “app” is short for ___. (a) appetite (b) apparatus (c) application (d) appointment
  18. 18.🗂️ What kind of app is a torch? (a) a health app (b) a game (c) a learning app (d) a tool app
  19. 19.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Pens → Search → Offers → Menu → Shop
    Design B: Home → Item → Address → Pay
  20. 20.🔢 In a quiz-app flow, what comes right after “tap “Start quiz””? (a) pick an answer (b) see the final score (c) see if it is right (d) read a question
  21. 21.🔢 In a quiz-app flow, which comes first: “pick an answer” or “see if it is right”? (a) see if it is right (b) pick an answer
  22. 22.🗒️ Version 1 of a homework planner must be ready in 13 days. How many days are left for extras after the must-haves?
    add a homework task: 4 days
    set a due date: 2 days
    see tasks by day: 4 days
  23. 23.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Body text: 10 px
    Caption: 18 px
    Title: 22 px
    Label: 13 px
    Menu: 11 px
  24. 24.🔁 What number does this code show?
    let marks = [15, 5, 10, 10, 12];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  25. 25.Which of these is about UX (the experience)? (a) the button colours (b) the theme colours (c) the font size (d) how fast a task is done
  26. 26.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 5 (c) 1 (d) 4
  27. 27.🔀 What does this battery rule show?
    let battery = 10;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  28. 28.🧩 Which of these is a button on this screen?
    [title] Sign Up
    [text box] Due date
    [text box] Notes
    [switch] Dark mode
    [button] Help
    [text box] Email
    [button] Start
    [button] Back
    (a) Notes (b) Due date (c) Back (d) Email
  29. 29.🧪 A test case is an input together with its ___. (a) font size (b) app icon (c) expected result (d) screen colour
  30. 30.👥 A cricket club app has 30 players, 170 coaches and 260 fans as users. How many more coaches than players are there?
  31. 31.🧭 Which part of navigation hides extra links? (a) a menu button (b) the back button (c) a tab bar
  32. 32.🔁 What number does this code show?
    let runs = [3, 2, 2, 20];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  33. 33.🌗 Is pale pink on white easy or hard to read on a button? (a) hard to read (b) easy to read
  34. 34.🎨 UX stands for user ___. (a) express (b) example (c) experience (d) extra
  35. 35.True or false: a big, easy tap area is poor button design. (a) True (b) False
  36. 36.👥 A school app has 210 students, 90 teachers and 270 parents as users. Which user group is the biggest? (a) parents (b) teachers (c) students
  37. 37.🔀 With if / else if / else, how many parts run? (a) two (b) none (c) all of them (d) only one
  38. 38.🔢 In a food-order flow, which comes first: “check the cart” or “pick a dish”? (a) pick a dish (b) check the cart
  39. 39.🔀 When does the else part run? (a) when the test is true (b) never (c) always (d) when the test is false
  40. 40.Which of these is true of a tab bar? (a) hides extra links (b) switches main sections (c) opens a list of pages (d) goes to the last screen

Answer key

  1. 3
  2. False
  3. tiny tap areas
  4. a screen
  5. line 3
  6. ON
  7. reads the screen aloud
  8. 12
  9. has the real colours
  10. Welcome!
  11. 1
  12. 1
  13. 600
  14. 6
  15. 8
  16. 112
  17. application
  18. a tool app
  19. 5
  20. read a question
  21. pick an answer
  22. 3
  23. 3
  24. 15
  25. how fast a task is done
  26. 5
  27. Low battery
  28. Back
  29. expected result
  30. 140
  31. a menu button
  32. 27
  33. hard to read
  34. experience
  35. False
  36. parents
  37. only one
  38. pick a dish
  39. when the test is false
  40. switches main sections

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