← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 763 · 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.⚙️ What number does this app show?
    let price = 40; // typed by the user
    let qty = 5; // typed by the user
    let total = price * qty;
    show(total);
  2. 2.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(1) + points(1));
  3. 3.True or false: you list what users need at the idea stage. (a) False (b) True
  4. 4.🗂️ What kind of app is a word battle? (a) a health app (b) a learning app (c) a tool app (d) a game
  5. 5.🖼️ How many parts (boxes) does this wireframe have?
    [ Add button ]
    [ top bar ]
    [ menu icon ]
    [ big picture ]
    [ title text ]
  6. 6.🗒️ The first small, working version of an app is often called an ___. (a) URL (b) FAQ (c) MVP (d) CPU
  7. 7.🌗 Is black on yellow easy or hard to read on a button? (a) hard to read (b) easy to read
  8. 8.💾 What number does this code show?
    let lives = 3;
    lives = lives - 1;
    lives = lives + 3;
    show(lives);
  9. 9.🧪 What is the ACTUAL result of Test 2?
    🎟️ 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(12) → expected 100
    Test 2: price(10) → expected 100
    Test 3: price(8) → expected 50
  10. 10.True or false: a speak-to-type notes app needs your location. (a) True (b) False
  11. 11.Which of these is an input? (a) the log-in page (b) a date picker (c) today’s step count (d) the settings page
  12. 12.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [button] Cancel
    [text box] Name
    [switch] Show hints
    (a) Show hints (b) Cancel (c) Name
  13. 13.🚀 Your app is at version 4.3.4. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.4.4 (b) 4.3.5 (c) 5.0.0 (d) 4.4.0
  14. 14.🔁 What number does this code show?
    let scores = [14, 2, 8];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  15. 15.🧪 One test case fails. Which one?
    🎟️ 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(8) → expected 50
    Test 2: price(10) → expected 100
    Test 3: price(11) → expected 100
    (a) Test 3 (b) Test 2 (c) Test 1
  16. 16.🔀 What number does this shop app show?
    let total = 730;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  17. 17.🔍 Which is the odd one out? (a) a sleep tracker (b) a times-table quiz (c) a flashcard trainer (d) a spelling coach
  18. 18.True or false: you connect the data at the plan stage. (a) False (b) True
  19. 19.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 32; // start at 32
    line 2: lives = lives * 2; // double it
    line 3: lives = lives * 2; // double it
    line 4: lives = lives + 4; // take away 4
    line 5: show(lives); // show it
  20. 20.🔢 When you make an app, which comes first: “test the app” or “release it”? (a) test the app (b) release it
  21. 21.👆 The user taps the button 2 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 3) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  22. 22.Which of these is an output? (a) a beep sound (b) adding up a bill (c) checking a password (d) typing your age
  23. 23.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) pick a theme colour (c) add a homework task (d) see tasks by day
  24. 24.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Map”
    2. tap Back
    3. tap the Search tab
    4. open “Edit photo”
    5. tap the Home tab
    Which screen are you on now?
    (a) Home (b) Map (c) Search (d) Edit photo
  25. 25.🔁 What does a loop do? (a) repeats code (b) saves photos (c) deletes code (d) draws icons
  26. 26.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
  27. 27.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Arjun"));
    (a) Arjun (b) Hi, Arjun! (c) Hi, name! (d) greet
  28. 28.🔢 In a sign-up flow, which comes FIRST? (a) tap “Sign up” (b) enter the code sent (c) make a password (d) open the app
  29. 29.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Match report”
    2. tap Back
    3. open “Score card”
    4. tap Back
    5. open “Score card”
    How many times must you tap Back to reach the main screen of this tab?
  30. 30.👆 The user taps the button 1 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  31. 31.True or false: the home page of an app is a screen. (a) False (b) True
  32. 32.Which of these is an input? (a) sorting the scores (b) a buzz (vibration) (c) a result on screen (d) speaking a command
  33. 33.🔢 In a quiz-app flow, which comes LAST? (a) read a question (b) tap “Start quiz” (c) pick an answer (d) see the final score
  34. 34.True or false: an app updates from the store. (a) False (b) True
  35. 35.True or false: a bus tracker is the best fit for a student who often misses the school bus. (a) False (b) True
  36. 36.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 45; // start at 45
    line 2: score = score * 2; // double it
    line 3: score = score + 4; // take away 4
    line 4: show(score); // show it
    (a) line 2 (b) line 1 (c) line 3
  37. 37.🧭 Which part of navigation opens a list of pages? (a) a menu button (b) a tab bar (c) the back button
  38. 38.🔍 Which is the odd one out? (a) strong colour contrast (b) icons with no labels (c) fast-flashing lights (d) colour as the only clue
  39. 39.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 40; // start at 40
    line 2: stars = stars - 2; // take away 2
    line 3: stars = stars * 3; // double it
    line 4: show(stars); // show it
  40. 40.Which of these is an output? (a) speaking a command (b) sorting the scores (c) a pop-up message (d) taking a photo

Answer key

  1. 200
  2. 30
  3. True
  4. a game
  5. 5
  6. MVP
  7. easy to read
  8. 5
  9. 100
  10. False
  11. a date picker
  12. Cancel
  13. 5.0.0
  14. 14
  15. Test 2
  16. 680
  17. a sleep tracker
  18. False
  19. 124
  20. test the app
  21. 2
  22. a beep sound
  23. pick a theme colour
  24. Home
  25. repeats code
  26. an app
  27. Hi, Arjun!
  28. open the app
  29. 1
  30. 1
  31. True
  32. speaking a command
  33. see the final score
  34. True
  35. True
  36. line 3
  37. a menu button
  38. strong colour contrast
  39. 114
  40. a pop-up message

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