← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 416 · 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.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) share your streak (b) water animations (c) custom alert sounds (d) set a reminder time
  2. 2.🧩 How many buttons does this app screen have?
    [title] New Note
    [text box] Name
    [button] Help
    [switch] Show hints
    [button] Send
    [text box] Notes
    [slider] Text size
    [button] Next
  3. 3.🧰 In function tip(bill), what is bill? (a) a screen (b) a parameter (c) an event (d) a loop
  4. 4.✏️ Why draw a wireframe before coding? (a) it saves data (b) changes are quick (c) it adds colours (d) it runs the app
  5. 5.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(1));
  6. 6.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a page of random dots (c) a library due-date alert (d) a blank grey screen
  7. 7.True or false: a speak-to-type notes app needs the microphone. (a) True (b) False
  8. 8.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [button] Start
    [text box] Notes
    (a) Start (b) Notes
  9. 9.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) write a caption (b) take the photo (c) post the photo (d) add a filter
  10. 10.🔍 Which is the odd one out? (a) sorting the scores (b) typing your age (c) working out a tip (d) adding up a bill
  11. 11.Which of these is data? (a) the settings page (b) tap to Start (c) the game-over page (d) your saved notes
  12. 12.🔀 Which badge does this quiz app show?
    let marks = 32;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Silver (c) Bronze
  13. 13.💾 What number does this code show?
    let notes = ["Music", "Maths"];
    notes.push("Science");
    show(notes.length);
  14. 14.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 100; // typed by the user
    line 2: let qty = 4; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 4 (b) line 1 (c) line 2 (d) line 3
  15. 15.Which colour pair is hard to read? (a) light grey on white (b) white on dark green (c) dark blue on white (d) black on pale grey
  16. 16.Which of these fits saving in the cloud? (a) your last game level (b) the sound on/off setting (c) photos on two devices (d) a draft you are typing
  17. 17.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) show arrival time (b) pick your bus stop (c) see where the bus is (d) change the bus icon
  18. 18.🔍 Which is the odd one out? (a) fast-flashing lights (b) icons with no labels (c) captions on videos (d) colour as the only clue
  19. 19.🧩 In an app, what is tap to Send? (a) a button (b) data (c) an input (d) a screen
  20. 20.💾 Which works with no internet at all? (a) data saved on the phone (b) a shared chat (c) a cloud backup (d) a cloud leaderboard
  21. 21.True or false: a website has a home-screen icon. (a) False (b) True
  22. 22.True or false: a bus tracker is the best fit for a parent waiting at the bus stop. (a) True (b) False
  23. 23.💾 What number does this code show?
    let notes = ["Sports", "Science"];
    notes.push("Hindi");
    show(notes.length);
  24. 24.🔁 What number does this code show?
    let steps = [16, 41, 81, 39, 25];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  25. 25.🗒️ Version 1 of a water reminder must be ready in 9 days. How many days are left for extras after the must-haves?
    set a reminder time: 1 days
    log a glass of water: 3 days
    see today’s total: 5 days
  26. 26.🔢 When you make an app, which comes first: “get an idea” or “test the app”? (a) test the app (b) get an idea
  27. 27.Which of these is about UI (the look)? (a) whether users get lost (b) how many taps it takes (c) how easy sign-up is (d) the icon shapes
  28. 28.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Score card”
    2. open “Badges”
    3. open “Video”
    Which screen are you on now?
    (a) Score card (b) Home (c) Badges (d) Video
  29. 29.Which of these is an input? (a) a result on screen (b) tapping a button (c) adding up a bill (d) working out a tip
  30. 30.⚙️ What number does this app show?
    let price = 300; // typed by the user
    let off = 40; // typed by the user
    let pay = price - off;
    show(pay);
  31. 31.Which of these happens at the test stage? (a) sketch the screens (b) spot a problem to solve (c) try every button (d) write the code
  32. 32.💾 What number does this code show?
    let songs = ["Stars", "Ocean"];
    songs.push("Kites");
    songs.push("Monsoon");
    show(songs.length);
  33. 33.Which colour pair is hard to read? (a) white on black (b) dark blue on white (c) black on pale grey (d) yellow on white
  34. 34.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] New Note
    [text box] Notes
    [button] Send
    [slider] Volume
  35. 35.🧰 How do you run (call) a function called greet? (a) greet[] (b) run greet (c) #greet (d) greet()
  36. 36.Which of these is true of the back button? (a) shows 3 to 5 icons (b) sits at the bottom (c) goes to the last screen (d) switches main sections
  37. 37.🐞 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 32
    line 2: coins = coins * 2; // double it
    line 3: coins = coins * 2; // double it
    line 4: show(coins); // show it
  38. 38.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 33; // start at 33
    line 2: score = score - 4; // add 4
    line 3: score = score + 3; // add 3
    line 4: score = score * 2; // double it
    line 5: show(score); // show it
    (a) line 2 (b) line 3 (c) line 1 (d) line 4
  39. 39.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) rate the driver (b) show arrival time (c) pick your bus stop (d) see where the bus is
  40. 40.📱 Which one comes from an app store: an app or a website? (a) an app (b) a website

Answer key

  1. set a reminder time
  2. 3
  3. a parameter
  4. changes are quick
  5. 50
  6. a library due-date alert
  7. True
  8. Start
  9. take the photo
  10. typing your age
  11. your saved notes
  12. Bronze
  13. 3
  14. line 3
  15. light grey on white
  16. photos on two devices
  17. change the bus icon
  18. captions on videos
  19. a button
  20. data saved on the phone
  21. False
  22. True
  23. 3
  24. 1
  25. 0
  26. get an idea
  27. the icon shapes
  28. Video
  29. tapping a button
  30. 260
  31. try every button
  32. 4
  33. yellow on white
  34. 2
  35. greet()
  36. goes to the last screen
  37. 128
  38. line 2
  39. rate the driver
  40. an app

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