← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 353 · 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.🧑 Who is an app really made for? (a) its icon (b) its charger (c) its users (d) its coder only
  2. 2.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
  3. 3.Which of these happens at the plan stage? (a) write the store text (b) sketch the screens (c) try every button (d) talk to possible users
  4. 4.🔐 Is this permission request fair or too much: voice notes → microphone? (a) fair (b) too much
  5. 5.Which of these is true of a website? (a) is installed on a phone (b) comes from an app store (c) opens in a web browser (d) updates from the store
  6. 6.🔀 What number does this shop app show?
    let total = 630;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  7. 7.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 147; // typed by the user
    line 2: let friends = 3; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 2 (b) line 4 (c) line 3 (d) line 1
  8. 8.⚙️ In an app, is a pop-up message an input, processing or an output? (a) input (b) output (c) processing
  9. 9.🧭 Which part of navigation switches main sections? (a) a menu button (b) a tab bar (c) the back button
  10. 10.🔍 Which is the odd one out? (a) a sleep tracker (b) a step counter (c) a torch (d) a water reminder
  11. 11.⚙️ What number does this app show?
    let price = 95; // typed by the user
    let qty = 2; // typed by the user
    let total = price * qty;
    show(total);
  12. 12.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 39; // start at 39
    line 2: points = points + 8; // add 6
    line 3: points = points - 5; // take away 5
    line 4: show(points); // show it
  13. 13.📅 An app team plans for 3 days, builds for 4 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
  14. 14.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(3));
  15. 15.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(5));
  16. 16.🧩 How many buttons does this app screen have?
    [title] New Note
    [button] Start
    [button] Back
    [text box] Phone
    [button] Cancel
    [switch] Show hints
  17. 17.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Back button: 64 px tall
    Save button: 40 px tall
    Cancel button: 32 px tall
  18. 18.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) CPU (c) URL (d) MVP
  19. 19.🔍 Which is the odd one out? (a) spot a problem to solve (b) list what users need (c) talk to possible users (d) put it on an app store
  20. 20.🔀 What does this sign-up rule show?
    let age = 15;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  21. 21.🧪 One test case fails. Which one?
    📝 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(4) → expected Try again
    Test 2: result(6) → expected Pass
    Test 3: result(5) → expected Pass
    (a) Test 3 (b) Test 2 (c) Test 1
  22. 22.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Aman", "Arjun", "Zoya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Arjun (c) Hi, Zoya (d) Hi, Riya
  23. 23.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Back button: 36 px tall
    Help button: 72 px tall
    Start button: 56 px tall
    (a) Help (b) Back (c) Start
  24. 24.🎯 Who are the users of an app? (a) the people who use it (b) only the coders (c) the app icons (d) only the testers
  25. 25.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Friend list”
    2. tap the Feed tab
    3. open “Video”
    How many times must you tap Back to reach the main screen of this tab?
  26. 26.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Video”
    2. tap the Profile tab
    3. open “Video”
    4. tap the Home tab
    5. open “Badges”
    How many times must you tap Back to reach the main screen of this tab?
  27. 27.🖼️ In this wireframe (top to bottom), what is right above the title text?
    [ list of items ]
    [ search box ]
    [ top bar ]
    [ tab bar ]
    [ Save button ]
    [ title text ]
    (a) search box (b) Save button (c) top bar (d) list of items
  28. 28.🗒️ When should nice-to-have features be built? (a) never (b) before anything (c) on day one (d) after the must-haves
  29. 29.🔁 What number does this code show?
    let marks = [16, 2, 7, 7];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  30. 30.📲 What happens when you tap an app’s icon? (a) the sound turns off (b) the app is deleted (c) the app opens (d) the phone charges
  31. 31.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [text box] City
    [button] Cancel
    [button] Help
    [button] Done
    [text box] Subject
    [switch] Show hints
    [slider] Volume
  32. 32.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] New Note
    [button] Start
    [text box] Age
  33. 33.🔀 What number does this shop app show?
    let total = 490;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  34. 34.🛠️ At which stage do you talk to possible users? (a) the test stage (b) the release stage (c) the plan stage (d) the idea stage
  35. 35.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) buy a new phone (c) find where it goes wrong (d) add more colours
  36. 36.Which of these is true of an app? (a) needs no installing (b) comes from an app store (c) opens in a web browser (d) opens from a link
  37. 37.🔢 In a photo-post flow, which comes first: “take the photo” or “write a caption”? (a) write a caption (b) take the photo
  38. 38.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 44; // start at 44
    line 2: score = score + 2; // double it
    line 3: score = score - 4; // take away 4
    line 4: score = score + 4; // add 4
    line 5: show(score); // show it
  39. 39.🔘 Our rule: buttons are at least 48 px tall. The Help button is 24 px tall. How many px taller must it be?
  40. 40.Which of these is an output? (a) typing your age (b) a result on screen (c) tapping a button (d) speaking a command

Answer key

  1. its users
  2. hard to read
  3. sketch the screens
  4. fair
  5. opens in a web browser
  6. 580
  7. line 3
  8. output
  9. a tab bar
  10. a torch
  11. 190
  12. 40
  13. 9
  14. 6
  15. 90
  16. 3
  17. 1
  18. MVP
  19. put it on an app store
  20. Welcome!
  21. Test 3
  22. Hi, Zoya
  23. Back
  24. the people who use it
  25. 1
  26. 1
  27. Save button
  28. after the must-haves
  29. 32
  30. the app opens
  31. 4
  32. 1
  33. 490
  34. the idea stage
  35. find where it goes wrong
  36. comes from an app store
  37. take the photo
  38. 88
  39. 24
  40. a result on screen

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