← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 913 · 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 can hold many values in order? (a) a switch (b) a single number (c) a list (d) a button
  2. 2.🛠️ At which stage do you pick the features? (a) the idea stage (b) the release stage (c) the plan stage (d) the test stage
  3. 3.Which of these is true of the back button? (a) goes to the last screen (b) switches main sections (c) opens a list of pages (d) hides extra links
  4. 4.🗒️ The first small, working version of an app is often called an ___. (a) MVP (b) FAQ (c) CPU (d) URL
  5. 5.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ filter buttons ]
    [ top bar ]
    [ list of items ]
    [ tab bar ]
    [ Add button ]
    [ search box ]
    (a) search box (b) list of items (c) tab bar (d) top bar
  6. 6.💾 What does this code show? (Positions start at 0.)
    let friends = ["Arjun", "Aman", "Riya", "Zoya", "Kabir"];
    show(friends[4]);
    (a) Kabir (b) Aman (c) Arjun (d) Riya
  7. 7.💾 What number does this code show?
    let songs = ["Ocean", "Rain", "Sunrise"];
    songs.push("Monsoon");
    songs.push("Stars");
    show(songs.length);
  8. 8.💡 Does an app idea like a free study-room finder solve a real problem? (a) Yes (b) No
  9. 9.🔢 After an app is released, which comes first: “read user reviews” or “list what to fix”? (a) read user reviews (b) list what to fix
  10. 10.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Sign Up
    [button] Done
    [button] Start
    [slider] Text size
    [text box] Name
    [switch] Dark mode
    [button] Save
  11. 11.True or false: taking a photo is an output. (a) False (b) True
  12. 12.💾 Where should the app save a shared to-do list: on the phone or in the cloud? (a) on the phone (b) in the cloud
  13. 13.📱 Which one has a web address: an app or a website? (a) an app (b) a website
  14. 14.💾 What number does this code show?
    let coins = 4;
    coins = coins - 2;
    coins = coins + 2;
    show(coins);
  15. 15.🧪 Who else should try an app before release? (a) the app icon (b) nobody (c) real users (d) only the coder
  16. 16.🐞 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 * 3; // double it
    line 3: coins = coins * 2; // double it
    line 4: show(coins); // show it
  17. 17.True or false: an app has a home-screen icon. (a) False (b) True
  18. 18.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(20, 3));
  19. 19.👥 A library app has 135 readers, 110 librarians and 295 volunteers as users. Which user group is the biggest? (a) readers (b) volunteers (c) librarians
  20. 20.🖼️ In this wireframe (top to bottom), what is right below the list of items?
    [ list of items ]
    [ filter buttons ]
    [ top bar ]
    [ Save button ]
    (a) filter buttons (b) top bar (c) Save button
  21. 21.💾 What does this code show? (Positions start at 0.)
    let songs = ["Sunrise", "Rain", "Monsoon", "Stars", "Kites"];
    show(songs[3]);
    (a) Rain (b) Monsoon (c) Sunrise (d) Stars
  22. 22.🔍 Which is the odd one out? (a) a step counter (b) a water reminder (c) a sleep tracker (d) a times-table quiz
  23. 23.🔍 Which is the odd one out? (a) a pop-up message (b) a result on screen (c) typing your age (d) a buzz (vibration)
  24. 24.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) share tasks to friends (b) see tasks by day (c) set a due date (d) add a homework task
  25. 25.🔀 When does the else part run? (a) when the test is true (b) never (c) when the test is false (d) always
  26. 26.🧪 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(650) → expected 0
    Test 2: delivery(350) → expected 40
    Test 3: delivery(600) → expected 0
  27. 27.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Next button: 68 px tall
    Send button: 60 px tall
    Save button: 24 px tall
    (a) Send (b) Save (c) Next
  28. 28.🔁 What number does this code show?
    let marks = [14, 9, 7, 18, 15];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  29. 29.🧰 How do you run (call) a function called greet? (a) greet() (b) #greet (c) greet[] (d) run greet
  30. 30.💾 pop() takes off the last item. What does this code show?
    let notes = ["Sports", "Hindi", "Art", "Maths", "Music"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Art (b) Sports (c) Hindi (d) Maths
  31. 31.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a wireframe (b) a final design
  32. 32.🔘 Our rule: buttons are at least 48 px tall. The Back button is 24 px tall. How many px taller must it be?
  33. 33.Which of these requests asks for too much? (a) map app → location (b) camera app → camera (c) calling app → contacts (d) calculator → location
  34. 34.🔀 What is a user flow? (a) a colour theme (b) the path through screens (c) a type of font (d) a charging cable
  35. 35.True or false: “big touch targets” makes the app harder to use. (a) False (b) True
  36. 36.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 49; // start at 48
    line 2: lives = lives + 4; // add 4
    line 3: lives = lives + 2; // add 2
    line 4: show(lives); // show it
    (a) line 2 (b) line 1 (c) line 3
  37. 37.🔀 What does >= mean? (a) smaller or equal (b) greater than or equal (c) less than (d) not equal
  38. 38.🛠️ At which stage do you list what users need? (a) the test stage (b) the idea stage (c) the plan stage (d) the release stage
  39. 39.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Feed tab
    2. tap the Feed tab
    3. open “Match report”
    How many times must you tap Back to reach the main screen of this tab?
  40. 40.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Arjun"));
    (a) greet (b) Hello, Arjun! (c) Hello, name! (d) Arjun

Answer key

  1. a list
  2. the plan stage
  3. goes to the last screen
  4. MVP
  5. search box
  6. Kabir
  7. 5
  8. Yes
  9. read user reviews
  10. 3
  11. False
  12. in the cloud
  13. a website
  14. 4
  15. real users
  16. 132
  17. True
  18. 60
  19. volunteers
  20. filter buttons
  21. Stars
  22. a times-table quiz
  23. typing your age
  24. share tasks to friends
  25. when the test is false
  26. 40
  27. Save
  28. 18
  29. greet()
  30. Maths
  31. a wireframe
  32. 24
  33. calculator → location
  34. the path through screens
  35. False
  36. line 1
  37. greater than or equal
  38. the idea stage
  39. 1
  40. Hello, Arjun!

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