← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 236 · 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 app idea solves this problem: the library is always full? (a) a bill splitter (b) a study-room finder (c) a lost-and-found board (d) a medicine reminder
  2. 2.Which of these fits saving on the phone? (a) a class leaderboard (b) your last game level (c) chat messages to friends (d) a shared to-do list
  3. 3.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 42; // start at 40
    line 2: lives = lives - 5; // take away 5
    line 3: lives = lives - 3; // take away 3
    line 4: show(lives); // show it
  4. 4.💾 What is a variable? (a) a picture (b) a phone setting (c) a type of screen (d) a named box for a value
  5. 5.🔢 In a sign-up flow, which comes FIRST? (a) make a password (b) tap “Sign up” (c) enter the code sent (d) open the app
  6. 6.🚀 Which version is newer: 4.5.12 or 4.5.2? (a) 4.5.12 (b) 4.5.2
  7. 7.💾 pop() takes off the last item. What does this code show?
    let notes = ["Art", "Music", "Science", "Maths", "Hindi"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Art (b) Science (c) Maths (d) Music
  8. 8.🖼️ In this wireframe (top to bottom), what is right below the search box?
    [ search box ]
    [ big picture ]
    [ filter buttons ]
    [ Save button ]
    [ menu icon ]
    (a) big picture (b) Save button (c) menu icon (d) filter buttons
  9. 9.🔁 What number does this code show?
    let steps = [11, 16, 7];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  10. 10.👥 A clinic app has 255 patients, 205 doctors and 155 nurses as users. How many users does it have in all?
  11. 11.Which of these helps everyone use the app? (a) sudden loud sounds (b) tiny tap areas (c) big touch targets (d) icons with no labels
  12. 12.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) add money received (c) show the balance (d) savings stickers
  13. 13.🔀 What does this PIN rule show?
    let pin = "4968";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  14. 14.🔁 What does a loop do? (a) saves photos (b) draws icons (c) deletes code (d) repeats code
  15. 15.Which colour pair is easy to read? (a) dark blue on black (b) red on green (c) light grey on white (d) white on dark green
  16. 16.True or false: the user types a letter is a text event. (a) False (b) True
  17. 17.🔢 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
  18. 18.🔢 When you make an app, which comes first: “release it” or “get an idea”? (a) release it (b) get an idea
  19. 19.🔍 Which is the odd one out? (a) tiny tap areas (b) captions on videos (c) labels on every icon (d) strong colour contrast
  20. 20.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) export to a file (c) show the balance (d) pie-chart colours
  21. 21.🧰 What is a function? (a) a type of phone (b) a named block of code (c) a list of colours (d) a screen size
  22. 22.True or false: a times-table quiz is a learning app. (a) False (b) True
  23. 23.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 5 or more right answers.
    function result(right) {
      if (right > 5) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(7) → expected Pass
    Test 2: result(4) → expected Try again
    Test 3: result(5) → expected Pass
  24. 24.🗒️ Version 1 of a bus tracker must be ready in 12 days. How many days are left for extras after the must-haves?
    see where the bus is: 1 days
    show arrival time: 4 days
    pick your bus stop: 4 days
  25. 25.👥 A school app has 20 students, 80 teachers and 185 parents as users. Which user group is the biggest? (a) teachers (b) students (c) parents
  26. 26.🔢 When you make an app, what comes right after “build the app”? (a) get an idea (b) release it (c) plan the screens (d) test the app
  27. 27.🧪 What is the actual result of a test? (a) the app’s name (b) what we hope for (c) what the app really does (d) the test’s number
  28. 28.🐞 A comment in code (after //) is for ___. (a) the app store (b) people reading the code (c) the battery (d) the phone screen
  29. 29.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 190; // typed by the user
    line 2: let off = 30; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 1 (b) line 4 (c) line 2 (d) line 3
  30. 30.🗒️ Version 1 of a water reminder must be ready in 13 days. How many days are left for extras after the must-haves?
    set a reminder time: 3 days
    log a glass of water: 2 days
    see today’s total: 4 days
  31. 31.🔀 Which badge does this quiz app show?
    let marks = 83;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  32. 32.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 30; // start at 30
    line 2: points = points + 6; // add 6
    line 3: points = points - 2; // take away 2
    line 4: points = points + 2; // double it
    line 5: show(points); // show it
  33. 33.True or false: strong colour contrast is good button design. (a) False (b) True
  34. 34.True or false: a page of random dots solves no real problem. (a) False (b) True
  35. 35.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 3 (b) 0, 1, 2 (c) 1, 2, 3 (d) 0, 1, 2, 3
  36. 36.🔢 In a quiz-app flow, which comes FIRST? (a) see if it is right (b) read a question (c) tap “Start quiz” (d) pick an answer
  37. 37.🎯 What is the best first step to learn what users need? (a) guess on your own (b) write the code (c) ask and watch users (d) pick the colours
  38. 38.🔢 When you make an app, which comes first: “test the app” or “build the app”? (a) test the app (b) build the app
  39. 39.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [text box] Name
    [text box] Notes
    [button] Help
    [text box] Age
  40. 40.🔍 Which is the odd one out? (a) taking a photo (b) tapping a button (c) typing your age (d) adding up a bill

Answer key

  1. a study-room finder
  2. your last game level
  3. 32
  4. a named box for a value
  5. open the app
  6. 4.5.12
  7. Maths
  8. big picture
  9. 16
  10. 615
  11. big touch targets
  12. savings stickers
  13. PIN saved
  14. repeats code
  15. white on dark green
  16. True
  17. pick an answer
  18. get an idea
  19. tiny tap areas
  20. show the balance
  21. a named block of code
  22. True
  23. 2
  24. 3
  25. parents
  26. test the app
  27. what the app really does
  28. people reading the code
  29. line 3
  30. 4
  31. Gold
  32. 36
  33. True
  34. True
  35. 0, 1, 2
  36. tap “Start quiz”
  37. ask and watch users
  38. build the app
  39. 3
  40. adding up a bill

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