← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 760 · 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.🔢 In a quiz-app flow, which comes first: “pick an answer” or “see the final score”? (a) pick an answer (b) see the final score
  2. 2.🚀 Which version is newer: 2.6.1 or 2.18.3? (a) 2.18.3 (b) 2.6.1
  3. 3.🧩 Which input is best for typing your name? (a) a switch (b) a picture (c) a slider (d) a text box
  4. 4.👥 A clinic app has 245 patients, 85 doctors and 120 nurses as users. How many more nurses than doctors are there?
  5. 5.👆 The user taps the button 5 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  6. 6.True or false: a racing challenge is a game. (a) False (b) True
  7. 7.True or false: a date picker is data. (a) False (b) True
  8. 8.🔀 Which badge does this quiz app show?
    let marks = 31;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  9. 9.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a bus tracker (b) a homework planner (c) a water reminder (d) a recipe finder
  10. 10.💾 What number does this code show?
    let notes = ["Hindi", "Sports"];
    notes.push("Science");
    show(notes.length);
  11. 11.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting birthdays: 21 votes
    wasting pocket money: 15 votes
    losing water bottles: 5 votes
  12. 12.🔘 Our rule: buttons are at least 48 px tall. The Send button is 20 px tall. How many px taller must it be?
  13. 13.Which of these is true of an app? (a) needs no installing (b) opens in a web browser (c) has a home-screen icon (d) opens from a link
  14. 14.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Help page”
    2. tap the Lessons tab
    3. open “Edit photo”
    4. tap the Quiz tab
    Which screen are you on now?
    (a) Help page (b) Lessons (c) Edit photo (d) Quiz
  15. 15.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 36; // start at 36
    line 2: stars = stars + 3; // add 3
    line 3: stars = stars + 9; // add 6
    line 4: show(stars); // show it
    (a) line 3 (b) line 2 (c) line 1
  16. 16.🔍 Which is the odd one out? (a) taking a photo (b) speaking a command (c) typing your age (d) a result on screen
  17. 17.💡 Which is a problem statement? (a) “Make it fast” (b) “Kids forget homework” (c) “Use blue buttons” (d) “Add a logo”
  18. 18.🗒️ Version 1 of a water reminder must be ready in 15 days. How many days are left for extras after the must-haves?
    set a reminder time: 4 days
    log a glass of water: 4 days
    see today’s total: 4 days
  19. 19.👥 A clinic app has 150 patients, 240 doctors and 195 nurses as users. How many more doctors than patients are there?
  20. 20.🔀 What is a user flow? (a) a colour theme (b) a charging cable (c) the path through screens (d) a type of font
  21. 21.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) edge cases (b) phone cases (c) old cases (d) easy cases
  22. 22.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 52; // start at 50
    line 2: lives = lives + 2; // add 2
    line 3: lives = lives * 2; // double it
    line 4: lives = lives - 5; // take away 5
    line 5: show(lives); // show it
  23. 23.🔍 Which is the odd one out? (a) strong colour contrast (b) big touch targets (c) captions on videos (d) colour as the only clue
  24. 24.👆 The user taps the button 8 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  25. 25.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Match report”
    2. open “Edit photo”
    3. open “Video”
    4. open “Map”
    5. open “Badges”
    Which screen are you on now?
    (a) Edit photo (b) Video (c) Badges (d) Match report
  26. 26.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Zoya"));
    (a) Hello, name! (b) greet (c) Zoya (d) Hello, Zoya!
  27. 27.Which of these requests is fair? (a) torch → contacts (b) camera app → camera (c) timer → your photos (d) calculator → location
  28. 28.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 30; // start at 30
    line 2: lives = lives + 4; // add 4
    line 3: lives = lives + 6; // add 5
    line 4: show(lives); // show it
    (a) line 3 (b) line 2 (c) line 1
  29. 29.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 46; // start at 46
    line 2: lives = lives + 5; // add 5
    line 3: lives = lives + 5; // add 5
    line 4: lives = lives - 6; // add 6
    line 5: show(lives); // show it
  30. 30.Which of these makes the app harder to use? (a) text that can grow (b) fast-flashing lights (c) big touch targets (d) labels on every icon
  31. 31.👥 A cricket club app has 245 players, 70 coaches and 55 fans as users. How many more players than coaches are there?
  32. 32.Which of these is true of the back button? (a) switches main sections (b) goes to the last screen (c) opens a list of pages (d) shows 3 to 5 icons
  33. 33.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Settings
    [button] Save
    [text box] Phone
    [button] Send
    [switch] Sound
    [button] Next
  34. 34.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Aman", "Kabir", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Riya (c) Hi, Kabir (d) Hi, Aman
  35. 35.Which of these app ideas solves a real problem? (a) a page of random dots (b) an app that just says hi (c) a free study-room finder (d) a blank grey screen
  36. 36.🔢 In a sign-up flow, which comes first: “see the home screen” or “open the app”? (a) see the home screen (b) open the app
  37. 37.📅 An app team plans for 5 days, builds for 4 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
  38. 38.🔐 Which permission does a homework photo scanner really need? (a) contacts (b) the microphone (c) location (d) the camera
  39. 39.🎯 Which app would help this user most: a student who often misses the school bus? (a) a bus tracker (b) a big-text reader (c) a water reminder (d) a homework planner
  40. 40.⚙️ What number does this app show?
    let bill = 130; // typed by the user
    let friends = 5; // typed by the user
    let share = bill / friends;
    show(share);

Answer key

  1. pick an answer
  2. 2.18.3
  3. a text box
  4. 35
  5. 5
  6. True
  7. False
  8. Bronze
  9. a water reminder
  10. 3
  11. 41
  12. 28
  13. has a home-screen icon
  14. Quiz
  15. line 3
  16. a result on screen
  17. “Kids forget homework”
  18. 3
  19. 90
  20. the path through screens
  21. edge cases
  22. 99
  23. colour as the only clue
  24. 2
  25. Badges
  26. Hello, Zoya!
  27. camera app → camera
  28. line 3
  29. 62
  30. fast-flashing lights
  31. 175
  32. goes to the last screen
  33. 2
  34. Hi, Arjun
  35. a free study-room finder
  36. open the app
  37. 12
  38. the camera
  39. a bus tracker
  40. 26

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