← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 635 · 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.True or false: an app has a web address. (a) False (b) True
  2. 2.🧰 Why write a function? (a) to make code longer (b) to hide errors (c) to slow the app (d) to reuse code
  3. 3.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 30; // typed by the user
    line 2: let qty = 2; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 3 (b) line 4 (c) line 1 (d) line 2
  4. 4.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a water reminder (b) a homework planner (c) a big-text reader (d) a recipe finder
  5. 5.🔍 Which is the odd one out? (a) speaking a command (b) a beep sound (c) a pop-up message (d) a buzz (vibration)
  6. 6.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) URL (c) CPU (d) MVP
  7. 7.🖼️ How many parts (boxes) does this wireframe have?
    [ top bar ]
    [ big picture ]
    [ title text ]
    [ search box ]
    [ menu icon ]
  8. 8.💾 What is a variable? (a) a picture (b) a named box for a value (c) a phone setting (d) a type of screen
  9. 9.👥 A cricket club app has 245 players, 55 coaches and 195 fans as users. How many users does it have in all?
  10. 10.🎨 Is this about UI or UX: how easy sign-up is? (a) UX (b) UI
  11. 11.Which of these is true of a menu button? (a) undoes one move (b) hides extra links (c) goes to the last screen (d) switches main sections
  12. 12.🔍 Which is the odd one out? (a) draw the user flow (b) sketch the screens (c) pick the features (d) write the store text
  13. 13.🔐 Which permission does a barcode scanner really need? (a) location (b) contacts (c) the microphone (d) the camera
  14. 14.✏️ What is a wireframe? (a) the finished app (b) a type of password (c) a charging cable (d) a simple screen sketch
  15. 15.🔁 What number does this code show?
    let scores = [13, 20, 10, 3, 6];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  16. 16.🧩 In an app, what is the home page of an app? (a) an input (b) data (c) a screen (d) a button
  17. 17.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Friend list”
    2. tap Back
    3. open “Edit photo”
    4. tap the Feed tab
    5. open “Video”
    Which screen are you on now?
    (a) Edit photo (b) Video (c) Friend list (d) Feed
  18. 18.💡 After a survey, which need should version 1 solve? (a) the newest trend (b) the most common need (c) the rarest need (d) a random need
  19. 19.🚀 Which version is newer: 4.2.19 or 4.2.2? (a) 4.2.19 (b) 4.2.2
  20. 20.True or false: you add the buttons at the idea stage. (a) True (b) False
  21. 21.🔍 Which is the odd one out? (a) a water reminder (b) a spelling coach (c) a sleep tracker (d) a step counter
  22. 22.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hi, " + nameBox.text + "!";
    };
    (a) Kabir (b) Hi! (c) Hi, nameBox.text! (d) Hi, Kabir!
  23. 23.🐞 After fixing a bug you should ___. (a) never test (b) test it again (c) release at once (d) delete the test
  24. 24.🖼️ How many parts (boxes) does this wireframe have?
    [ menu icon ]
    [ Add button ]
    [ big picture ]
    [ title text ]
  25. 25.🗒️ Why keep version 1 small? (a) to learn from users soon (b) to look bigger (c) to use up storage (d) to confuse users
  26. 26.🔁 What number does this code show?
    let steps = [18, 1, 19, 5];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  27. 27.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 42; // start at 42
    line 2: stars = stars * 2; // double it
    line 3: stars = stars + 4; // add 4
    line 4: stars = stars + 8; // add 5
    line 5: show(stars); // show it
  28. 28.🧰 What does return do in a function? (a) closes the screen (b) repeats the code (c) sends back a value (d) deletes the app
  29. 29.🎯 Is this a user need or a feature: “What should I cook?”? (a) a feature (b) a user need
  30. 30.Which of these app ideas solves no real problem? (a) a free study-room finder (b) a page of random dots (c) a bill splitter (d) a lost-and-found board
  31. 31.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
  32. 32.👆 The user taps the button 6 times. What number does the label show now?
    let score = 7;
    button.onTap = function () {
      score = score + 5;
      label.text = score;
    };
  33. 33.🔀 What number does this shop app show?
    let total = 570;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  34. 34.Which of these is an input? (a) a result on screen (b) tapping a button (c) sorting the scores (d) checking a password
  35. 35.🔁 What number does this code show?
    let steps = [64, 86, 83];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  36. 36.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Video”
    2. tap Back
    3. tap the Feed tab
    4. open “Edit photo”
    Which screen are you on now?
    (a) Feed (b) Chat (c) Edit photo (d) Video
  37. 37.🔍 Which is the odd one out? (a) sorting the scores (b) a buzz (vibration) (c) adding up a bill (d) checking a password
  38. 38.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Profile tab
    2. open “Video”
    3. tap the Search tab
    Which screen are you on now?
    (a) Home (b) Profile (c) Search (d) Video
  39. 39.🔀 When does the else part run? (a) when the test is false (b) always (c) when the test is true (d) never
  40. 40.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 0, 1, 2, 3 (b) 3 (c) 0, 1, 2 (d) 1, 2, 3

Answer key

  1. False
  2. to reuse code
  3. line 3
  4. a water reminder
  5. speaking a command
  6. MVP
  7. 5
  8. a named box for a value
  9. 495
  10. UX
  11. hides extra links
  12. write the store text
  13. the camera
  14. a simple screen sketch
  15. 52
  16. a screen
  17. Video
  18. the most common need
  19. 4.2.19
  20. False
  21. a spelling coach
  22. Hi, Kabir!
  23. test it again
  24. 4
  25. to learn from users soon
  26. 43
  27. 93
  28. sends back a value
  29. a user need
  30. a page of random dots
  31. an app
  32. 37
  33. 520
  34. tapping a button
  35. 3
  36. Edit photo
  37. a buzz (vibration)
  38. Search
  39. when the test is false
  40. 0, 1, 2

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