← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 411 · 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.🔐 Is this permission request fair or too much: timer → your photos? (a) fair (b) too much
  2. 2.Which of these is a button? (a) your friends list (b) your high score (c) tap to Send (d) the home page of an app
  3. 3.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Badges”
    2. open “Match report”
    3. open “Score card”
    How many times must you tap Back to reach the main screen of this tab?
  4. 4.🔀 What does this sign-up rule show?
    let age = 12;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  5. 5.True or false: a finger hits Like is a tap event. (a) False (b) True
  6. 6.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Zoya", "Kabir", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Aman (c) Hi, Zoya (d) Hi, Arjun
  7. 7.True or false: notes to read offline fits saving on the phone. (a) False (b) True
  8. 8.💾 What is a variable? (a) a phone setting (b) a picture (c) a type of screen (d) a named box for a value
  9. 9.🚀 Your app is at version 3.5.6. The next release adds a new feature. What is its version number? (a) 3.5.7 (b) 4.0.0 (c) 3.6.0 (d) 3.6.6
  10. 10.💾 What number does this code show?
    let score = 6;
    score = score - 1;
    score = score + 3;
    show(score);
  11. 11.🧰 What is a function? (a) a screen size (b) a list of colours (c) a type of phone (d) a named block of code
  12. 12.True or false: you pick the features at the plan stage. (a) True (b) False
  13. 13.👆 “On tap → do this” links an event to ___. (a) a font (b) a web address (c) an action (d) a charger
  14. 14.✏️ Do wireframes usually show the final colours? (a) No (b) Yes
  15. 15.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Kabir", "Zoya", "Aman", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Meera (c) Hi, Riya (d) Hi, Zoya
  16. 16.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 38; // start at 38
    line 2: coins = coins - 2; // take away 2
    line 3: coins = coins + 5; // add 5
    line 4: coins = coins * 3; // double it
    line 5: show(coins); // show it
    (a) line 1 (b) line 2 (c) line 4 (d) line 3
  17. 17.🔍 Which is the odd one out? (a) a racing challenge (b) a puzzle with levels (c) a word battle (d) a times-table quiz
  18. 18.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 17 votes
    forgetting birthdays: 23 votes
    forgetting homework: 22 votes
    (a) no quiet study place (b) forgetting homework (c) forgetting birthdays
  19. 19.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 36; // start at 35
    line 2: score = score - 1; // take away 1
    line 3: score = score + 5; // add 5
    line 4: score = score + 3; // add 3
    line 5: show(score); // show it
    (a) line 1 (b) line 4 (c) line 2 (d) line 3
  20. 20.👆 The user taps the button 2 times. What number does the label show now?
    let lives = 2;
    button.onTap = function () {
      lives = lives + 4;
      label.text = lives;
    };
  21. 21.🗂️ What kind of app is an alarm clock? (a) a health app (b) a game (c) a learning app (d) a tool app
  22. 22.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 5 votes
    forgetting homework: 3 votes
    wasting pocket money: 9 votes
  23. 23.True or false: a final design looks like the real app. (a) True (b) False
  24. 24.💡 Which app idea solves this problem: Grandpa forgets his tablets? (a) a homework planner (b) a lost-and-found board (c) a study-room finder (d) a medicine reminder
  25. 25.True or false: a final design has the real colours. (a) False (b) True
  26. 26.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
  27. 27.True or false: “fast-flashing lights” helps everyone use the app. (a) True (b) False
  28. 28.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Done button: 52 px tall
    Next button: 36 px tall
    Back button: 48 px tall
    Start button: 48 px tall
    (a) Start (b) Back (c) Next (d) Done
  29. 29.🗒️ A to-do app with no “add a task” feature is ___. (a) missing a must-have (b) ready to release (c) a nice extra (d) well planned
  30. 30.🖼️ In this wireframe (top to bottom), what is right below the big picture?
    [ search box ]
    [ list of items ]
    [ Save button ]
    [ big picture ]
    [ menu icon ]
    (a) search box (b) menu icon (c) list of items (d) Save button
  31. 31.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(32));
  32. 32.🔀 When does the else part run? (a) never (b) when the test is false (c) when the test is true (d) always
  33. 33.🧰 How do you run (call) a function called greet? (a) greet[] (b) greet() (c) #greet (d) run greet
  34. 34.🔘 Our rule: buttons are at least 48 px tall. The Back button is 36 px tall. How many px taller must it be?
  35. 35.🔢 In a quiz-app flow, which comes first: “see the final score” or “pick an answer”? (a) pick an answer (b) see the final score
  36. 36.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 12; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 2 (b) line 3 (c) line 1
  37. 37.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “no quiet study place”?
    missing the bus: 5 votes
    no quiet study place: 4 votes
    forgetting birthdays: 9 votes
  38. 38.👆 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, Kabir! (d) Hi, nameBox.text!
  39. 39.💡 Which app idea solves this problem: a team shares one snack bill? (a) a study-room finder (b) a bill splitter (c) a lost-and-found board (d) a medicine reminder
  40. 40.🔁 What number does this code show?
    let scores = [20, 6, 9, 16, 3];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);

Answer key

  1. too much
  2. tap to Send
  3. 3
  4. Ask a parent
  5. True
  6. Hi, Arjun
  7. True
  8. a named box for a value
  9. 3.6.0
  10. 8
  11. a named block of code
  12. True
  13. an action
  14. No
  15. Hi, Meera
  16. line 4
  17. a times-table quiz
  18. forgetting birthdays
  19. line 1
  20. 10
  21. a tool app
  22. 17
  23. True
  24. a medicine reminder
  25. True
  26. a website
  27. False
  28. Next
  29. missing a must-have
  30. menu icon
  31. 64
  32. when the test is false
  33. greet()
  34. 12
  35. pick an answer
  36. line 2
  37. 5
  38. Hi, Kabir!
  39. a bill splitter
  40. 54

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