← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 404 · 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 does this battery rule show?
    let battery = 89;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  2. 2.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Riya"));
    (a) greet (b) Riya (c) Hi, name! (d) Hi, Riya!
  3. 3.🔍 Which is the odd one out? (a) a word battle (b) a cricket run chase (c) a racing challenge (d) a water reminder
  4. 4.🔍 Which is the odd one out? (a) a flashcard trainer (b) a calculator (c) a times-table quiz (d) a spelling coach
  5. 5.🔁 What number does this code show?
    let runs = [12, 12, 15, 6, 7];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  6. 6.🧭 Which part of navigation sits at the bottom? (a) a tab bar (b) the back button (c) a menu button
  7. 7.♿ Does this help everyone, or make the app harder to use: icons with no labels? (a) helps everyone (b) makes it harder
  8. 8.🧩 Scores, notes and settings that an app keeps are called ___. (a) tabs (b) data (c) buttons (d) screens
  9. 9.📅 An app team plans for 3 days, builds for 8 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  10. 10.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “wasting pocket money”?
    losing water bottles: 6 votes
    forgetting homework: 15 votes
    wasting pocket money: 12 votes
  11. 11.🔀 What does this sign-up rule show?
    let age = 11;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  12. 12.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 85; // 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 2 (b) line 4 (c) line 3 (d) line 1
  13. 13.🛠️ At which stage do you share the download link? (a) the build stage (b) the test stage (c) the release stage (d) the plan stage
  14. 14.True or false: a birthday list of friends needs your location. (a) True (b) False
  15. 15.🔢 When you make an app, which comes LAST? (a) get an idea (b) build the app (c) test the app (d) release it
  16. 16.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Arjun"));
    (a) Arjun (b) Hi, Arjun! (c) Hi, name! (d) greet
  17. 17.📱 Which one opens from a link: an app or a website? (a) a website (b) an app
  18. 18.🧪 What is the ACTUAL result of Test 2?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age <= 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(15) → expected 100
    Test 2: price(16) → expected 100
    Test 3: price(8) → expected 50
  19. 19.🔍 Which is the odd one out? (a) typing your age (b) checking a password (c) adding up a bill (d) working out a tip
  20. 20.🔁 What number does this code show?
    let marks = [13, 13, 2, 9];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  21. 21.💾 pop() takes off the last item. What does this code show?
    let friends = ["Meera", "Kabir", "Riya", "Zoya"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Kabir (b) Zoya (c) Meera (d) Riya
  22. 22.🧭 Where is a tab bar usually placed in a phone app? (a) in the middle (b) nowhere (c) inside a button (d) at the bottom
  23. 23.🧭 Which part of navigation hides extra links? (a) a menu button (b) a tab bar (c) the back button
  24. 24.👆 What kind of event is this: a 5-minute alarm ends? (a) a load event (b) a text event (c) a tap event (d) a timer event
  25. 25.🧰 What is a function? (a) a named block of code (b) a list of colours (c) a type of phone (d) a screen size
  26. 26.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [text box] Name
    [button] Next
    [slider] Volume
    [button] Start
    (a) Name (b) Volume (c) Next
  27. 27.📊 Survey: which problem bugs you most? How many students voted in all?
    no quiet study place: 11 votes
    forgetting homework: 5 votes
    losing water bottles: 13 votes
  28. 28.Which of these is true of a menu button? (a) switches main sections (b) sits at the bottom (c) shows 3 to 5 icons (d) hides extra links
  29. 29.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Done button: 48 px tall
    Start button: 52 px tall
    Back button: 40 px tall
    (a) Start (b) Done (c) Back
  30. 30.🚀 Which version is newer: 2.3.6 or 2.3.17? (a) 2.3.17 (b) 2.3.6
  31. 31.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Map”
    2. tap Back
    3. open “Match report”
    How many times must you tap Back to reach the main screen of this tab?
  32. 32.Which of these requests asks for too much? (a) voice notes → microphone (b) calculator → location (c) map app → location (d) calling app → contacts
  33. 33.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Start button: 36 px tall
    Save button: 56 px tall
    Help button: 52 px tall
  34. 34.Which of these is true of an app? (a) needs no installing (b) opens in a web browser (c) updates from the store (d) opens from a link
  35. 35.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 39; // start at 39
    line 2: stars = stars - 1; // take away 1
    line 3: stars = stars + 2; // double it
    line 4: show(stars); // show it
    (a) line 3 (b) line 2 (c) line 1
  36. 36.👥 A clinic app has 120 patients, 90 doctors and 165 nurses as users. How many more nurses than patients are there?
  37. 37.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a blank grey screen (c) a bill splitter (d) a lost-and-found board
  38. 38.💾 pop() takes off the last item. What does this code show?
    let songs = ["Rain", "Kites", "Sunrise"];
    songs.pop();
    show(songs[songs.length - 1]);
    (a) Kites (b) Sunrise (c) Rain
  39. 39.True or false: a final design looks like the real app. (a) False (b) True
  40. 40.🌗 Is yellow on white easy or hard to read on a button? (a) easy to read (b) hard to read

Answer key

  1. Battery OK
  2. Hi, Riya!
  3. a water reminder
  4. a calculator
  5. 15
  6. a tab bar
  7. makes it harder
  8. data
  9. 15
  10. 3
  11. Ask a parent
  12. line 3
  13. the release stage
  14. False
  15. release it
  16. Hi, Arjun!
  17. a website
  18. 100
  19. typing your age
  20. 13
  21. Riya
  22. at the bottom
  23. a menu button
  24. a timer event
  25. a named block of code
  26. Next
  27. 29
  28. hides extra links
  29. Back
  30. 2.3.17
  31. 1
  32. calculator → location
  33. 2
  34. updates from the store
  35. line 3
  36. 45
  37. a blank grey screen
  38. Kites
  39. True
  40. hard to read

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