1. Home
  2. Explore
  3. Computer Science
  4. Introduction to Software Engineering

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Introduction to Software Engineering

  • 76Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Software Engineering
The standardized, structured, and thorough approach to writing code and managing development from start to finish is called
.

76 questions

  1. 1
    The standardized, structured, and thorough approach to writing code and managing development from start to finish is called
    _____
    .
    Hint

    Think of the discipline that distinguishes professional development from hobbyist programming.

    Answer

    software engineering

  2. 2
    One primary goal of software engineering is to ensure that the team builds the
    _____
    product requested by the customer.
    Hint

    This concerns whether the delivered product actually satisfies the customer's needs.

    Answer

    correct

  3. 3
    Coding conventions and styles become especially important when code must be maintained over months or years or developed by a
    _____
    .
    Hint

    Think about multiple developers working on the same codebase.

    Answer

    team

  4. 4
    Software engineering seeks to ensure that code is correct, efficient, and
    _____
    .
    Hint

    This quality protects software and its data from unauthorized or harmful behavior.

    Answer

    secure

  5. 5
    Software engineering begins before development by first understanding what the
    _____
    wants.
    Hint

    This is the person or organization for whom the software is being built.

    Answer

    customer

  6. 6
    The professional activity of identifying and collecting what a customer needs from a system is called
    _____
    .
    Hint

    It occurs before development and focuses on discovering desired capabilities.

    Answer

    requirements gathering

  7. 7
    Requirements gathering is important because developing the wrong product wastes a large amount of
    _____
    .
    Hint

    Consider the main resource lost when an unusable product is created.

    Answer

    time

  8. 8
    A professional software development process generally includes requirements gathering, planning, development, and
    _____
    .
    Hint

    This final phase checks whether the software behaves as expected.

    Answer

    testing

  9. 9
    Simply asking customers to provide a requirements list can be inadequate because the list may be long and written by
    _____
    .
    Hint

    These people may not know how to express requirements in technically useful terms.

    Answer

    non-programmers

  10. 10
    Structured conversational techniques for gathering requirements include surveys, interviews, and
    _____
    .
    Hint

    This method gathers information from a guided discussion among several users or stakeholders.

    Answer

    focus groups

  11. 11
    When an existing software suite is available, developers can gather requirements by
    _____
    users interact with it.
    Hint

    The developer watches real users perform their normal tasks.

    Answer

    observing

  12. 12
    The difficulties or frustrations users experience while using existing software are called their
    _____
    .
    Hint

    These are problems that a new system should address.

    Answer

    pain points

  13. 13
    A requirement describing what the system must do is a
    _____
    requirement.
    Hint

    It specifies a system function or behavior.

    Answer

    functional

  14. 14
    A requirement describing a system characteristic, such as performance, is a
    _____
    requirement.
    Hint

    It describes how the system performs a task rather than the task itself.

    Answer

    non-functional

  15. 15
    A prototype is often
    _____
    because its purpose is to demonstrate layout and behavior rather than provide a finished implementation.
    Hint

    It may consist of something as simple as presentation slides.

    Answer

    non-functional

  16. 16
    Developers repeatedly revise a prototype with the customer until the user's needs are being met and the
    _____
    are certain.
    Hint

    These describe what the completed system must provide.

    Answer

    requirements

  17. 17
    A use case describes a real usage scenario from the point of view of the
    _____
    rather than the coder.
    Hint

    The scenario focuses on the person interacting with the system.

    Answer

    user

  18. 18
    The main success scenario of a use case is normally expressed as a series of
    _____
    .
    Hint

    These describe the interaction from beginning to successful completion.

    Answer

    steps

  19. 19
    Use case descriptions avoid technical jargon and instead describe what the user sees and how the user
    _____
    with the system.
    Hint

    Think about the user's actions through the interface.

    Answer

    interacts

  20. 20
    In the sales-system example, adding a sale requires the user to provide the sale's name and
    _____
    .
    Hint

    This value indicates how many items were sold.

    Answer

    quantity

  21. 21
    If a user enters a quantity less than 1 in the sales example, the system displays an error and returns to
    _____
    .
    Hint

    The system goes back to the step where the user supplies or corrects the information.

    Answer

    step 2

  22. 22
    The conditions that must be true before a use-case scenario begins are called
    _____
    .
    Hint

    They come before the scenario starts.

    Answer

    preconditions

  23. 23
    The results or conditions that exist at the end of a use-case scenario are called
    _____
    .
    Hint

    They describe the outcome after the interaction finishes.

    Answer

    postconditions

  24. 24
    Compared with use cases, user stories are generally
    _____
    detailed.
    Hint

    They summarize the user's goal rather than listing an extensive interaction sequence.

    Answer

    less

  25. 25
    A user story should identify who the user is, what the user wants to do, and
    _____
    the user wants to do it.
    Hint

    This third element explains the motivation or benefit.

    Answer

    why

  26. 26
    Planning helps developers create a roadmap for how the parts of a large project will interact and how development will be
    _____
    .
    Hint

    It concerns the strategy for carrying out the work.

    Answer

    approached

  27. 27
    Planning can occur
    _____
    with requirements gathering and analysis rather than only after them.
    Hint

    The phases may happen at the same time.

    Answer

    concurrently

  28. 28
    The process of breaking a large program into smaller parts is called
    _____
    .
    Hint

    It organizes software into separate components or modules.

    Answer

    modularization

  29. 29
    One goal of modularization is to make the system more
    _____
    by organizing it into well-defined parts.
    Hint

    This quality makes the structure easier to understand and manage.

    Answer

    organized

  30. 30
    Cohesion measures how closely the elements within a
    _____
    are related to one another.
    Hint

    It concerns the internal focus of one component.

    Answer

    module

  31. 31
    A records module whose functions all retrieve or manipulate records demonstrates high
    _____
    .
    Hint

    Its internal responsibilities are strongly related.

    Answer

    cohesion

  32. 32
    A general utilities or tools module containing unrelated tasks demonstrates low
    _____
    .
    Hint

    Its elements are grouped together despite having little in common.

    Answer

    cohesion

  33. 33
    Coupling measures how modules
    _____
    with one another.
    Hint

    It concerns dependencies between separate components.

    Answer

    interact

  34. 34
    When changing one module requires extensive changes to another, the modules are highly
    _____
    .
    Hint

    This describes strong dependency between components.

    Answer

    coupled

  35. 35
    Low coupling is achieved when modules communicate by passing messages without depending on each other's
    _____
    workings.
    Hint

    The modules do not need to know how one another is implemented.

    Answer

    inner

  36. 36
    A design in which changing one module does not require changing other modules represents the ideal case of
    _____
    coupling.
    Hint

    This is the strongest possible form of independence between modules.

    Answer

    no

  37. 37
    Achieving high cohesion and low coupling creates a design known as separation of
    _____
    .
    Hint

    Each module focuses on its own responsibility.

    Answer

    concerns

  38. 38
    Separation of concerns improves code readability and
    _____
    .
    Hint

    This is the ease with which software can be repaired or upgraded.

    Answer

    maintainability

  39. 39
    A software pattern provides a more or less standardized solution to a problem that occurs
    _____
    .
    Hint

    Patterns are useful because similar problems recur.

    Answer

    often

  40. 40
    Using established patterns can make code more intuitive and easier to
    _____
    .
    Hint

    Developers benefit when the structure of a solution is familiar.

    Answer

    read

  41. 41
    Following a tried-and-tested pattern increases confidence in the code's
    _____
    .
    Hint

    This concerns whether the solution behaves properly.

    Answer

    correctness

  42. 42
    The design pattern that separates data and logic, presentation, and user controls is called
    _____
    .
    Hint

    It is commonly abbreviated MVC.

    Answer

    Model View Controller

  43. 43
    In MVC, the
    _____
    contains the application's data and logic in an abstract, low-level representation.
    Hint

    It stores data and provides functions to retrieve or modify it.

    Answer

    model

  44. 44
    In MVC, the
    _____
    takes data from the model and presents it to the user.
    Hint

    It controls how information is visually displayed.

    Answer

    view

  45. 45
    In MVC, the
    _____
    consists of the controls through which the user interacts with the system.
    Hint

    Buttons and other input controls belong to this component.

    Answer

    controller

  46. 46
    In the sales-system MVC example, sales records belong to the model, a table belongs to the view, and sidebar buttons belong to the
    _____
    .
    Hint

    These elements let the user invoke system actions.

    Answer

    controller

  47. 47
    Replacing an MVC table with a chart without changing the model or controller demonstrates
    _____
    .
    Hint

    This means one component can be replaced by another while the remaining components stay unchanged.

    Answer

    substitutability

  48. 48
    Adding administrator controls by replacing only the controller leaves the model and
    _____
    unaffected.
    Hint

    The presentation of the data does not need to change.

    Answer

    view

  49. 49
    A literal value whose meaning is unclear because it appears directly in code is called a
    _____
    .
    Hint

    The content gives an infrared remote-code example.

    Answer

    magic number

  50. 50
    A common way to eliminate magic numbers is to assign them to a variable or a meaningful
    _____
    .
    Hint

    The example specifically mentions this C++ alternative.

    Answer

    macro

  51. 51
    For readability, function names are preferably written as
    _____
    because they describe actions.
    Hint

    A name such as queryDatabase illustrates this naming approach.

    Answer

    verbs

  52. 52
    The name queryDatabase is clearer than database because it indicates that the function runs a
    _____
    .
    Hint

    It describes the action performed on the database.

    Answer

    query

  53. 53
    A boolean variable named isOn clearly describes a
    _____
    rather than an action.
    Hint

    It tells whether something is currently on.

    Answer

    state

  54. 54
    A revision control system tracks changes and allows developers to move back and forth between different
    _____
    of code.
    Hint

    These are saved states of the codebase over time.

    Answer

    versions

  55. 55
    Revision control systems support collaboration by allowing developers to commit code and have the changes
    _____
    together.
    Hint

    Separate contributions are combined into the shared product.

    Answer

    merged

  56. 56
    Automated testing that tests individual functions or modules is called
    _____
    testing.
    Hint

    The name refers to testing one small unit of functionality at a time.

    Answer

    unit

  57. 57
    A unit test compares the actual result of a function with the
    _____
    result supplied by the tester.
    Hint

    This is the result the function should produce.

    Answer

    expected

  58. 58
    When a unit test fails, it identifies both a problem and the operation on which the module violates the tester's
    _____
    .
    Hint

    These are the predicted results used for comparison.

    Answer

    expectations

  59. 59
    Testing is primarily a comparison between what happens in the real program and our
    _____
    of what should happen.
    Hint

    Testing checks actual behavior against predicted behavior.

    Answer

    expectations

  60. 60
    Automated testing that checks whether multiple modules work correctly together is called
    _____
    testing.
    Hint

    It focuses on the connections between components.

    Answer

    integration

  61. 61
    In the sales example, editing a record through the controller and checking whether the model changes tests the
    _____
    between modules.
    Hint

    The test checks whether the controller-to-model linkage works.

    Answer

    integration

  62. 62
    Testing a module only through its inputs, outputs, and specifications while ignoring its implementation is called
    _____
    testing.
    Hint

    The internal workings are treated as hidden.

    Answer

    black box

  63. 63
    Testing that deliberately considers or exercises a module's internal implementation is called white box or
    _____
    box testing.
    Hint

    The content gives two names for this implementation-aware approach.

    Answer

    glass

  64. 64
    Testing whether the visual elements of an application behave as expected is called
    _____
    testing.
    Hint

    The method focuses on the graphical user interface.

    Answer

    GUI

  65. 65
    GUI testing may use screen capture, screen reading tools, and automated generation of
    _____
    .
    Hint

    These are keyboard actions sent to the program.

    Answer

    keystrokes

  66. 66
    Security testing may send randomized values repeatedly to a login box to see whether the system exhibits a
    _____
    .
    Hint

    The test searches for an unexpected weakness.

    Answer

    flaw

  67. 67
    Code coverage measures how much of a program's
    _____
    is exercised by tests.
    Hint

    It concerns tested functions, loops, conditional statements, and other program parts.

    Answer

    code

  68. 68
    Achieving complete code coverage is difficult because loops and programs with many possible
    _____
    require numerous combinations to test.
    Hint

    A state describes the condition or situation the program is in.

    Answer

    states

  69. 69
    The programming methodology that writes tests before implementation code is called
    _____
    .
    Hint

    It is commonly abbreviated TDD.

    Answer

    test-driven development

  70. 70
    In test-driven development, developers write just enough code to fix the failing test and then
    _____
    the process with another test.
    Hint

    The process is described as rinsing and repeating.

    Answer

    repeat

  71. 71
    The four phases of software engineering are not always separate because they may overlap or become completely
    _____
    .
    Hint

    This means occurring at the same time.

    Answer

    concurrent

  72. 72
    After a product is completed and the customer is satisfied, it is
    _____
    for use.
    Hint

    This means putting the finished product into operation.

    Answer

    deployed

  73. 73
    Software development often continues after deployment because customers may request improvements, enhancements, or
    _____
    fixes.
    Hint

    These fixes correct defects in the software.

    Answer

    bug

  74. 74
    When new customer requests restart the development process, the cycle begins again with
    _____
    gathering.
    Hint

    The team must first determine what the customer now wants.

    Answer

    requirements

  75. 75
    For large-scale projects, the software engineering cycle may continue
    _____
    rather than ending after the first release.
    Hint

    Repeated maintenance and enhancement keep the process ongoing.

    Answer

    continuously

  76. 76
    Software engineering is particularly important when developing software on a
    _____
    scale or working on a large team.
    Hint

    The content contrasts this with small hobbyist projects.

    Answer

    large

1 of 76
Question 1 of 76

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent