ISE · Introduction to Software Engineering

Chapter 11 · Emerging Trends in Software Engineering

10 questions

The answers are not shown on this page. Use the questions to revise, then check yourself with the self-check quiz at the end of the slide deck.
  1. Question 1

    In this chapter, the hype cycle is used as…

    • A precise forecast of when a technology becomes mature
    • A thinking tool: expectations often run ahead of evidence, so ask where a claim really stands
    • Proof that every technology eventually reaches a plateau of productivity
    • A ranking of technologies by market share
  2. Question 2

    An AI assistant wrote <code>if (count <= capacity) add();</code> for an event with capacity 2. Which test exposes the bug?

    • Register one student and expect success
    • Register three students and expect the third to be rejected
    • Register the same student twice and expect an error
    • Check that capacity() returns 2
  3. Question 3

    Which evidence best justifies accepting AI-generated code in a pull request?

    • The assistant said the code is correct
    • The code compiles without warnings
    • The author can explain every line, and new tests fail without the change and pass with it
    • The code is shorter than a hand-written version
  4. Question 4

    A natural-language search returns <code>{"category": "Robotics"}</code>, but Club Hub has no such category. What should the app do?

    • Create the category automatically
    • Pass the filter to the search unchanged
    • Reject the output in validation and fall back to the normal filter form
    • Retry until the model returns something
  5. Question 5

    Which part of Club Hub is the worst fit for a no-code tool?

    • A one-off workshop sign-up form
    • An admin dashboard built from the exported monthly CSV
    • The registration rules (capacity, duplicates, 24-hour cancellation) that need unit tests and version control
    • A poster announcing a club event
  6. Question 6

    Which is a typical drawback of serverless functions?

    • You must patch the operating system of the servers yourself
    • Cold starts, per-call limits and provider-specific APIs
    • They cannot handle more than one request at a time
    • They always cost more than a dedicated server
  7. Question 7

    A team of five students with one release per sprint wants a clean structure. Which architecture fits best?

    • Microservices, one service per student
    • A modular monolith with clear module interfaces
    • One serverless function per C++ class
    • A monolith with no internal boundaries
  8. Question 8

    What is the main use of an SBOM when a new vulnerability is announced?

    • It encrypts the release so attackers cannot read it
    • It lists components and versions, so you can quickly find which products contain the affected one
    • It proves that the code has no bugs
    • It replaces the licence file
  9. Question 9

    What is wrong with <code>const Event& first() { std::vector<Event> all = load(); return all.front(); }</code>?

    • Nothing, references are always safe
    • It returns a dangling reference: <code>all</code> is destroyed when the function returns
    • front() is bounds-checked, so it always throws
    • It leaks the vector
  10. Question 10

    Criteria weights are 50 %, 30 % and 20 %; an option scores 4, 2 and 5. What is its weighted score?

    • 3.0
    • 3.6
    • 3.67
    • 11