← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 463 · 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.🛠️ At which stage do you let friends try it? (a) the idea stage (b) the build stage (c) the test stage (d) the release stage
  2. 2.True or false: a wireframe looks like the real app. (a) False (b) True
  3. 3.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a homework planner (b) a recipe finder (c) a big-text reader (d) a water reminder
  4. 4.⚙️ What number does this app show?
    let price = 400; // typed by the user
    let off = 30; // typed by the user
    let pay = price - off;
    show(pay);
  5. 5.Which colour pair is hard to read? (a) white on dark green (b) dark blue on white (c) light grey on white (d) black on yellow
  6. 6.📊 Survey: which problem bugs you most? How many students voted in all?
    no quiet study place: 4 votes
    forgetting homework: 20 votes
    losing water bottles: 7 votes
  7. 7.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) pick a theme colour (b) add a homework task (c) earn stickers (d) share tasks to friends
  8. 8.🔁 What number does this code show?
    let marks = [11, 64, 55];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  9. 9.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) export to a file (b) show the balance (c) add money spent (d) add money received
  10. 10.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) show the balance (b) savings stickers (c) pie-chart colours (d) export to a file
  11. 11.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [button] Next
    [text box] Age
    [text box] Email
    [button] Send
    [text box] Subject
    [button] Start
  12. 12.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Profile tab
    2. open “Help page”
    3. open “Friend list”
    How many times must you tap Back to reach the main screen of this tab?
  13. 13.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Sign Up
    [button] Next
    [button] Done
    [text box] Notes
    [text box] Name
    [text box] Phone
  14. 14.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 30; // start at 30
    line 2: lives = lives + 6; // add 6
    line 3: lives = lives * 3; // double it
    line 4: show(lives); // show it
  15. 15.💡 Does an app idea like a button with no action solve a real problem? (a) No (b) Yes
  16. 16.💾 Data saved only on the phone is lost when ___. (a) the app is closed (b) the phone is lost (c) you send a message (d) the screen turns off
  17. 17.🔀 What does >= mean? (a) not equal (b) smaller or equal (c) greater than or equal (d) less than
  18. 18.🔁 What number does this code show?
    let runs = [9, 1, 18, 8];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  19. 19.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age <= 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(9) → expected 50
    Test 2: price(10) → expected 100
    Test 3: price(14) → expected 100
  20. 20.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 46; // start at 46
    line 2: stars = stars + 1; // take away 1
    line 3: stars = stars * 2; // double it
    line 4: show(stars); // show it
    (a) line 2 (b) line 3 (c) line 1
  21. 21.🔢 In a food-order flow, which comes FIRST? (a) pick a dish (b) check the cart (c) open the menu (d) pay for the order
  22. 22.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 33; // start at 31
    line 2: stars = stars + 6; // add 6
    line 3: stars = stars - 1; // take away 1
    line 4: show(stars); // show it
  23. 23.🔐 Is this permission request fair or too much: camera app → camera? (a) fair (b) too much
  24. 24.🖼️ In this wireframe (top to bottom), what is right above the top bar?
    [ search box ]
    [ list of items ]
    [ big picture ]
    [ top bar ]
    (a) list of items (b) big picture (c) search box
  25. 25.🧩 In an app, what is the game-over page? (a) a screen (b) data (c) an input (d) a button
  26. 26.True or false: an app comes from an app store. (a) True (b) False
  27. 27.Which colour pair is hard to read? (a) pale pink on white (b) dark blue on white (c) white on dark green (d) black on pale grey
  28. 28.💾 What number does this code show?
    let score = 7;
    score = score - 2;
    score = score + 1;
    show(score);
  29. 29.🧪 What is the actual result of a test? (a) what we hope for (b) the app’s name (c) the test’s number (d) what the app really does
  30. 30.True or false: grey text on grey is good button design. (a) True (b) False
  31. 31.🔍 Which is the odd one out? (a) working out a tip (b) tapping a button (c) checking a password (d) adding up a bill
  32. 32.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Caption: 25 px
    Body text: 11 px
    Hint: 19 px
    Menu: 18 px
    (a) Hint (b) Body text (c) Menu (d) Caption
  33. 33.Which of these is an input? (a) adding up a bill (b) taking a photo (c) a pop-up message (d) checking a password
  34. 34.True or false: icons with no meaning is poor button design. (a) False (b) True
  35. 35.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) water animations (b) log a glass of water (c) set a reminder time (d) see today’s total
  36. 36.👆 What kind of event is this: the app starts up? (a) a timer event (b) a text event (c) a load event (d) a tap event
  37. 37.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) set a reminder time (b) custom alert sounds (c) share your streak (d) water animations
  38. 38.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a blank grey screen (c) a button with no action (d) a free study-room finder
  39. 39.🔁 What number does this code show?
    let runs = [81, 21, 89, 71, 96];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  40. 40.💡 Does an app idea like a medicine reminder solve a real problem? (a) Yes (b) No

Answer key

  1. the test stage
  2. False
  3. a homework planner
  4. 370
  5. light grey on white
  6. 31
  7. add a homework task
  8. 0
  9. export to a file
  10. show the balance
  11. 3
  12. 2
  13. 3
  14. 72
  15. No
  16. the phone is lost
  17. greater than or equal
  18. 18
  19. 2
  20. line 2
  21. open the menu
  22. 36
  23. fair
  24. big picture
  25. a screen
  26. True
  27. pale pink on white
  28. 6
  29. what the app really does
  30. False
  31. tapping a button
  32. Body text
  33. taking a photo
  34. True
  35. water animations
  36. a load event
  37. set a reminder time
  38. a free study-room finder
  39. 4
  40. Yes

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