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

Study methods

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

Software Engineering Introduction

  • 97Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Software Foundations

What is software, and what may a software product include besides programs?

97 questions

  1. 1

    What is software, and what may a software product include besides programs?

    Model answer

    Software consists of computer programs and associated documentation.

    Explanation

    Documentation is part of software, not merely an addition to the programs.

  2. 2

    How does software engineering differ from simply programming or coding?

    Model answer

    Software engineering applies engineering principles to all aspects of software production, not just writing code.

    Explanation

    It includes activities such as specification, validation, management, and maintenance.

  3. 3

    How does software engineering differ from computer science and system engineering?

    Model answer

    Computer science focuses on theory and fundamentals, while software engineering focuses on the practical development and delivery of useful software; software engineering is one part of system engineering, which also covers hardware and process engineering.

    Explanation

    System engineering addresses the broader development of computer-based systems.

  4. 4

    Why is software engineering economically important to developed nations?

    Model answer

    Economies increasingly depend on software-controlled systems, and software expenditure accounts for a significant fraction of gross national product in developed countries.

    Explanation

    Software is central to many economic activities and systems.

  5. 5

    How can software costs compare with hardware costs?

    Model answer

    Software costs can exceed the cost of the hardware on which it runs, and software costs may dominate the total cost of a computer system.

    Explanation

    Software licensing and other software expenses can be greater than hardware expenses.

  6. 6

    Why can software maintenance become a major part of a system's total cost?

    Model answer

    Software must often be changed after delivery, and for long-lived systems maintenance can cost several times as much as initial development.

    Explanation

    Changing customer, business, and market needs make post-delivery changes common.

  7. 7

    What approximate division of software costs is given for development and testing, and how can custom-software evolution costs compare?

    Model answer

    Approximately 60% of software costs are development costs and 40% are testing costs; for custom software, evolution costs often exceed development costs.

    Explanation

    The long-term cost of changing custom software can be greater than its initial creation cost.

  8. 8

    What is the economic aim of software engineering?

    Model answer

    Software engineering aims to develop software cost-effectively.

    Explanation

    It considers the costs of production and change across the software's life.

  9. 9

    What is a generic software product?

    Model answer

    It is a stand-alone product developed for a general market and sold to any customer who wants to buy it.

    Explanation

    The developer creates a product intended for a broad group of customers.

  10. 10

    Give examples of generic software products.

    Model answer

    Examples include graphics programs, project-management tools, CAD software, database-management systems, operating systems, and appointment systems for dentists.

    Explanation

    These products are designed for general or market-specific customer groups rather than one commissioned customer.

  11. 11

    What is a customized software product, and what are examples?

    Model answer

    It is software commissioned by a particular customer to meet that customer's needs; examples include embedded control systems, air-traffic-control software, and traffic-monitoring systems.

    Explanation

    The customer's particular requirements shape the commissioned product.

  12. 12

    Why can customized software cost more than generic software?

    Model answer

    Customized software is built for a specific customer rather than being sold to many customers, so its costs cannot be spread across a large customer base in the same way.

    Explanation

    A generic product can be sold repeatedly, whereas a customized product addresses a particular customer's needs.

  13. 13

    Who controls the specification and change decisions for generic software?

    Model answer

    The software developer owns the specification and decides what changes to make.

    Explanation

    The product is developed for a general market rather than to one customer's specification.

  14. 14

    Who controls the specification and change decisions for customized software?

    Model answer

    The customer owns the specification and makes decisions about required changes.

    Explanation

    The software is commissioned to meet that customer's needs.

  15. 15

    What is the key difference between software engineering and an individual programming project in terms of long-term cost?

    Model answer

    Using software-engineering methods is usually cheaper in the long run because software often incurs substantial costs when it must be changed after entering use.

    Explanation

    Professional methods address the full lifecycle rather than only the initial act of programming.

  16. 16

    What does maintainability mean as a software quality attribute?

    Model answer

    Software should be written so that it can evolve to meet changing customer needs.

    Explanation

    Change is an inevitable requirement in a changing business environment.

  17. 17

    What characteristics are included in software dependability?

    Model answer

    Dependability includes reliability, security, and safety.

    Explanation

    These characteristics concern whether software can be relied on and protected from harm or misuse.

  18. 18

    What should dependable software prevent when a system fails or is attacked?

    Model answer

    It should avoid causing physical or economic damage during failure and prevent malicious users from accessing or damaging the system.

    Explanation

    Dependability encompasses both safe failure behavior and protection against malicious access.

  19. 19

    What does efficiency mean for software?

    Model answer

    Software should avoid wasteful use of system resources, including processor time and memory.

    Explanation

    Resource use affects the responsiveness and performance of a system.

  20. 20

    Name measures or aspects included in software efficiency.

    Model answer

    Efficiency includes responsiveness, processing time, and memory utilization.

    Explanation

    These aspects describe how quickly software responds and how it uses computing resources.

  21. 21

    What does acceptability mean as a software quality attribute?

    Model answer

    Software must be understandable, usable, and compatible with the other systems used by its intended users.

    Explanation

    The product must suit the people and environment for which it was designed.

  22. 22

    What are the four fundamental software engineering activities?

    Model answer

    They are software specification, software development, software validation, and software evolution.

    Explanation

    Together, these activities cover defining, creating, checking, and changing software.

  23. 23

    What happens during software specification?

    Model answer

    Customers and engineers define what the software must do and the constraints on its operation.

    Explanation

    Specification establishes the required behavior and operating limits.

  24. 24

    What happens during software development?

    Model answer

    The software is designed and programmed.

    Explanation

    Development turns the specified requirements into a software product.

  25. 25

    What is the purpose of software validation?

    Model answer

    Validation checks that the software provides what the customer requires.

    Explanation

    It evaluates whether the developed system meets its intended requirements.

  26. 26

    What happens during software evolution?

    Model answer

    The software is modified to reflect changing customer and market requirements.

    Explanation

    Evolution allows a system to remain useful as needs change.

  27. 27

    What does it mean to treat software engineering as an engineering discipline?

    Model answer

    It means using appropriate theories and methods to solve problems while considering organizational and financial constraints.

    Explanation

    Engineering decisions must account for practical constraints as well as technical ones.

  28. 28

    Why does software engineering encompass more than the technical development process?

    Model answer

    It also involves project management and developing tools and methods that support software production.

    Explanation

    Producing software professionally requires supporting activities as well as coding and design.

  29. 29

    Why are managed development processes and clear requirements important across software projects?

    Model answer

    A project needs an understood, managed process, and its specification and requirements must be understood and managed so the software meets its intended needs.

    Explanation

    Different systems may use different processes, but disciplined development and requirements management remain important.

  30. 30

    Why should developers reuse suitable existing software rather than always write new software?

    Model answer

    Reuse can save time and help produce more dependable, robust, and effective software.

    Explanation

    Previously developed software may already have been checked and validated by many users.

  31. 31

    Why is there no single set of software-engineering techniques suitable for every system?

    Model answer

    Systems differ, so methods and tools must suit the application, customer requirements, and development team's background.

    Explanation

    Approaches appropriate for one system may not fit another.

  32. 32

    What is heterogeneity as a challenge for software engineering?

    Model answer

    Systems increasingly need to operate as distributed systems across networks containing different types of computers and mobile devices.

    Explanation

    Software must often work across varied hardware and network environments.

  33. 33

    How do business and social changes challenge software engineering?

    Model answer

    Rapid changes in business and society require organizations to modify existing software and develop new software quickly.

    Explanation

    Emerging economies and new technologies contribute to changing needs.

  34. 34

    Why are security and trust important challenges for software engineering?

    Model answer

    Because software is intertwined with many aspects of life, people need to be able to trust it.

    Explanation

    Software's broad role makes its safe and trustworthy behavior important.

  35. 35

    What is a stand-alone application?

    Model answer

    It is an application that runs on a local computer, includes its necessary functionality, and does not need a network connection.

    Explanation

    Its functionality is available on the local machine rather than depending on network access.

  36. 36

    What is an interactive transaction-based application?

    Model answer

    It runs on a remote computer and is accessed by users from their own computers or terminals; web-based e-commerce applications are an example.

    Explanation

    The user's device accesses functions provided by a remote system.

  37. 37

    What is an embedded control system?

    Model answer

    It is software that controls and manages a hardware device.

    Explanation

    The software is associated with the operation of the device it controls.

  38. 38

    What does the content say about the prevalence of embedded systems?

    Model answer

    It states that there are probably more embedded systems numerically than any other type of system.

    Explanation

    Embedded software is used in a very large number of devices.

  39. 39

    What is a batch-processing system?

    Model answer

    It processes large batches of data, taking many individual inputs and producing corresponding outputs.

    Explanation

    Batch systems handle groups of inputs rather than requiring each item to be processed interactively.

  40. 40

    What is an entertainment system?

    Model answer

    It is a system primarily intended for personal use to entertain its user.

    Explanation

    Its principal purpose is entertainment.

  41. 41

    What are systems for modeling and simulation used to do?

    Model answer

    They model physical processes or situations involving many separate, interacting objects.

    Explanation

    Scientists and engineers use them to represent and study complex processes.

  42. 42

    What is a data-collection system?

    Model answer

    It gathers data from its environment using sensors and sends that data to other systems for processing.

    Explanation

    Sensors provide the environmental readings that the system collects.

  43. 43

    What is a system of systems?

    Model answer

    It is a system composed of a number of other software systems.

    Explanation

    Its overall functionality depends on the combined constituent systems.

  44. 44

    Which software-engineering approaches are appropriate for games and safety-critical control systems, and why?

    Model answer

    Games may be developed through a series of prototypes, while safety-critical control systems require a complete, analyzable specification because failures can have serious consequences.

    Explanation

    The acceptable development and testing approach depends on the risks associated with the system.

  45. 45

    Which fundamental software-engineering principles apply across different types of systems?

    Model answer

    All systems benefit from managed development, attention to dependability and performance, careful requirements management, and appropriate reuse of existing software.

    Explanation

    These principles apply regardless of which specific development techniques are selected.

  46. 46

    How has the web changed the way software can be delivered and organized?

    Model answer

    The web enables software services and highly distributed, service-based systems to be developed and accessed.

    Explanation

    Web-based systems can provide functionality across networks rather than only on local computers.

  47. 47

    What are web services, and what is cloud computing?

    Model answer

    Web services make application functionality accessible over the web; cloud computing provides computer services remotely, with users paying according to use rather than buying the software outright.

    Explanation

    Both approaches make remote software functionality available through networked services.

  48. 48

    How has web-based development influenced programming languages and software reuse?

    Model answer

    It has contributed to advances in programming languages and software reuse.

    Explanation

    Web-based system development has helped drive these developments.

  49. 49

    Why is assembling web-based systems from existing components and systems useful?

    Model answer

    Existing components, frameworks, and libraries can be combined to avoid building complex systems entirely from scratch.

    Explanation

    Reuse is useful because modern software is often too complex to recreate efficiently from the beginning.

  50. 50

    Why should web-based systems generally be developed and delivered incrementally?

    Model answer

    It is generally impractical to specify all requirements for these systems in advance, so they need to evolve through increments.

    Explanation

    Incremental delivery accommodates requirements that emerge or change during development.

  51. 51

    How do web browsers constrain web user interfaces?

    Model answer

    Web user interfaces are limited by browser capabilities, although technologies such as AJAX can support richer interfaces.

    Explanation

    The browser is the environment in which the web interface must operate.

  52. 52

    What interface approaches are mentioned for web applications, and what limitation is noted?

    Model answer

    AJAX can enable rich interfaces in browsers but is described as difficult to use; web forms with local scripting are more commonly used.

    Explanation

    The content contrasts richer browser interfaces with the more common form-based approach.

  53. 53

    How can the web support distributed collaboration on software?

    Model answer

    Web-based code-management services can allow developers in different locations to contribute to the same software project.

    Explanation

    Such collaboration can support large-scale open-source development.

  54. 54

    Do fundamental software-engineering principles apply to web-based systems?

    Model answer

    Yes. Although web-based systems are complex and distributed, the fundamental principles of software engineering apply to them as they do to other systems.

    Explanation

    The web changes the system context, but not the need for sound engineering principles.

  55. 55

    Why do software engineers have ethical responsibilities beyond applying technical skills?

    Model answer

    Software engineers can influence whether software benefits or harms people, so they must act honestly and responsibly to help make the profession beneficial and respected.

    Explanation

    Software affects many areas of society, giving its developers significant opportunities to do good or cause harm.

  56. 56

    How does ethical behavior differ from simply obeying the law?

    Model answer

    Ethical behavior includes following morally correct principles, not merely complying with legal requirements.

    Explanation

    Legality alone does not ensure that professional conduct is ethically responsible.

  57. 57

    What does professional confidentiality require of software engineers?

    Model answer

    They should normally respect the confidentiality of employers and clients, even if no formal confidentiality agreement has been signed.

    Explanation

    The responsibility is not limited to situations where a written agreement exists.

  58. 58

    What is the ethical responsibility of software engineers regarding competence?

    Model answer

    They should not misrepresent their competence or knowingly accept work that is beyond it.

    Explanation

    Accepting work one cannot competently perform can create risks for clients and users.

  59. 59

    What should software engineers consider when using intellectual property?

    Model answer

    They should understand applicable local laws, including those concerning patents and copyright, and protect the intellectual property of employers and clients.

    Explanation

    Professional practice includes respecting intellectual property rights.

  60. 60

    What kinds of behavior count as computer misuse by a software engineer?

    Model answer

    Computer misuse ranges from relatively minor conduct, such as playing games on an employer's computer, to serious conduct, such as distributing viruses.

    Explanation

    Technical skills should not be used to misuse other people's computers.

  61. 61

    What is the purpose and structure of the ACM/IEEE software-engineering code of ethics?

    Model answer

    It sets out professional conduct principles for practitioners, educators, managers, supervisors, policymakers, trainees, and students; its high-level aspirations are supported by detailed clauses describing professional actions.

    Explanation

    The professional societies developed the code together, and members agree to follow it when joining.

  62. 62

    How do the public-interest and client-and-employer principles relate to each other?

    Model answer

    Engineers must act consistently with the public interest and serve the best interests of clients and employers only in a way that is consistent with that public interest.

    Explanation

    The code does not treat an employer's or client's interests as overriding the public interest.

  63. 63

    What does the product principle require of software engineers?

    Model answer

    They should ensure that their products and related modifications meet the highest professional standards possible.

    Explanation

    The principle applies to both software products and changes made to them.

  64. 64

    What does the judgement principle require of software engineers?

    Model answer

    They should maintain integrity and independence in their professional judgment.

    Explanation

    Professional decisions should be made with integrity and independent judgment.

  65. 65

    What does the management principle require of software-engineering leaders?

    Model answer

    Managers and leaders should adopt and promote an ethical approach to managing software development and maintenance.

    Explanation

    Ethical responsibility applies to how software work is led as well as how it is performed.

  66. 66

    What does the profession principle require of software engineers?

    Model answer

    They should advance the integrity and reputation of the profession consistently with the public interest.

    Explanation

    Professional reputation should be strengthened in a way that serves the public.

  67. 67

    What does the colleagues principle require of software engineers?

    Model answer

    They should treat colleagues fairly and support them.

    Explanation

    Professional conduct includes responsibilities toward other members of the profession.

  68. 68

    What does the self principle require of software engineers?

    Model answer

    They should engage in lifelong learning about their profession and promote ethical professional practice.

    Explanation

    The principle combines continued learning with ethical conduct.

  69. 69

    Give examples of ethical dilemmas a software engineer might face.

    Model answer

    Examples include disagreement with senior management's policies, release of a safety-critical system before testing is complete, and participation in developing military weapons or nuclear systems.

    Explanation

    These situations can create difficult conflicts about professional and ethical responsibilities.

  70. 70

    What does an insulin-pump control system do with sensor data?

    Model answer

    It collects blood-sugar data from a sensor and uses it to calculate the amount of insulin that should be injected.

    Explanation

    The sensor provides the information needed to determine an appropriate insulin dose.

  71. 71

    How does the rate of change in blood sugar affect insulin-dose calculation?

    Model answer

    The required insulin amount is calculated based on the rate at which blood-sugar levels are changing.

    Explanation

    The calculation considers how quickly the measured blood-sugar level is changing.

  72. 72

    How does the insulin-pump system deliver a calculated dose?

    Model answer

    It sends signals to a micropump, which delivers the calculated insulin dose.

    Explanation

    The control software directs the pump to administer insulin.

  73. 73

    Why is insulin-pump software safety-critical?

    Model answer

    Low blood sugar can cause brain malfunction, coma, or death, while high blood sugar can cause long-term damage such as eye and kidney problems.

    Explanation

    Incorrect insulin delivery can have serious immediate or lasting consequences.

  74. 74

    What components are included in the insulin-pump hardware architecture described?

    Model answer

    It includes an insulin reservoir, needle assembly, sensor, pump, controller, clock, alarm, and display.

    Explanation

    These components support sensing, control, delivery, timing, and user notification.

  75. 75

    Describe the main sequence in the insulin-pump activity model.

    Model answer

    The system reads and analyzes sensor data, calculates a dose, sends pump commands, delivers insulin, logs the dose and related data, and then calculates again to assess the result.

    Explanation

    Repeated sensing and calculation allow the system to monitor insulin delivery in relation to blood sugar.

  76. 76

    What availability requirement applies to the insulin-pump system?

    Model answer

    The system must be available to deliver insulin when required.

    Explanation

    Unavailability could prevent the user from receiving a needed dose.

  77. 77

    What reliability and dosage requirement applies to the insulin-pump system?

    Model answer

    It must operate reliably and deliver the correct amount of insulin to counteract the current blood-sugar level.

    Explanation

    The system's design and implementation must ensure that this safety-critical requirement is met.

  78. 78

    What is the purpose of the mental health care patient management system?

    Model answer

    It maintains information about patients with mental health problems and the treatments they have received.

    Explanation

    The system supports the management of patient information for mental health care.

  79. 79

    Why may mental health clinics operate outside hospitals?

    Model answer

    Many patients do not need dedicated hospital treatment but do need regular specialist-clinic visits, so clinics may be held in local medical practices or community centers to make attendance easier.

    Explanation

    Providing clinics in local settings can make ongoing care more accessible.

  80. 80

    How does the mental health patient management system support both connected and disconnected sites?

    Model answer

    It uses a centralized patient database when secure network access is available and can use downloaded local copies of patient records when disconnected.

    Explanation

    This design provides access to records both online and offline.

  81. 81

    What is one management goal of the mental health patient management system?

    Model answer

    It generates management information so health-service managers can assess performance against local and government targets.

    Explanation

    The system supports organizational oversight as well as clinical work.

  82. 82

    What is the system's clinical goal?

    Model answer

    It provides medical staff with timely information to support patient treatment.

    Explanation

    Patient information needs to be available to clinicians when it can assist care.

  83. 83

    What does the individual-care-management feature allow clinicians to do?

    Model answer

    Clinicians can create and edit patient records, view patient histories, and use summaries to review key problems and prescribed treatments.

    Explanation

    Summaries help doctors quickly understand relevant patient information.

  84. 84

    What does the patient-monitoring feature do?

    Model answer

    It monitors the records of patients receiving treatment and issues warnings when it detects possible problems.

    Explanation

    The system uses patient records to identify situations that may need attention.

  85. 85

    What information can administrative reports from the system include?

    Model answer

    Monthly reports can include patients treated at each clinic, patients entering or leaving care, patient sections, and prescribed drugs and their costs.

    Explanation

    These statistics help administrators assess and improve system efficiency.

  86. 86

    What privacy requirement applies to mental health patient information?

    Model answer

    Patient information should remain confidential and be disclosed only to authorized medical staff and the patient.

    Explanation

    The system must protect sensitive patient records from unauthorized disclosure.

  87. 87

    What safety functions should the mental health patient management system support?

    Model answer

    It should warn medical staff about patients who may be suicidal or dangerous, and be available when needed to support correct medication decisions.

    Explanation

    System unavailability or missed warnings could compromise patient or public safety.

  88. 88

    Why are wilderness weather stations deployed, and what makes their environment challenging?

    Model answer

    They collect weather data in remote areas, where internet or electrical power may be unavailable for long periods.

    Explanation

    Their remote setting affects communication and power requirements.

  89. 89

    What weather measurements can a wilderness weather station collect?

    Model answer

    It can measure temperature, air and ground temperature, pressure, sunshine, rainfall, wind speed, and wind direction.

    Explanation

    The instruments collect a range of environmental parameters.

  90. 90

    What does the software associated with each weather instrument do?

    Model answer

    It takes parameter readings periodically and manages the data collected from the instrument.

    Explanation

    Each instrument is controlled by software that handles its readings and data.

  91. 91

    What are the three main systems in the wilderness weather-station arrangement?

    Model answer

    They are the weather-station system, the data-management and archiving system, and the station-maintenance system.

    Explanation

    Together they collect and process weather information and monitor station operation.

  92. 92

    What does the weather-station system do with collected data?

    Model answer

    It collects weather data, performs initial processing, and transmits the data to the data-management system.

    Explanation

    Initial processing occurs at the station before data is sent onward.

  93. 93

    What does the data-management and archiving system do?

    Model answer

    It collects data from all wilderness stations, processes and analyzes it, and archives it.

    Explanation

    This system manages information gathered across the station network.

  94. 94

    How does the station-maintenance system communicate with and support the weather stations?

    Model answer

    It can communicate by satellite with all stations to monitor their health and report problems.

    Explanation

    Satellite communication enables remote monitoring of stations in wilderness areas.

  95. 95

    What hardware-monitoring function must the weather-station software provide?

    Model answer

    It must monitor instruments, power, and communication hardware and report faults to the management system.

    Explanation

    Monitoring and fault reporting help operators identify station problems.

  96. 96

    How should the weather-station system manage power?

    Model answer

    It should charge batteries when environmental conditions permit and shut down generators in potentially damaging conditions, such as high winds.

    Explanation

    Power management must account for both energy availability and environmental risks.

  97. 97

    What does dynamic reconfiguration support in the weather-station system?

    Model answer

    It supports replacing parts of the software with new versions and switching to backup instruments when a system failure occurs.

    Explanation

    These capabilities allow the station to adapt to updates and equipment failures.

1 of 97
Question 1 of 97

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent