← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 851 · 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 is the LAST line this code shows?
    let names = ["Arjun", "Meera", "Riya", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Kabir (c) Hi, Meera (d) Hi, Arjun
  2. 2.🎯 Which app would help this user most: a student who often misses the school bus? (a) a recipe finder (b) a big-text reader (c) a bus tracker (d) a homework planner
  3. 3.True or false: typing your age is processing. (a) False (b) True
  4. 4.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 37; // start at 37
    line 2: lives = lives * 3; // double it
    line 3: lives = lives - 5; // take away 5
    line 4: show(lives); // show it
    (a) line 1 (b) line 3 (c) line 2
  5. 5.Which of these is an input? (a) your friends list (b) a switch for dark mode (c) tap to Save (d) the game-over page
  6. 6.🔁 What is the LAST line this code shows?
    let names = ["Zoya", "Meera", "Aman"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Meera (c) Hi, Aman
  7. 7.👆 Which of these is an event? (a) the user taps a button (b) a list of names (c) the icon colour (d) the font size
  8. 8.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Shop → Results
    Design B: Home → Item → Confirm → Address → Offers → Results
  9. 9.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Cart → Size → Menu → Pens → Item
    Design B: Home → Menu → Shop
    (a) Design B (b) Design A
  10. 10.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Menu: 20 px
    Label: 18 px
    Title: 15 px
    Caption: 16 px
  11. 11.👆 The user taps the button 8 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  12. 12.Which of these is data? (a) tap to Send (b) a slider for volume (c) the game-over page (d) your friends list
  13. 13.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) show the balance (b) add money received (c) add money spent (d) export to a file
  14. 14.👥 A school app has 265 students, 190 teachers and 150 parents as users. How many more students than parents are there?
  15. 15.True or false: a times-table quiz is a tool app. (a) True (b) False
  16. 16.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) type name and email (b) open the app (c) see the home screen (d) tap “Sign up”
  17. 17.Which of these is an input? (a) a buzz (vibration) (b) speaking a command (c) a beep sound (d) checking a password
  18. 18.🔀 What does this battery rule show?
    let battery = 66;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  19. 19.⚙️ In an app, is a beep sound an input, processing or an output? (a) processing (b) input (c) output
  20. 20.🎨 A beautiful app that confuses everyone has ___. (a) perfect UX (b) good UX but poor UI (c) no UI at all (d) good UI but poor UX
  21. 21.🔍 Which is the odd one out? (a) draw the user flow (b) pick the features (c) sketch the screens (d) put it on an app store
  22. 22.⚙️ What number does this app show?
    let price = 560; // typed by the user
    let off = 30; // typed by the user
    let pay = price - off;
    show(pay);
  23. 23.🔀 What does this sign-up rule show?
    let age = 10;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  24. 24.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 33; // start at 33
    line 2: coins = coins + 4; // add 4
    line 3: coins = coins + 2; // double it
    line 4: coins = coins - 4; // take away 4
    line 5: show(coins); // show it
  25. 25.🔍 Which is the odd one out? (a) taking a photo (b) sorting the scores (c) tapping a button (d) speaking a command
  26. 26.📅 An app team plans for 3 days, builds for 4 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
  27. 27.True or false: a date picker is an input. (a) False (b) True
  28. 28.🚀 Which version is newer: 4.8.2 or 4.8.16? (a) 4.8.2 (b) 4.8.16
  29. 29.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Search tab
    2. tap the Search tab
    3. open “Edit photo”
    4. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  30. 30.🐞 A comment in code (after //) is for ___. (a) people reading the code (b) the battery (c) the phone screen (d) the app store
  31. 31.🧪 What is the ACTUAL result of Test 1?
    🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 700) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(900) → expected 0
    Test 2: delivery(950) → expected 0
    Test 3: delivery(500) → expected 40
  32. 32.Which of these happens at the build stage? (a) add the buttons (b) sketch the screens (c) share the download link (d) talk to possible users
  33. 33.🧭 Where is a tab bar usually placed in a phone app? (a) inside a button (b) in the middle (c) nowhere (d) at the bottom
  34. 34.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Caption: 22 px
    Footer: 21 px
    Menu: 21 px
    Body text: 23 px
    Title: 23 px
  35. 35.🖼️ In this wireframe (top to bottom), what is right below the big picture?
    [ big picture ]
    [ filter buttons ]
    [ Save button ]
    [ title text ]
    (a) title text (b) Save button (c) filter buttons
  36. 36.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) URL (c) CPU (d) MVP
  37. 37.True or false: a water reminder is a health app. (a) False (b) True
  38. 38.🔍 Which is the odd one out? (a) taking a photo (b) a result on screen (c) a beep sound (d) a pop-up message
  39. 39.🔢 After an app is released, which comes LAST? (a) read user reviews (b) release an update (c) fix and improve (d) test it again
  40. 40.🔍 Which is the odd one out? (a) a unit converter (b) a torch (c) a puzzle with levels (d) an alarm clock

Answer key

  1. Hi, Kabir
  2. a bus tracker
  3. False
  4. line 2
  5. a switch for dark mode
  6. Hi, Aman
  7. the user taps a button
  8. 3
  9. Design B
  10. 1
  11. 4
  12. your friends list
  13. export to a file
  14. 115
  15. False
  16. see the home screen
  17. speaking a command
  18. Battery OK
  19. output
  20. good UI but poor UX
  21. put it on an app store
  22. 530
  23. Ask a parent
  24. 70
  25. sorting the scores
  26. 10
  27. True
  28. 4.8.16
  29. 0
  30. people reading the code
  31. 0
  32. add the buttons
  33. at the bottom
  34. 0
  35. filter buttons
  36. MVP
  37. True
  38. taking a photo
  39. release an update
  40. a puzzle with levels

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