← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 625 · 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.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 38; // start at 35
    line 2: lives = lives + 3; // add 3
    line 3: lives = lives + 4; // add 4
    line 4: show(lives); // show it
  2. 2.Which of these is true of a tab bar? (a) goes to the last screen (b) switches main sections (c) hides extra links (d) undoes one move
  3. 3.🔐 Is this permission request fair or too much: voice notes → microphone? (a) too much (b) fair
  4. 4.🧪 What is the actual result of a test? (a) what we hope for (b) the app’s name (c) the test’s number (d) what the app really does
  5. 5.🔢 In a photo-post flow, which comes first: “open the camera screen” or “take the photo”? (a) open the camera screen (b) take the photo
  6. 6.True or false: you write the code at the plan stage. (a) True (b) False
  7. 7.🖼️ In this wireframe (top to bottom), what is right below the search box?
    [ search box ]
    [ menu icon ]
    [ Add button ]
    [ title text ]
    (a) Add button (b) title text (c) menu icon
  8. 8.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. tap the Me tab
    3. open “Help page”
    4. open “Friend list”
    How many times must you tap Back to reach the main screen of this tab?
  9. 9.True or false: a water reminder is the best fit for a gamer who forgets to drink. (a) False (b) True
  10. 10.Which of these is about UI (the look)? (a) how fast a task is done (b) how many taps it takes (c) how users feel after (d) the theme colours
  11. 11.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 5 or more right answers.
    function result(right) {
      if (right >= 5) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(5) → expected Pass
    Test 2: result(4) → expected Try again
    Test 3: result(7) → expected Pass
  12. 12.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) pick a theme colour (c) earn stickers (d) see tasks by day
  13. 13.💾 What does this code show? (Positions start at 0.)
    let friends = ["Kabir", "Meera", "Riya"];
    show(friends[2]);
    (a) Riya (b) Kabir (c) Meera
  14. 14.🔁 Why use a loop to show 100 messages? (a) it hides them (b) less code to write (c) it is slower (d) it uses more lines
  15. 15.♿ Does this help everyone, or make the app harder to use: fast-flashing lights? (a) helps everyone (b) makes it harder
  16. 16.🔢 When you make an app, which comes FIRST? (a) get an idea (b) build the app (c) test the app (d) release it
  17. 17.👥 A school app has 35 students, 70 teachers and 210 parents as users. Which user group is the biggest? (a) students (b) teachers (c) parents
  18. 18.🗒️ Version 1 of a quiz app must be ready in 9 days. How many days are left for extras after the must-haves?
    show a question: 2 days
    check the answer: 1 days
    show the score: 5 days
  19. 19.🐞 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 - 4; // add 4
    line 3: stars = stars + 3; // add 3
    line 4: stars = stars * 2; // double it
    line 5: show(stars); // show it
    (a) line 3 (b) line 2 (c) line 4 (d) line 1
  20. 20.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 45; // start at 42
    line 2: points = points + 2; // add 2
    line 3: points = points - 4; // take away 4
    line 4: points = points * 2; // double it
    line 5: show(points); // show it
  21. 21.🧩 How many buttons does this app screen have?
    [title] Settings
    [button] Back
    [button] Done
    [button] Save
    [text box] Email
  22. 22.🧪 What is the ACTUAL result of Test 2?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(950) → expected 0
    Test 2: delivery(400) → expected 40
    Test 3: delivery(800) → expected 0
  23. 23.🔢 In a food-order flow, which comes FIRST? (a) track the order (b) open the menu (c) check the cart (d) pay for the order
  24. 24.👆 What kind of event is this: a 5-minute alarm ends? (a) a tap event (b) a load event (c) a timer event (d) a text event
  25. 25.🛠️ At which stage do you list what users need? (a) the plan stage (b) the idea stage (c) the release stage (d) the test stage
  26. 26.🔍 Which is the odd one out? (a) share the download link (b) spot a problem to solve (c) talk to possible users (d) list what users need
  27. 27.True or false: a spelling coach is a learning app. (a) False (b) True
  28. 28.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “missing the bus”?
    missing the bus: 6 votes
    no quiet study place: 7 votes
    forgetting birthdays: 17 votes
  29. 29.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    losing water bottles: 14 votes
    no quiet study place: 16 votes
    missing the bus: 23 votes
    (a) missing the bus (b) losing water bottles (c) no quiet study place
  30. 30.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) export to a file (c) show the balance (d) pie-chart colours
  31. 31.⚙️ What number does this app show?
    let bill = 82; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  32. 32.👆 What kind of event is this: one second passes? (a) a timer event (b) a tap event (c) a text event (d) a load event
  33. 33.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Aman"));
    (a) Hello, Aman! (b) Aman (c) greet (d) Hello, name!
  34. 34.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Video”
    2. open “Edit photo”
    3. tap Back
    4. tap the Home tab
    5. tap the Profile tab
    How many times must you tap Back to reach the main screen of this tab?
  35. 35.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Pens → Pay → Menu
    Design B: Home → Size → Item → Menu → Search
  36. 36.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [button] Cancel
    [button] Save
    [switch] Sound
    [slider] Text size
    [text box] Phone
    [text box] Age
  37. 37.True or false: an app updates from the store. (a) False (b) True
  38. 38.🗒️ Version 1 of a water reminder must be ready in 6 days. How many days are left for extras after the must-haves?
    set a reminder time: 1 days
    log a glass of water: 2 days
    see today’s total: 2 days
  39. 39.🔀 What does this PIN rule show?
    let pin = "6918";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  40. 40.👥 A cricket club app has 255 players, 220 coaches and 300 fans as users. Which user group is the biggest? (a) players (b) coaches (c) fans

Answer key

  1. 42
  2. switches main sections
  3. fair
  4. what the app really does
  5. open the camera screen
  6. False
  7. menu icon
  8. 2
  9. True
  10. the theme colours
  11. 3
  12. see tasks by day
  13. Riya
  14. less code to write
  15. makes it harder
  16. get an idea
  17. parents
  18. 1
  19. line 2
  20. 86
  21. 3
  22. 40
  23. open the menu
  24. a timer event
  25. the idea stage
  26. share the download link
  27. True
  28. 11
  29. missing the bus
  30. show the balance
  31. 41
  32. a timer event
  33. Hello, Aman!
  34. 0
  35. 1
  36. 2
  37. True
  38. 1
  39. PIN saved
  40. fans

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