← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 441 · 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.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) home screen (c) dead end (d) tab bar
  2. 2.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) pie-chart colours (b) show the balance (c) add money received (d) add money spent
  3. 3.🔢 In a food-order flow, which comes LAST? (a) pick a dish (b) add it to the cart (c) check the cart (d) track the order
  4. 4.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 37; // start at 35
    line 2: points = points * 2; // double it
    line 3: points = points - 4; // take away 4
    line 4: show(points); // show it
  5. 5.True or false: “strong colour contrast” helps everyone use the app. (a) False (b) True
  6. 6.💾 What number does this code show?
    let points = 5;
    points = points - 3;
    points = points + 5;
    show(points);
  7. 7.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Match report”
    2. open “Score card”
    3. tap Back
    4. open “Match report”
    Which screen are you on now?
    (a) Score card (b) Home (c) Search (d) Match report
  8. 8.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 6 (c) 4 (d) 5
  9. 9.🔀 With if / else if / else, how many parts run? (a) only one (b) two (c) none (d) all of them
  10. 10.🔢 When you make an app, which comes LAST? (a) get an idea (b) plan the screens (c) test the app (d) release it
  11. 11.🐞 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 30
    line 2: lives = lives - 5; // take away 5
    line 3: lives = lives + 5; // add 5
    line 4: show(lives); // show it
  12. 12.Which of these is an input? (a) the game-over page (b) the settings page (c) a box to type a name (d) today’s step count
  13. 13.💾 What does this code show? (Positions start at 0.)
    let friends = ["Zoya", "Arjun", "Riya", "Aman"];
    show(friends[0]);
    (a) Aman (b) Riya (c) Arjun (d) Zoya
  14. 14.🛠️ At which stage do you talk to possible users? (a) the release stage (b) the plan stage (c) the build stage (d) the idea stage
  15. 15.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Done button: 56 px tall
    Save button: 44 px tall
    Start button: 60 px tall
    Back button: 60 px tall
    (a) Done (b) Save (c) Back (d) Start
  16. 16.🔍 Which is the odd one out? (a) the screen layout (b) the theme colours (c) the button colours (d) how users feel after
  17. 17.🔢 In a quiz-app flow, which comes first: “read a question” or “pick an answer”? (a) pick an answer (b) read a question
  18. 18.🧪 What is the ACTUAL result of Test 2?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(650) → expected 0
    Test 2: delivery(600) → expected 0
    Test 3: delivery(400) → expected 40
  19. 19.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Zoya", "Riya", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Aman (c) Hi, Zoya (d) Hi, Riya
  20. 20.🧩 In an app, what is tap to Send? (a) a screen (b) an input (c) data (d) a button
  21. 21.🔀 Which badge does this quiz app show?
    let marks = 57;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  22. 22.🧩 Which input is best for typing your name? (a) a text box (b) a picture (c) a slider (d) a switch
  23. 23.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 41; // start at 41
    line 2: points = points * 2; // double it
    line 3: points = points + 2; // double it
    line 4: points = points + 5; // add 5
    line 5: show(points); // show it
  24. 24.💡 Which app idea solves this problem: projects pile up at once? (a) a homework planner (b) a study-room finder (c) a bill splitter (d) a medicine reminder
  25. 25.💡 After a survey, which need should version 1 solve? (a) the newest trend (b) a random need (c) the rarest need (d) the most common need
  26. 26.✏️ What is a wireframe? (a) a simple screen sketch (b) a type of password (c) a charging cable (d) the finished app
  27. 27.True or false: typing your age is an input. (a) False (b) True
  28. 28.👆 What kind of event is this: the screen first opens? (a) a tap event (b) a timer event (c) a load event (d) a text event
  29. 29.🔀 What does this battery rule show?
    let battery = 21;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  30. 30.🎯 What is the best first step to learn what users need? (a) guess on your own (b) pick the colours (c) ask and watch users (d) write the code
  31. 31.True or false: you talk to possible users at the idea stage. (a) True (b) False
  32. 32.True or false: a step counter is a tool app. (a) False (b) True
  33. 33.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Zoya"));
    (a) Zoya (b) Welcome, Zoya! (c) greet (d) Welcome, name!
  34. 34.🖼️ How many parts (boxes) does this wireframe have?
    [ big picture ]
    [ title text ]
    [ list of items ]
    [ Add button ]
  35. 35.🔁 What number does this code show?
    let steps = [18, 18, 12, 8, 19];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  36. 36.👆 The user taps the button 3 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
  37. 37.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Save button ]
    [ title text ]
    [ search box ]
    [ Add button ]
    [ top bar ]
    (a) search box (b) top bar (c) title text (d) Save button
  38. 38.🔐 Is this permission request fair or too much: voice notes → microphone? (a) too much (b) fair
  39. 39.💾 Which can hold many values in order? (a) a list (b) a single number (c) a button (d) a switch
  40. 40.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Menu: 12 px
    Caption: 13 px
    Label: 15 px

Answer key

  1. dead end
  2. pie-chart colours
  3. track the order
  4. 66
  5. True
  6. 7
  7. Match report
  8. 5
  9. only one
  10. release it
  11. 30
  12. a box to type a name
  13. Zoya
  14. the idea stage
  15. Save
  16. how users feel after
  17. read a question
  18. 40
  19. Hi, Arjun
  20. a button
  21. Silver
  22. a text box
  23. 169
  24. a homework planner
  25. the most common need
  26. a simple screen sketch
  27. True
  28. a load event
  29. Battery OK
  30. ask and watch users
  31. True
  32. False
  33. Welcome, Zoya!
  34. 4
  35. 19
  36. ON
  37. top bar
  38. fair
  39. a list
  40. 3

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