← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 319 · 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.✏️ A box with a cross in a wireframe usually means ___. (a) a closed app (b) a picture goes here (c) delete this (d) an error
  2. 2.💾 What number does this code show?
    let notes = ["Hindi", "Sports"];
    notes.push("Music");
    show(notes.length);
  3. 3.👆 The user types Zoya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hello, " + nameBox.text + "!";
    };
    (a) Zoya (b) Hello, Zoya! (c) Hello, nameBox.text! (d) Hello!
  4. 4.🧪 Who else should try an app before release? (a) nobody (b) the app icon (c) only the coder (d) real users
  5. 5.♿ Does this help everyone, or make the app harder to use: fast-flashing lights? (a) helps everyone (b) makes it harder
  6. 6.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
  7. 7.🔐 Is this permission request fair or too much: camera app → camera? (a) too much (b) fair
  8. 8.📅 An app team plans for 4 days, builds for 4 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
  9. 9.Which of these app ideas solves no real problem? (a) a medicine reminder (b) a button with no action (c) a lost-and-found board (d) a bill splitter
  10. 10.💡 A good app idea starts with ___. (a) a cool logo (b) a long name (c) a problem to solve (d) many colours
  11. 11.🎯 What is the best first step to learn what users need? (a) guess on your own (b) ask and watch users (c) pick the colours (d) write the code
  12. 12.Which of these is true of a tab bar? (a) hides extra links (b) opens a list of pages (c) goes to the last screen (d) sits at the bottom
  13. 13.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ list of items ]
    [ filter buttons ]
    [ top bar ]
    [ search box ]
    [ Add button ]
    (a) top bar (b) Add button (c) list of items (d) filter buttons
  14. 14.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Aman"));
    (a) Welcome, name! (b) Aman (c) Welcome, Aman! (d) greet
  15. 15.💡 Which app idea solves this problem: bottles go missing at school? (a) a bill splitter (b) a lost-and-found board (c) a medicine reminder (d) a homework planner
  16. 16.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Meera", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Riya (c) Hi, Kabir
  17. 17.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ filter buttons ]
    [ menu icon ]
    [ list of items ]
    [ search box ]
    [ title text ]
    [ tab bar ]
    (a) search box (b) tab bar (c) filter buttons (d) title text
  18. 18.🔀 With if / else if / else, how many parts run? (a) two (b) none (c) only one (d) all of them
  19. 19.Which of these happens at the idea stage? (a) write the code (b) pick the features (c) write down the bugs (d) list what users need
  20. 20.🎨 UI stands for user ___. (a) internet (b) idea (c) input (d) interface
  21. 21.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [slider] Volume
    [text box] City
    [button] Send
    [button] Next
    [text box] Due date
    [text box] Email
  22. 22.🔁 What number does this code show?
    let runs = [20, 3, 17, 18];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  23. 23.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Help page”
    2. tap Back
    3. open “Match report”
    4. tap Back
    5. tap the Settings tab
    Which screen are you on now?
    (a) Match report (b) Feed (c) Help page (d) Settings
  24. 24.True or false: a party-invite app for friends needs your contacts. (a) False (b) True
  25. 25.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) share your streak (c) log a glass of water (d) see today’s total
  26. 26.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right > 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(9) → expected Pass
    Test 2: result(7) → expected Pass
    Test 3: result(4) → expected Try again
    (a) Test 1 (b) Test 3 (c) Test 2
  27. 27.Which of these app ideas solves no real problem? (a) a bill splitter (b) a blank grey screen (c) a library due-date alert (d) a lost-and-found board
  28. 28.🔢 After an app is released, which comes FIRST? (a) test it again (b) read user reviews (c) release an update (d) fix and improve
  29. 29.🔐 Is this permission request fair or too much: calculator → location? (a) fair (b) too much
  30. 30.🔍 Which is the odd one out? (a) how easy sign-up is (b) the font size (c) how many taps it takes (d) how fast a task is done
  31. 31.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 46; // start at 46
    line 2: score = score * 2; // double it
    line 3: score = score * 3; // double it
    line 4: show(score); // show it
    (a) line 1 (b) line 2 (c) line 3
  32. 32.True or false: a class leaderboard fits saving on the phone. (a) True (b) False
  33. 33.📱 The word “app” is short for ___. (a) apparatus (b) application (c) appetite (d) appointment
  34. 34.🔁 What number does this code show?
    let steps = [28, 51, 42, 80];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  35. 35.🔍 Which is the odd one out? (a) how many taps it takes (b) how users feel after (c) how easy sign-up is (d) the icon shapes
  36. 36.🧰 Why write a function? (a) to slow the app (b) to make code longer (c) to reuse code (d) to hide errors
  37. 37.💾 In most code, the first item of a list is at position ___. (a) 10 (b) 1 (c) 2 (d) 0
  38. 38.🐞 What is a bug? (a) a new feature (b) a nice icon (c) a mistake in the code (d) a fast phone
  39. 39.📱 Which one opens in a web browser: an app or a website? (a) an app (b) a website
  40. 40.💾 What does this code show? (Positions start at 0.)
    let friends = ["Meera", "Riya", "Kabir"];
    show(friends[0]);
    (a) Riya (b) Meera (c) Kabir

Answer key

  1. a picture goes here
  2. 3
  3. Hello, Zoya!
  4. real users
  5. makes it harder
  6. No
  7. fair
  8. 10
  9. a button with no action
  10. a problem to solve
  11. ask and watch users
  12. sits at the bottom
  13. Add button
  14. Welcome, Aman!
  15. a lost-and-found board
  16. Hi, Kabir
  17. tab bar
  18. only one
  19. list what users need
  20. interface
  21. 2
  22. 58
  23. Settings
  24. True
  25. share your streak
  26. Test 2
  27. a blank grey screen
  28. read user reviews
  29. too much
  30. the font size
  31. line 3
  32. False
  33. application
  34. 2
  35. the icon shapes
  36. to reuse code
  37. 0
  38. a mistake in the code
  39. a website
  40. Meera

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