← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 401 · 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.🖼️ In this wireframe (top to bottom), what is right below the menu icon?
    [ big picture ]
    [ menu icon ]
    [ list of items ]
    [ filter buttons ]
    [ search box ]
    (a) list of items (b) search box (c) big picture (d) filter buttons
  2. 2.Which of these is true of a website? (a) has a home-screen icon (b) opens in a web browser (c) comes from an app store (d) updates from the store
  3. 3.🧪 What is the ACTUAL result of Test 2?
    🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 400) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(400) → expected 0
    Test 2: delivery(300) → expected 40
    Test 3: delivery(650) → expected 0
  4. 4.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Zoya"));
    (a) Hello, name! (b) Zoya (c) greet (d) Hello, Zoya!
  5. 5.⚙️ What number does this app show?
    let bill = 142; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  6. 6.Which of these is data? (a) the game-over page (b) tap to Start (c) the home page of an app (d) your friends list
  7. 7.💡 Does an app idea like a page of random dots solve a real problem? (a) Yes (b) No
  8. 8.🧩 How many buttons does this app screen have?
    [title] Settings
    [text box] Phone
    [switch] Remind me
    [button] Back
  9. 9.🔐 Which permission does a walking map really need? (a) location (b) contacts (c) the camera (d) the microphone
  10. 10.🔀 What does this sign-up rule show?
    let age = 9;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  11. 11.🖼️ In this wireframe (top to bottom), what is right below the menu icon?
    [ search box ]
    [ menu icon ]
    [ top bar ]
    [ Save button ]
    [ list of items ]
    (a) search box (b) list of items (c) Save button (d) top bar
  12. 12.🔍 Which is the odd one out? (a) how fast a task is done (b) the button colours (c) whether users get lost (d) how users feel after
  13. 13.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 8 votes
    forgetting homework: 5 votes
    forgetting birthdays: 16 votes
    (a) forgetting homework (b) forgetting birthdays (c) no quiet study place
  14. 14.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Done button: 52 px tall
    Send button: 48 px tall
    Cancel button: 52 px tall
    Back button: 32 px tall
  15. 15.🔀 What does this sign-up rule show?
    let age = 8;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  16. 16.🧭 Which part of navigation sits at the bottom? (a) a tab bar (b) the back button (c) a menu button
  17. 17.💾 Which can hold many values in order? (a) a list (b) a switch (c) a single number (d) a button
  18. 18.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Cart → Menu → Item → Pens → Offers
    Design B: Home → Offers → Item → Search → Cart → Shop → Results
  19. 19.🔀 What does this battery rule show?
    let battery = 11;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  20. 20.👥 A school app has 210 students, 220 teachers and 165 parents as users. How many more teachers than students are there?
  21. 21.Which of these is true of a wireframe? (a) has no real colours (b) looks like the real app (c) uses the final pictures (d) shows the real fonts
  22. 22.🔢 In a quiz-app flow, which comes first: “read a question” or “pick an answer”? (a) pick an answer (b) read a question
  23. 23.Which of these is about UX (the experience)? (a) whether users get lost (b) the screen layout (c) the theme colours (d) the font size
  24. 24.True or false: “fast-flashing lights” makes the app harder to use. (a) False (b) True
  25. 25.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Aman"));
    (a) Hello, name! (b) greet (c) Aman (d) Hello, Aman!
  26. 26.Which of these app ideas solves no real problem? (a) a free study-room finder (b) a lost-and-found board (c) a page of random dots (d) a medicine reminder
  27. 27.🗂️ What kind of app is a racing challenge? (a) a learning app (b) a tool app (c) a game (d) a health app
  28. 28.🔢 In a food-order flow, which comes first: “check the cart” or “pick a dish”? (a) pick a dish (b) check the cart
  29. 29.👆 Code that runs when an event happens is called a ___. (a) headline (b) header (c) hashtag (d) handler
  30. 30.🧭 What does the back button usually do? (a) goes to the last screen (b) deletes the page (c) opens settings (d) closes all apps
  31. 31.🔍 Which is the odd one out? (a) colour as the only clue (b) fast-flashing lights (c) strong colour contrast (d) sudden loud sounds
  32. 32.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(25));
  33. 33.🔁 A loop over a list of 5 items runs its body how many times? (a) 5 (b) 6 (c) 4 (d) 1
  34. 34.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Body text: 14 px
    Footer: 24 px
    Title: 16 px
    (a) Title (b) Footer (c) Body text
  35. 35.True or false: a final design shows where things go. (a) False (b) True
  36. 36.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Add button ]
    [ big picture ]
    [ Save button ]
    [ menu icon ]
    [ filter buttons ]
    [ tab bar ]
    (a) tab bar (b) menu icon (c) big picture (d) filter buttons
  37. 37.💾 What number does this code show?
    let songs = ["Monsoon", "Sunrise", "Ocean", "Kites"];
    songs.push("Rain");
    songs.push("Stars");
    show(songs.length);
  38. 38.🧪 What is the ACTUAL result of Test 3?
    🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
    function price(age) {
      if (age < 8) {
        return 50;
      }
      return 100;
    }
    Test 1: price(12) → expected 100
    Test 2: price(7) → expected 50
    Test 3: price(8) → expected 100
  39. 39.🧪 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(6) → expected Pass
    Test 2: result(7) → expected Pass
    Test 3: result(2) → expected Try again
  40. 40.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(9));

Answer key

  1. list of items
  2. opens in a web browser
  3. 40
  4. Hello, Zoya!
  5. 71
  6. your friends list
  7. No
  8. 1
  9. location
  10. Ask a parent
  11. top bar
  12. the button colours
  13. forgetting birthdays
  14. 3
  15. Ask a parent
  16. a tab bar
  17. a list
  18. 5
  19. Low battery
  20. 10
  21. has no real colours
  22. read a question
  23. whether users get lost
  24. True
  25. Hello, Aman!
  26. a page of random dots
  27. a game
  28. pick a dish
  29. handler
  30. goes to the last screen
  31. strong colour contrast
  32. 50
  33. 5
  34. Body text
  35. False
  36. tab bar
  37. 6
  38. 100
  39. 3
  40. 18

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