Introduction to Software Engineering
- 76Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
76 questions
- 1The 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
- 2One 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
- 3Coding 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
- 4Software 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
- 5Software 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
- 6The 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
- 7Requirements 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
- 8A professional software development process generally includes requirements gathering, planning, development, and_____.
Hint
This final phase checks whether the software behaves as expected.
Answer
testing
- 9Simply 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
- 10Structured 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
- 11When 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
- 12The 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
- 13A requirement describing what the system must do is a_____requirement.
Hint
It specifies a system function or behavior.
Answer
functional
- 14A 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
- 15A 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
- 16Developers 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
- 17A 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
- 18The 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
- 19Use 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
- 20In 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
- 21If 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
- 22The conditions that must be true before a use-case scenario begins are called_____.
Hint
They come before the scenario starts.
Answer
preconditions
- 23The 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
- 24Compared with use cases, user stories are generally_____detailed.
Hint
They summarize the user's goal rather than listing an extensive interaction sequence.
Answer
less
- 25A 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
- 26Planning 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
- 27Planning can occur_____with requirements gathering and analysis rather than only after them.
Hint
The phases may happen at the same time.
Answer
concurrently
- 28The process of breaking a large program into smaller parts is called_____.
Hint
It organizes software into separate components or modules.
Answer
modularization
- 29One 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
- 30Cohesion measures how closely the elements within a_____are related to one another.
Hint
It concerns the internal focus of one component.
Answer
module
- 31A records module whose functions all retrieve or manipulate records demonstrates high_____.
Hint
Its internal responsibilities are strongly related.
Answer
cohesion
- 32A general utilities or tools module containing unrelated tasks demonstrates low_____.
Hint
Its elements are grouped together despite having little in common.
Answer
cohesion
- 33Coupling measures how modules_____with one another.
Hint
It concerns dependencies between separate components.
Answer
interact
- 34When changing one module requires extensive changes to another, the modules are highly_____.
Hint
This describes strong dependency between components.
Answer
coupled
- 35Low 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
- 36A 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
- 37Achieving high cohesion and low coupling creates a design known as separation of_____.
Hint
Each module focuses on its own responsibility.
Answer
concerns
- 38Separation of concerns improves code readability and_____.
Hint
This is the ease with which software can be repaired or upgraded.
Answer
maintainability
- 39A software pattern provides a more or less standardized solution to a problem that occurs_____.
Hint
Patterns are useful because similar problems recur.
Answer
often
- 40Using established patterns can make code more intuitive and easier to_____.
Hint
Developers benefit when the structure of a solution is familiar.
Answer
read
- 41Following a tried-and-tested pattern increases confidence in the code's_____.
Hint
This concerns whether the solution behaves properly.
Answer
correctness
- 42The design pattern that separates data and logic, presentation, and user controls is called_____.
Hint
It is commonly abbreviated MVC.
Answer
Model View Controller
- 43In 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
- 44In MVC, the_____takes data from the model and presents it to the user.
Hint
It controls how information is visually displayed.
Answer
view
- 45In 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
- 46In 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
- 47Replacing 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
- 48Adding 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
- 49A 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
- 50A 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
- 51For readability, function names are preferably written as_____because they describe actions.
Hint
A name such as queryDatabase illustrates this naming approach.
Answer
verbs
- 52The 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
- 53A boolean variable named isOn clearly describes a_____rather than an action.
Hint
It tells whether something is currently on.
Answer
state
- 54A 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
- 55Revision 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
- 56Automated 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
- 57A 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
- 58When 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
- 59Testing 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
- 60Automated testing that checks whether multiple modules work correctly together is called_____testing.
Hint
It focuses on the connections between components.
Answer
integration
- 61In 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
- 62Testing 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
- 63Testing 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
- 64Testing whether the visual elements of an application behave as expected is called_____testing.
Hint
The method focuses on the graphical user interface.
Answer
GUI
- 65GUI testing may use screen capture, screen reading tools, and automated generation of_____.
Hint
These are keyboard actions sent to the program.
Answer
keystrokes
- 66Security 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
- 67Code 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
- 68Achieving 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
- 69The programming methodology that writes tests before implementation code is called_____.
Hint
It is commonly abbreviated TDD.
Answer
test-driven development
- 70In 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
- 71The 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
- 72After a product is completed and the customer is satisfied, it is_____for use.
Hint
This means putting the finished product into operation.
Answer
deployed
- 73Software development often continues after deployment because customers may request improvements, enhancements, or_____fixes.
Hint
These fixes correct defects in the software.
Answer
bug
- 74When 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
- 75For 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
- 76Software 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

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