← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 395 · 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.Which of these requests asks for too much? (a) timer → your photos (b) calling app → contacts (c) map app → location (d) camera app → camera
  2. 2.💾 pop() takes off the last item. What does this code show?
    let notes = ["Hindi", "Sports", "Maths"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Sports (b) Maths (c) Hindi
  3. 3.💾 What number does this code show?
    let songs = ["Monsoon", "Sunrise"];
    songs.push("Stars");
    songs.push("Kites");
    show(songs.length);
  4. 4.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [button] Done
    [slider] Text size
    [text box] Email
    [text box] Notes
    [button] Help
    [switch] Dark mode
  5. 5.⚙️ What number does this app show?
    let price = 290; // typed by the user
    let off = 30; // typed by the user
    let pay = price - off;
    show(pay);
  6. 6.🐞 A comment in code (after //) is for ___. (a) people reading the code (b) the battery (c) the app store (d) the phone screen
  7. 7.Which of these is true of a wireframe? (a) uses the final pictures (b) shows where things go (c) looks like the real app (d) has the real colours
  8. 8.Which of these is a feature? (a) “Small text is hard” (b) “What should I cook?” (c) “I forget my homework” (d) a share button
  9. 9.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 39; // start at 39
    line 2: coins = coins + 2; // double it
    line 3: coins = coins * 2; // double it
    line 4: show(coins); // show it
  10. 10.🎯 Which app would help this user most: a runner who forgets to sip water? (a) a homework planner (b) a big-text reader (c) a recipe finder (d) a water reminder
  11. 11.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 43; // start at 43
    line 2: lives = lives + 6; // add 4
    line 3: lives = lives - 4; // take away 4
    line 4: show(lives); // show it
    (a) line 3 (b) line 2 (c) line 1
  12. 12.Which of these is data? (a) the home page of an app (b) tap to go Next (c) today’s step count (d) tap to Save
  13. 13.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Footer: 19 px
    Menu: 22 px
    Title: 11 px
  14. 14.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(0));
  15. 15.📅 An app team plans for 3 days, builds for 7 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
  16. 16.🔢 In a quiz-app flow, what comes right after “tap “Start quiz””? (a) see if it is right (b) read a question (c) see the final score (d) pick an answer
  17. 17.Which of these app ideas solves no real problem? (a) a lost-and-found board (b) a library due-date alert (c) a button with no action (d) a medicine reminder
  18. 18.True or false: photos on two devices fits saving on the phone. (a) True (b) False
  19. 19.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Add button ]
    [ menu icon ]
    [ filter buttons ]
    [ search box ]
    [ Save button ]
    (a) menu icon (b) search box (c) Add button (d) Save button
  20. 20.⚙️ What number does this app show?
    let km = 12; // typed by the user
    let metres = km * 1000;
    show(metres);
  21. 21.🔁 What does a loop do? (a) draws icons (b) deletes code (c) repeats code (d) saves photos
  22. 22.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [button] Send
    [text box] Phone
    [text box] Subject
  23. 23.🗒️ In MVP, the M stands for ___. (a) music (b) mobile (c) maximum (d) minimum
  24. 24.🔍 Which is the odd one out? (a) the screen layout (b) how many taps it takes (c) the theme colours (d) the button colours
  25. 25.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Arjun", "Zoya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Zoya (c) Hi, Kabir
  26. 26.True or false: a unit converter is a tool app. (a) False (b) True
  27. 27.🛠️ At which stage do you write the code? (a) the build stage (b) the release stage (c) the test stage (d) the idea stage
  28. 28.📱 Which one opens from a link: an app or a website? (a) a website (b) an app
  29. 29.🧩 Which input is best for typing your name? (a) a slider (b) a picture (c) a switch (d) a text box
  30. 30.🧩 Which of these is a button on this screen?
    [title] Settings
    [text box] Due date
    [button] Save
    [text box] Age
    [text box] Subject
    (a) Subject (b) Age (c) Due date (d) Save
  31. 31.True or false: a website has a home-screen icon. (a) False (b) True
  32. 32.Which of these is true of an app? (a) is installed on a phone (b) needs no installing (c) opens from a link (d) has a web address
  33. 33.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(60, 3));
  34. 34.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Edit photo”
    2. tap the Settings tab
    3. tap the Chat tab
    4. tap the Chat tab
    5. open “Help page”
    Which screen are you on now?
    (a) Chat (b) Feed (c) Help page (d) Edit photo
  35. 35.🛠️ At which stage do you share the download link? (a) the idea stage (b) the build stage (c) the release stage (d) the plan stage
  36. 36.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a homework planner (b) a big-text reader (c) a recipe finder (d) a bus tracker
  37. 37.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting homework: 3 votes
    losing water bottles: 17 votes
    forgetting birthdays: 21 votes
  38. 38.🔍 Which is the odd one out? (a) a racing challenge (b) a torch (c) a cricket run chase (d) a puzzle with levels
  39. 39.🔢 In a photo-post flow, which comes first: “take the photo” or “write a caption”? (a) write a caption (b) take the photo
  40. 40.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age <= 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(9) → expected 50
    Test 2: price(13) → expected 100
    Test 3: price(14) → expected 100

Answer key

  1. timer → your photos
  2. Sports
  3. 4
  4. 4
  5. 260
  6. people reading the code
  7. shows where things go
  8. a share button
  9. 156
  10. a water reminder
  11. line 2
  12. today’s step count
  13. 1
  14. 30
  15. 12
  16. read a question
  17. a button with no action
  18. False
  19. Save button
  20. 12000
  21. repeats code
  22. 2
  23. minimum
  24. how many taps it takes
  25. Hi, Zoya
  26. True
  27. the build stage
  28. a website
  29. a text box
  30. Save
  31. False
  32. is installed on a phone
  33. 180
  34. Help page
  35. the release stage
  36. a homework planner
  37. 41
  38. a torch
  39. take the photo
  40. 2

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